diff options
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/ChangeLog | 5 | ||||
| -rw-r--r-- | lib-src/Makefile.in | 9 |
2 files changed, 9 insertions, 5 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 71f58090775..05bfc1934eb 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2008-07-16 Adrian Robert <Adrian.B.Robert@gmail.com> | ||
| 2 | |||
| 3 | * Makefile.in: Change GNUSTEP to NS_IMPL_GNUSTEP, COCOA to | ||
| 4 | NS_IMPL_COCOA. | ||
| 5 | |||
| 1 | 2008-07-16 Dan Nicolaescu <dann@ics.uci.edu> | 6 | 2008-07-16 Dan Nicolaescu <dann@ics.uci.edu> |
| 2 | 7 | ||
| 3 | * ntlib.h (fcloseall, fgetchar, flushall, fputchar, putw): Remove, | 8 | * ntlib.h (fcloseall, fgetchar, flushall, fputchar, putw): Remove, |
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in index 9b537ecfbea..482103ddeb3 100644 --- a/lib-src/Makefile.in +++ b/lib-src/Makefile.in | |||
| @@ -144,7 +144,7 @@ MOVE_FLAGS= | |||
| 144 | #define NOT_C_CODE | 144 | #define NOT_C_CODE |
| 145 | #include "../src/config.h" | 145 | #include "../src/config.h" |
| 146 | 146 | ||
| 147 | #if defined(COCOA) | 147 | #if defined(NS_IMPL_COCOA) |
| 148 | /* Build these programs as universal binaries. */ | 148 | /* Build these programs as universal binaries. */ |
| 149 | CFLAGS := $(CFLAGS) -universal | 149 | CFLAGS := $(CFLAGS) -universal |
| 150 | /* Add mac-fix-env for OS X systems running NS version. */ | 150 | /* Add mac-fix-env for OS X systems running NS version. */ |
| @@ -278,14 +278,13 @@ BASE_CFLAGS = C_SWITCH_SYSTEM C_SWITCH_MACHINE -DHAVE_CONFIG_H \ | |||
| 278 | Using an explicit command made it work. */ | 278 | Using an explicit command made it work. */ |
| 279 | .c.o: | 279 | .c.o: |
| 280 | ${CC} -c ${CPP_CFLAGS} $< | 280 | ${CC} -c ${CPP_CFLAGS} $< |
| 281 | #ifdef HAVE_NS | 281 | |
| 282 | .m.o: | 282 | .m.o: |
| 283 | #ifdef GNUSTEP | 283 | #ifdef NS_IMPL_GNUSTEP |
| 284 | $(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) -fgnu-runtime -Wno-import -fconstant-string-class=NSConstantString $< | 284 | $(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) -fgnu-runtime -Wno-import -fconstant-string-class=NSConstantString $< |
| 285 | #else | 285 | #else |
| 286 | $(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) $< | 286 | $(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) $< |
| 287 | #endif | 287 | #endif |
| 288 | #endif | ||
| 289 | 288 | ||
| 290 | all: ${DONT_INSTALL} ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS} | 289 | all: ${DONT_INSTALL} ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS} |
| 291 | 290 | ||
| @@ -483,7 +482,7 @@ update-game-score.o: ${srcdir}/update-game-score.c ../src/config.h $(GETOPT_H) | |||
| 483 | $(CC) -c ${CPP_CFLAGS} ${srcdir}/update-game-score.c \ | 482 | $(CC) -c ${CPP_CFLAGS} ${srcdir}/update-game-score.c \ |
| 484 | -DHAVE_SHARED_GAME_DIR="\"$(gamedir)\"" | 483 | -DHAVE_SHARED_GAME_DIR="\"$(gamedir)\"" |
| 485 | 484 | ||
| 486 | #if defined(COCOA) | 485 | #if defined(NS_IMPL_COCOA) |
| 487 | mac-fix-env: ${srcdir}/mac-fix-env.m | 486 | mac-fix-env: ${srcdir}/mac-fix-env.m |
| 488 | $(CC) -o mac-fix-env ${srcdir}/mac-fix-env.m -prebind -framework Foundation | 487 | $(CC) -o mac-fix-env ${srcdir}/mac-fix-env.m -prebind -framework Foundation |
| 489 | #endif | 488 | #endif |