Changeset 21487 for main/trunk/gs2runtime/Makefile.in
- Timestamp:
- 2010-01-16T23:44:18+13:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/gs2runtime/Makefile.in
r16608 r21487 47 47 ALLFILES = $(OBJECTS) 48 48 49 SPECIAL_COMPILEDIRS = common-src 50 COMPILEDIRS = runtime-src 49 51 50 COMPILEDIRS = common-src runtime-src 51 52 INSTALLDIRS = common-src runtime-src 52 SPECIAL_INSTALLDIRS = common-src 53 INSTALLDIRS = runtime-src 53 54 54 55 MODULEDIRS = @MODULEDIRS@ 55 56 57 ENABLE_JNI=@ENABLE_JNI@ 58 ifeq ($(ENABLE_JNI), 1) 59 COMPILE_TARGET=with-jni 60 else 61 COMPILE_TARGET=without-jni 62 endif 56 63 57 # we don't want to compile the jni stuff in indexers for gs2 58 all: 64 65 # with some compilers, just calling another target is insufficient 66 # so an extra echo stmt is added after each call to another target 67 all: $(COMPILE_TARGET) 68 @echo "Compile done" 69 70 install: install-$(COMPILE_TARGET) 71 @echo "Install done" 72 73 74 with-jni without-jni: 75 for odir in $(SPECIAL_COMPILEDIRS); do \ 76 if test -d $$odir; then \ 77 echo making $(COMPILE_TARGET) in $$odir; \ 78 (cd $$odir && $(MAKE) $(MDEFINES) $(COMPILE_TARGET)) || exit 1; \ 79 fi; \ 80 done 59 81 for odir in $(COMPILEDIRS) $(MODULEDIRS); do \ 60 echo making $@ in $$odir; \ 61 (cd $$odir && $(MAKE) $(MDEFINES) $@) || exit 1; \ 82 if test -d $$odir; then \ 83 echo making all in $$odir; \ 84 (cd $$odir && $(MAKE) $(MDEFINES) all) || exit 1; \ 85 fi; \ 62 86 done 63 87 64 install: all 88 install-with-jni install-without-jni: all 89 for idir in $(SPECIAL_INSTALLDIRS); do \ 90 if test -d $$idir; then \ 91 echo installing $$idir $(COMPILE_TARGET); \ 92 (cd $$idir && $(MAKE) install-$(COMPILE_TARGET)) || exit 1; \ 93 fi; \ 94 done 65 95 for idir in $(INSTALLDIRS); do \ 66 echo installing $$idir; \ 67 (cd $$idir && $(MAKE) install) || exit 1; \ 96 if test -d $$idir; then \ 97 echo installing $$idir; \ 98 (cd $$idir && $(MAKE) install) || exit 1; \ 99 fi; \ 68 100 done 69 101
Note:
See TracChangeset
for help on using the changeset viewer.