Overview
Comment: | Real dependency checking for objfw-config's --compile. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
b03c4eeda411877c30b2fca0cf8fed99 |
User & Date: | js on 2010-04-17 18:05:10 |
Other Links: | manifest | tags |
Context
2010-04-17
| ||
18:54 | Move objfw-config --compile into a new script called objfw-compile. check-in: 53f21dd6a8 user: js tags: trunk | |
18:05 | Real dependency checking for objfw-config's --compile. check-in: b03c4eeda4 user: js tags: trunk | |
17:53 | Better checking whether we need to link on --compile in objfw-config. check-in: 816cc61258 user: js tags: trunk | |
Changes
Modified objfw-config.in from [92974a8bf3] to [f1957bd739].
︙ | ︙ | |||
52 53 54 55 56 57 58 59 | esac while test x"$1" != "x"; do case "$1" in *.m) obj="${1%.m}.o" objs="$objs $obj" | > > > | > > > > > > > > > | 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 | esac while test x"$1" != "x"; do case "$1" in *.m) obj="${1%.m}.o" objs="$objs $obj" build="no" deps=$($OBJC -E -M $CPPFLAGS $ENV_CPPFLAGS $1 |\ sed 's/.*: //' | sed 's/\\//g') if test -f "$obj"; then for dep in $deps; do test "$dep" -nt $obj && \ build="yes" done else build="yes" fi if test x"$build" = x"yes"; then link="yes" echo "Compiling $1..." $OBJC $CPPFLAGS $OBJCFLAGS \ $ENV_CPPFLAGS $ENV_OBJCFLAGS \ -c -o $obj $1 || exit $? fi ;; |
︙ | ︙ |