56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
-
+
|
MOIMPFILES = $(MSRCFILES:%.scm=%.import.o)
GMOFILES = $(addprefix mofiles/,$(GMSRCFILES:%.scm=%.o))
# compiled import files
GMOIMPFILES = $(GMSRCFILES:%.scm=%.import.o)
%.import.o : %.import.scm
csc -unit $*.import -c $*.import.scm -o $*.import.o
csc $(CSCOPTS) -unit $*.import -c $*.import.scm -o $*.import.o
# mofiles/ducttape-lib.o : ducttape-lib.scm ducttape/*scm
# csc -I ducttape -J -c ducttape-lib.scm -o mofiles/ducttape-lib.o
mofiles/%.o %.import.scm : %.scm
@[ -e mofiles ] || mkdir -p mofiles
csc $(CSCOPTS) -I $* -J -c $< -o mofiles/$*.o
|
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
|
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
|
-
+
+
+
|
mofiles/mtconfigf.o : mtconfigf/mtconfigf.scm
mofiles/ulex.o : ulex/ulex.scm
mofiles/mutils.o : mutils/mutils.scm
mofiles/cookie.o : stml2/cookie.scm
mofiles/stml2.o : stml2/stml2.scm
# for the modularized stuff
mofiles/commonmod.o : megatest-fossil-hash.scm mofiles/stml2.o \
mofiles/mtargs.o mofiles/pkts.o mofiles/mtconfigf.o \
mofiles/processmod.o
mofiles/pgdbmod.o : mofiles/commonmod.o
mofiles/dbmod.o : mofiles/commonmod.o mofiles/keysmod.o \
mofiles/tasksmod.o mofiles/odsmod.o
mofiles/tasksmod.o : mofiles/commonmod.o mofiles/pgdbmod.o
mofiles/rmtmod.o : mofiles/commonmod.o \
mofiles/apimod.o mofiles/ulex.o mofiles/itemsmod.o
mofiles/apimod.o : mofiles/dbmod.o mofiles/commonmod.o mofiles/servermod.o
mofiles/runsmod.o : mofiles/testsmod.o mofiles/mtmod.o
mofiles/mtmod.o : mofiles/mtconfigf.o mofiles/rmtmod.o mofiles/tasksmod.o \
mofiles/dbmod.o mofiles/pgdbmod.o mofiles/launchmod.o \
mofiles/subrunmod.o
mofiles/servermod.o : mofiles/commonmod.o mofiles/dbmod.o
mofiles/testsmod.o : mofiles/servermod.o mofiles/dbmod.o
mofiles/launchmod.o : mofiles/subrunmod.o mofiles/testsmod.o
# special cases where an upstream .import file is needed to compile a module
mofiles/rmtmod.o : ulex.import.o
# Removed from megamod.o dep: mofiles/ftail.o
mofiles/megamod.o : \
mofiles/rmtmod.o \
mofiles/commonmod.o \
mofiles/apimod.o \
mofiles/archivemod.o \
|