Updated build-prcess to be completely under automake control.

For the tutorial the old Makefiles are saved as Makefile.simple in all
the respective directories.

Use generated config.h instead of command-line passing of preprocessor
flags.

Updated support files from current automake.
This commit is contained in:
kuepper 2004-09-17 16:53:31 +00:00
commit c8494642d5
37 changed files with 675 additions and 279 deletions

View file

@ -4,33 +4,43 @@
##
###############################################################################
SUBDIRS = src test app tutorial
SUBDIRS = src test app tutorial
#Directory for documents
DOCDIR = ~/public_html/eodocs
#Directory for indices -- not useful for the user
IDXDIR = ~/index
EXTRA_DIST=LICENSE
# EXTRA_DIST=LICENSE
###############################################################################
lib:
cd src; $(MAKE) all; cd ..
# special targets
app:
cd app; $(MAKE) all; cd ..
# so that make doc always compiles the doc ...
doc: doc/eo.cfg
cd doc; $(MAKE) doc; touch eo.cfg; cd ..
tutorial:
cd tutorial; $(MAKE) all; cd ..
cd $(srcdir)/tutorial; $(MAKE) all; cd ..
app:
cd app; $(MAKE) all; cd ..
all:
for i in $(SUBDIRS); do cd $$i && $(MAKE) all; cd ..; done
clean:
for i in $(SUBDIRS); do cd $$i && $(MAKE) clean; cd ..; done
###############################################################################
#lib:
# cd src; $(MAKE) all; cd ..
#all:
# for i in $(SUBDIRS); do cd $$i && $(MAKE) all; cd ..; done
#clean:
# for i in $(SUBDIRS); do cd $$i && $(MAKE) clean; cd ..; done
###############################################################################