source: trunk/src/data_sources/Makefile @ 2156

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

added gcf2ew to Solaris modules list

  • 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        gcf2ew \
72        q2ew \
73        q3302ew \
74        reboot_mss \
75        reboot_mss_ew \
76        reftek2ew  \
77        scream2ew  \
78        srparxchewsend
79
80#
81# List all modules to be compiled into the NT distribution
82#
83NT_MODULES = \
84        adsend \
85        k2ew \
86        naqs2ew \
87        reboot_mss \
88        reboot_mss_ew \
89        reftek2ew \
90        scream2ew  \
91        srparxchewsend
92
93# DK 082402  Note:  The NT tree compilation will fail at adsend, unless you
94# comment out the adsend line above, or you have the National Instruments
95#       header files to compile adsend.
96
97#
98#  Top level directives
99#
100solaris: sol_modules
101nt: nt_modules
102unix: unix_modules
103
104
105#
106#  Solaris directives
107#
108sol_modules:: FRC
109        @for x in $(SOLARIS_MODULES); \
110        do \
111                (echo ------; cd $$x; echo Making $@ in:; pwd; \
112                make -f makefile.sol); \
113        done
114
115clean_solaris:
116        @for x in $(ALL_MODULES); \
117        do \
118                (cd $$x; echo Cleaning in:; pwd; \
119                make -f makefile.sol clean); \
120        done
121
122clean_bin_solaris:
123        @for x in $(ALL_MODULES); \
124        do \
125                (cd $$x; echo Cleaning binaries in:; pwd; \
126                make -f makefile.sol clean_bin); \
127        done
128
129#
130#  Unix directives
131#
132unix_modules:: FRC
133        @for x in $(UNIX_MODULES); \
134        do \
135                (echo ------; cd $$x; echo Making $@ in:; pwd; \
136                make -f makefile.ux); \
137        done
138
139clean_unix:
140        @for x in $(ALL_MODULES); \
141        do \
142                (cd $$x; echo Cleaning in:; pwd; \
143                make -f makefile.sol clean); \
144        done
145
146clean_bin_unix:
147        @for x in $(ALL_MODULES); \
148        do \
149                (cd $$x; echo Cleaning binaries in:; pwd; \
150                make -f makefile.sol clean_bin); \
151        done
152
153
154
155
156#
157#  NT directives
158#
159nt_modules:: FRC
160        @echo "Making Earthworm data_sources modules"
161        @nt_make_subdirs $(NT_MODULES)
162
163clean_nt:: FRC
164        @for %x in ($(ALL_MODULES)) \
165        do \
166                @nt_clean %x
167
168clean_bin_nt:: FRC
169        @for %x in ($(ALL_MODULES)) \
170        do \
171                @nt_clbin %x
172
173FRC:
Note: See TracBrowser for help on using the repository browser.