Changeset 7726
- Timestamp:
- 2004-07-08T11:37:36+12:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/Makefile.in
r5951 r7726 48 48 ALLFILES = $(OBJECTS) 49 49 50 INSTALLDIRS = packages/mg packages packages/mgpp 51 52 MODULEDIRS = @MODULEDIRS@ 53 54 OTHERDIRS = packages packages/mg packages/mgpp 50 SRCDIRS = packages src/java 51 DOCDIRS = docs 55 52 56 53 all: 57 for odir in $(OTHERDIRS); do \58 echo making $@ in $$ odir; \59 (cd $$ odir && $(MAKE) $(MDEFINES) $@) || exit 1; \54 for subdir in $(SRCDIRS); do \ 55 echo making $@ in $$subdir; \ 56 (cd $$subdir && $(MAKE) $(MDEFINES) $@) || exit 1; \ 60 57 done 61 58 62 # for odir in $(MODULEDIRS); do \ 63 # echo making $@ in $$odir; \ 64 # (cd $$odir && $(MAKE) $(MDEFINES) $@) || exit 1; \ 65 # done 59 docs: 60 for subdir in $(DOCDIRS); do \ 61 echo making $@ in $$subdir; \ 62 (cd $$subdir && $(MAKE) docs) || exit 1; \ 63 done 66 64 67 65 install: all 68 66 69 for idir in $(INSTALLDIRS); do \70 echo installing $$ idir; \71 (cd $$ idir && $(MAKE) install) || exit 1; \67 for subdir in $(SRCDIRS); do \ 68 echo installing $$subdir; \ 69 (cd $$subdir && $(MAKE) install) || exit 1; \ 72 70 done 73 71 74 # added test to check existence of Makefile, as src/recpt is in75 # both INSTALLDIRS and OTHERDIRS - can't make distclean twice!76 72 distclean: clean 77 73 rm -f Makefile config.cache config.h config.log stamp-h config.status 78 for subdir in $( INSTALLDIRS) $(OTHERDIRS); do \74 for subdir in $(SRCDIRS) $(DOCDIRS); do \ 79 75 echo cleaning $@ in $$subdir; \ 80 (cd $$subdir && if test -e Makefile; then $(MAKE) distclean;fi) || exit 1; \76 (cd $$subdir && $(MAKE) distclean) || exit 1; \ 81 77 done 82 78 83 79 clean: 84 for subdir in $( INSTALLDIRS) $(OTHERDIRS); do \80 for subdir in $(SRCDIRS) $(DOCDIRS); do \ 85 81 echo cleaning $@ in $$subdir; \ 86 82 (cd $$subdir && $(MAKE) clean) || exit 1; \ … … 93 89 config.status: configure 94 90 ./config.status --recheck 95 configure: configure. inaclocal.m491 configure: configure.ac aclocal.m4 96 92 cd $(srcdir) && autoconf 97 93 … … 100 96 CONFIG_FILES= CONFIG_HEADERS=config.h ./config.status 101 97 config.h.in: stamp-h.in 102 stamp-h.in: configure. inaclocal.m4 acconfig.h98 stamp-h.in: configure.ac aclocal.m4 acconfig.h 103 99 cd $(srcdir) && autoheader 104 100 $(TOUCH) $(srcdir)/stamp-h.in
Note:
See TracChangeset
for help on using the changeset viewer.