3 # First cut at a topLevel makefile for the paradyn system.
6 # Revision 1.21 1995/12/15 22:45:39 tamches
7 # removed reference to "dag", an obsolete directory.
8 # Added visiClients/phaseTable
10 # Revision 1.20 1995/11/04 01:14:56 tamches
11 # added the new table visi (visiClients/tableVisi) to the nightly build
13 # Revision 1.19 1995/01/30 18:08:12 jcargill
14 # Major build system reorganization
18 # Standalone is the list of standalone binaries. These get built
19 # first when we "make world", since they include tools for building
20 # the rest of the system.
22 # Subsystems is the list of all other pieces which should be built.
24 buildfirst = util igen thread visi hist
25 subsystems = bininst paradyn \
27 paradynd paradyndSIM paradyndPVM \
28 visiClients/tclVisi visiClients/barchart visiClients/tableVisi visiClients/phaseTable
30 # This rule makes most of the normal recursive stuff. Just about any
31 # target can be passed down to the lower-level Makefiles by listing it
32 # as a target on the next line:
34 # Note that the first item listed in this rule ("all") is what gets
35 # made by default if make is passed no arguments. Don't add other
38 all clean install depend:
39 +for subsystem in $(buildfirst) $(subsystems); do \
40 if [ -f $$subsystem/$(PLATFORM)/Makefile ]; then \
41 $(MAKE) -C $$subsystem/$(PLATFORM) $@; \
47 # This rules passes down the documentation-related stuff to
48 # lower-level Makefiles in the individual "docs" directories.
51 +for subsystem in $(buildfirst) $(subsystems); do \
52 if [ -f $$subsystem/docs/Makefile ]; then \
53 $(MAKE) -C $$subsystem/docs $@; \
60 # The "make world" target is set up to build things in the "correct"
61 # order for a build from scratch. It builds things in the
62 # "buildfirst" list first, then builds everything, then installs
65 # This make target doesn't go first in the Makefile, though, since we
66 # really only want to make "install" when it's specifically requested.
67 # Note that "world" doesn't do a "clean", since it's nice to be able
68 # to restart a compilation that fails without re-doing a lot of
72 +for subsystem in $(buildfirst); do \
73 if [ -f $$subsystem/$(PLATFORM)/Makefile ]; then \
74 $(MAKE) -C $$subsystem/$(PLATFORM) all install; \
83 # The "make nightly" target is what should get run automatically every
84 # night. It uses "make world" to build things in the right order for
85 # a build from scratch.
88 # Note that "nightly" should only be run on the primary build site,
89 # and does things like building documentation that don't need to be
90 # built for each different architecture. Other "non-primary" build
91 # sites that run each night should just run "make clean world".
98 chmod 644 /p/paradyn/man/man?/*