source: trunk/src/data_sources/Makefile @ 2152

Revision 2152, 3.3 KB checked in by paulf, 14 years ago (diff)

added scream2ew back into the list of Solaris modules

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1#
2#       makefile for Earthworm
3#             Lucky Vidmar Mon Jan 11 21:31:51 MST 1999
4#
5#
6# This makefile contains all the directives necessary to compile
7# earthworm modules in a directory under Solaris and NT, as well as
8# clean up the Earthworm source and binary file tree.
9#
10# 1. To build (compile) the Earthworm modules on a Sun:
11#        make solaris
12#
13# 2. To build (compile) the Earthworm modules on an NT PC:
14#        nmake nt
15#
16# 3. To clean up the source tree, i.e. remove all *.o, *.obj, *~, *%,
17#    and core files from all modules, on a Sun:
18#        make clean_solaris
19#
20# 4. To clean up the source tree, i.e. remove all *.o, *.obj, *~, *%,
21#    and core files from all modules, on a PC running NT:
22#        nmake clean_nt
23#
24# 5. To clean up the bin directory, i.e. remove all Earthworm programs,
25#    on a Sun:
26#        make clean_bin_solaris
27#
28# 6. To clean up the bin directory, i.e. remove all Earthworm programs,
29#    on a PC running NT:
30#        nmake clean_bin_nt
31#
32#
33#
34# Whenever a new module is added to Earthworm, it should be added to
35# this makefile to the list of ALL_MODULES, and to the appropriate (or
36# both) lists of SOLARIS_MODULES and NT_MODULES. The analogous
37# procedure should be followed when a module is removed from the
38# Earthworm distribution.
39#
40
41#
42# List all modules (for cleaning purposes)
43#
44ALL_MODULES = \
45        adsend \
46        k2ew \
47        naqs2ew \
48        q2ew \
49        q3302ew \
50        reboot_mss \
51        reboot_mss_ew \
52        reftek2ew \
53        scream2ew  \
54        srparxchewsend
55
56
57UNIX_MODULES = \
58        q3302ew \
59        scream2ew  \
60        srparxchewsend
61
62#
63# List all modules to be compiled into the NT distribution
64
65#
66# List all modules to be compiled into the Solaris distribution
67#
68SOLARIS_MODULES = \
69        k2ew \
70        naqs2ew \
71        q2ew \
72        q3302ew \
73        reboot_mss \
74        reboot_mss_ew \
75        reftek2ew  \
76        scream2ew  \
77        srparxchewsend
78
79#
80# List all modules to be compiled into the NT distribution
81#
82NT_MODULES = \
83        adsend \
84        k2ew \
85        naqs2ew \
86        reboot_mss \
87        reboot_mss_ew \
88        reftek2ew \
89        scream2ew  \
90        srparxchewsend
91
92# DK 082402  Note:  The NT tree compilation will fail at adsend, unless you
93# comment out the adsend line above, or you have the National Instruments
94#       header files to compile adsend.
95
96#
97#  Top level directives
98#
99solaris: sol_modules
100nt: nt_modules
101unix: unix_modules
102
103
104#
105#  Solaris directives
106#
107sol_modules:: FRC
108        @for x in $(SOLARIS_MODULES); \
109        do \
110                (echo ------; cd $$x; echo Making $@ in:; pwd; \
111                make -f makefile.sol); \
112        done
113
114clean_solaris:
115        @for x in $(ALL_MODULES); \
116        do \
117                (cd $$x; echo Cleaning in:; pwd; \
118                make -f makefile.sol clean); \
119        done
120
121clean_bin_solaris:
122        @for x in $(ALL_MODULES); \
123        do \
124                (cd $$x; echo Cleaning binaries in:; pwd; \
125                make -f makefile.sol clean_bin); \
126        done
127
128#
129#  Unix directives
130#
131unix_modules:: FRC
132        @for x in $(UNIX_MODULES); \
133        do \
134                (echo ------; cd $$x; echo Making $@ in:; pwd; \
135                make -f makefile.ux); \
136        done
137
138clean_unix:
139        @for x in $(ALL_MODULES); \
140        do \
141                (cd $$x; echo Cleaning in:; pwd; \
142                make -f makefile.sol clean); \
143        done
144
145clean_bin_unix:
146        @for x in $(ALL_MODULES); \
147        do \
148                (cd $$x; echo Cleaning binaries in:; pwd; \
149                make -f makefile.sol clean_bin); \
150        done
151
152
153
154
155#
156#  NT directives
157#
158nt_modules:: FRC
159        @echo "Making Earthworm data_sources modules"
160        @nt_make_subdirs $(NT_MODULES)
161
162clean_nt:: FRC
163        @for %x in ($(ALL_MODULES)) \
164        do \
165                @nt_clean %x
166
167clean_bin_nt:: FRC
168        @for %x in ($(ALL_MODULES)) \
169        do \
170                @nt_clbin %x
171
172FRC:
Note: See TracBrowser for help on using the repository browser.