GNUmakefile 11.2 KB
Newer Older
1
# GNUmakefile
2
3

#########################################################################
4
# Makefile for Synchronet BBS for Unix									#
5
# For use with GNU make and GNU C Compiler or Borland Kylix C++			#
6
7
# @format.tab-size 4, @format.use-tabs true								#
#																		#
8
9
# gcc: gmake															#
# Borland (still in testing/debuging stage): gmake bcc=1				#
10
11
12
13
14
15
16
#																		#
# Optional build targets: dlls, utils, mono, all (default)				#
#########################################################################

# $Id$

# Macros
17
18
19
20
21
22
ifndef DEBUG
 ifndef RELEASE
  DEBUG	:=	1
 endif
endif

deuce's avatar
deuce committed
23
#USE_DIALOG =   1       # Dialog vesrion of UIFC
24
#USE_FLTK =     1       # Use Windowed version
deuce's avatar
deuce committed
25
26
USE_CURSES      =       1       # Curses version of UIFC

27
ifdef DEBUG
28
 BUILD	=	debug
29
else
30
 BUILD	=	release
31
32
endif

33
ifdef bcc
34
35
36
37
 CC		=	bc++ -q
 CCPRE	:=	bcc
 CCPP	=	bc++ -q
 LD		=	ilink -q
38
 CFLAGS +=	-mm -md -D__unix__ -w-csu -w-pch -w-ccc -w-rch -w-par -w-aus
39
else
40
 CFLAGS	+=	-MMD -Wall
deuce's avatar
deuce committed
41
 CCPRE	:=	gcc
42
43
44
45
46
47
48
 ifdef BUILD_DEPENDS
  CC		=	../build/mkdep -a
  CCPP	=	../build/mkdep -a
  LD		=	echo
  COMPILE_MSG	:= Depending
 else
  CC		=	gcc
deuce's avatar
deuce committed
49
  CCPP	=	g++
50
51
52
  LD		=	ld
  COMPILE_MSG	:= Compiling
 endif
53
endif
54
55
56
SLASH	=	/
OFILE	=	o

57
LIBFILE	=	.so
rswindell's avatar
rswindell committed
58
UIFC	=	../uifc/
59
XPDEV	=	../xpdev/
60
LIBPREFIX =	lib
61

62
63
ifndef os
 os		:=	$(shell uname)
64
endif
65
66
67
ifeq ($(shell uname -m),ppc)
 os		:=	$(os)-ppc
endif
68
# this line wont work with solaris unless awk in path is actually gawk 
69
os      :=	$(shell echo $(os) | tr "[ A-Z]" "[\-a-z]")
70
71
# remove '/' from "os/2"
os      :=  $(shell echo $(os) | tr -d "/")
72

73
74
ifeq ($(os),freebsd)
 BSD	=	1
75
else
76
77
78
 ifeq ($(os),openbsd)
  BSD	=	1
 endif
79
endif
80

81
82
LIBODIR :=	$(CCPRE).$(os).lib.$(BUILD)
EXEODIR :=	$(CCPRE).$(os).exe.$(BUILD)
83

84
DELETE	=	rm -f
85

86
CFLAGS	+=	-DJAVASCRIPT -I../../include/mozilla/js -I$(XPDEV) -I$(UIFC)
87

88
89
ifdef BSD	# BSD
 # Math libraries needed and uses pthread
90
91
 LFLAGS	:=	-lm -lutil -lc_r
 CFLAGS +=	-pthread 
92
else			# Linux / Other UNIX
93
94
95
96
97
98
 # Math and pthread libraries needed
 ifdef bcc
  LFLAGS	:=	libpthread.so
 else
  LFLAGS	:=	-lm -lpthread -lutil
 endif
99
endif
100

101
102
ifeq ($(os),linux)    # Linux
 CFLAGS	+= -D_THREAD_SUID_BROKEN
103
104
endif

105
106
ifeq ($(os),sunos)    # Solaris
 CFLAGS	+= -D_REENTRANT -D__solaris__ -DNEEDS_DAEMON -D_POSIX_PTHREAD_SEMANTICS -DNEEDS_FORKPTY
107
 LFLAGS += -lm -lpthread -lsocket -lnsl -lrt
108
109
endif

110
ifeq ($(os),netbsd)
111
 CFLAGS += -D_REENTRANT -D__unix__ -I/usr/pkg/include -DNEEDS_FORKPTY
112
 LFLAGS += -lm -lpthread -L/usr/pkg/lib -L/usr/pkg/pthreads/lib
113
114
endif

115
# So far, only QNX has sem_timedwait()
116
117
ifeq ($(os),qnx)
 LFLAGS := -lm -lsocket
118
119
120
else
 CFLAGS	+=	-DUSE_XP_SEMAPHORES
 USE_XP_SEMAPHORES	:=	1
121
122
endif

123
ifdef DEBUG
124
125
126
127
128
129
 ifdef bcc
  CFLAGS	+=	-y -v -Od
 else
  CFLAGS	+=	-ggdb
 endif
 CFLAGS  +=	-D_DEBUG
130
131
else
 CFLAGS	+= -O3
132
endif
133

134
135
136
ifdef JSLIB
 LIBS	+=	$(JSLIB)
else
137
 LIBS	+=	../../lib/mozilla/js/$(os).$(BUILD)/libjs.a ../../lib/mozilla/nspr/$(os).$(BUILD)/libnspr4.a
138
139
endif

140
141
# The following are needed for echocfg (uses UIFC)
UIFC_OBJS =	$(EXEODIR)/uifcx.o
142
ifdef USE_FLTK
143
144
145
 CFLAGS +=	-DUSE_FLTK -I../../include/fltk
 UIFC_LFLAGS += -L../../lib/fltk/$(os) -L/usr/X11R6/lib -lm -lfltk -lX11
 UIFC_OBJS+=	$(EXEODIR)/uifcfltk.o
146
endif
deuce's avatar
deuce committed
147
ifdef USE_CURSES
148
 CFLAGS +=	-DUSE_CURSES
149
150
151
152
153
 ifeq ($(os),qnx)
  UIFC_LFLAGS += -lncurses
 else
  UIFC_LFLAGS += -lcurses
 endif
154
 UIFC_OBJS +=	$(EXEODIR)/uifcc.o
deuce's avatar
deuce committed
155
endif
156

157
158
159
160
161
#The following is needed for nspr support on Linux
ifeq ($(os),linux)
 LFLAGS	+=	-ldl
endif

rswindell's avatar
rswindell committed
162
163
164
include targets.mk		# defines all targets
include objects.mk		# defines $(OBJS)
include sbbsdefs.mk		# defines $(SBBSDEFS)
165

166
167
ifeq ($(USE_XP_SEMAPHORES),1)
 OBJS	+=	$(LIBODIR)$(SLASH)xpsem.$(OFILE)
168
169
endif

170
171
172
173
174
#SBBSLIB	=	$(LIBODIR)$(SLASH)libsbbs.so
SBBSLIB	=	-lsbbs

#dummy rule
$(SBBSLIB) : $(SBBS)
175

rswindell's avatar
rswindell committed
176
vpath %.c $(XPDEV) $(UIFC)
177
vpath %.cpp $(UIFC)
rswindell's avatar
rswindell committed
178

179
180
181
182
LFLAGS		+=	-L./$(LIBODIR)
LDFLAGS		:=	$(LFLAGS) -rpath-link ./$(LIBODIR) -rpath ./
LFLAGS		+=	-Wl,-rpath-link,./$(LIBODIR),-rpath,./

183
# Implicit C Compile Rule for utils
deuce's avatar
deuce committed
184
$(EXEODIR)/%.o : %.c $(BUILD_DEPENDS)
185
   ifndef bcc
186
	@echo $(COMPILE_MSG) $<
187
   endif
188
	@$(CC) $(CFLAGS) -o $@ -c $<
189

190
# Implicit C++ Compile Rule for utils
deuce's avatar
deuce committed
191
$(EXEODIR)/%.o : %.cpp $(BUILD_DEPENDS)
192
   ifndef bcc
193
	@echo $(COMPILE_MSG) $<
194
   endif
195
	@$(CCPP) $(CFLAGS) -o $@ -c $<
196

197
# Implicit C Compile Rule for SBBS
deuce's avatar
deuce committed
198
$(LIBODIR)/%.o : %.c $(BUILD_DEPENDS)
199
   ifndef bcc
200
	@echo $(COMPILE_MSG) $<
201
   endif
202
	@$(CC) $(CFLAGS) $(SBBSDEFS) -o $@ -c $<
203
204

# Implicit C++ Compile Rule for SBBS
deuce's avatar
deuce committed
205
$(LIBODIR)/%.o : %.cpp $(BUILD_DEPENDS)
206
   ifndef bcc
207
	@echo $(COMPILE_MSG) $<
208
   endif
209
	@$(CCPP) $(CFLAGS) $(SBBSDEFS) -o $@ -c $<
210
211
212
213
214
215
216

$(LIBODIR):
	mkdir $(LIBODIR)

$(EXEODIR):
	mkdir $(EXEODIR)

217
CON_OBJS	= $(EXEODIR)/sbbscon.o $(EXEODIR)/conwrap.o \
218
		  $(EXEODIR)/sbbs_ini.o
219
CON_LDFLAGS	= -lftpsrvr -lwebsrvr -lmailsrvr -lservices
220
FTP_OBJS	= $(LIBODIR)/ftpsrvr.o
221
MAIL_OBJS	= $(LIBODIR)/mailsrvr.o $(LIBODIR)/mxlookup.o \
deuce's avatar
deuce committed
222
 		  $(LIBODIR)/mime.o $(LIBODIR)/base64.o
deuce's avatar
deuce committed
223
WEB_OBJS	= $(LIBODIR)/websrvr.o $(LIBODIR)/sockwrap.o $(LIBODIR)/base64.o
224
SERVICE_OBJS	= $(LIBODIR)/services.o
225

rswindell's avatar
rswindell committed
226
227
MONO_OBJS	= $(CON_OBJS) $(FTP_OBJS) $(WEB_OBJS) \
			$(MAIL_OBJS) $(SERVICE_OBJS)
228
229
230
231
232
SMBLIB_OBJS = \
	$(EXEODIR)/smblib.o \
	$(EXEODIR)/filewrap.o \
	$(EXEODIR)/crc16.o

233
234

# Monolithic Synchronet executable Build Rule
235
FORCE$(SBBSMONO): $(MONO_OBJS) $(OBJS) $(LIBS)
deuce's avatar
deuce committed
236

237
$(SBBSMONO): $(MONO_OBJS) $(OBJS) $(LIBS)
238
	@echo Linking $@
239
	@$(CCPP) -o $@ $(LFLAGS) $^
240
241

# Synchronet BBS library Link Rule
242
FORCE$(SBBS): $(OBJS) $(LIBS)
deuce's avatar
deuce committed
243

244
$(SBBS): $(OBJS) $(LIBS)
245
246
	@echo Linking $@
	@$(LD) $(LDFLAGS) -S -o $(SBBS) $^ -shared -o $@
247
248

# FTP Server Link Rule
249
FORCE$(FTPSRVR): $(LIBODIR)/ftpsrvr.o $(SBBSLIB)
deuce's avatar
deuce committed
250
251

$(FTPSRVR): $(LIBODIR)/ftpsrvr.o $(SBBSLIB)
252
253
	@echo Linking $@
	$(LD) $(LDFLAGS) -S $^ $(LIBS) -shared -o $@ 
254
255

# Mail Server Link Rule
256
FORCE$(MAILSRVR): $(MAIL_OBJS) $(LIBODIR)$(SLASH)$(SBBSLIB)
deuce's avatar
deuce committed
257
258

$(MAILSRVR): $(MAIL_OBJS) $(SBBSLIB)
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
	@echo Linking $@
	@$(LD) $(LDFLAGS) -S $^ $(LIBS) -shared -o $@

# Mail Server Link Rule
FORCE$(WEBSRVR): $(WEB_OBJS) $(SBBSLIB)

$(WEBSRVR): $(WEB_OBJS) $(SBBSLIB)
	@echo Linking $@
	@$(LD) $(LDFLAGS) -S $^ $(LIBS) -shared -o $@

# Services Link Rule
FORCE$(SERVICES): $(WEB_OBJS) $(SBBSLIB)

$(SERVICES): $(SERVICE_OBJS) $(SBBSLIB)
	@echo Linking $@
	@$(LD) $(LDFLAGS) -S $^ $(LIBS) -shared -o $@
275
276

# Synchronet Console Build Rule
277
FORCE$(SBBSCON): $(CON_OBJS) $(SBBSLIB) $(FTP_OBJS) $(MAIL_OBJS) $(WEB_OBJS) $(SERVICE_OBJS)
deuce's avatar
deuce committed
278

279
280
281
$(SBBSCON): $(CON_OBJS) $(SBBSLIB) $(FTPSRVR) $(WEBSRVR) $(MAILSRVR) $(SERVICES)
	@echo Linking $@
	@$(CC) $(CFLAGS) $(LFLAGS) $(CON_LDFLAGS) -o $@ $(CON_OBJS) $(SBBSLIB)
282
283

# Specifc Compile Rules
deuce's avatar
deuce committed
284
$(LIBODIR)/ftpsrvr.o: ftpsrvr.c ftpsrvr.h $(BUILD_DEPENDS)
285
	@echo $(COMPILE_MSG) $<
286
	@$(CC) $(CFLAGS) -DFTPSRVR_EXPORTS -o $@ -c $<
287

deuce's avatar
deuce committed
288
$(LIBODIR)/mailsrvr.o: mailsrvr.c mailsrvr.h $(BUILD_DEPENDS)
289
	@echo $(COMPILE_MSG) $<
290
	@$(CC) $(CFLAGS) -DMAILSRVR_EXPORTS -o $@ -c $<
291

deuce's avatar
deuce committed
292
$(LIBODIR)/mxlookup.o: mxlookup.c $(BUILD_DEPENDS)
293
	@echo $(COMPILE_MSG) $<
294
	@$(CC) $(CFLAGS) -DMAILSRVR_EXPORTS -o $@ -c $<
295

deuce's avatar
deuce committed
296
$(LIBODIR)/mime.o: mime.c $(BUILD_DEPENDS)
297
	@echo $(COMPILE_MSG) $<
298
	@$(CC) $(CFLAGS) -DMAILSRVR_EXPORTS -o $@ -c $<		
299

deuce's avatar
deuce committed
300
$(LIBODIR)/websrvr.o: websrvr.c websrvr.h $(BUILD_DEPENDS)
301
	@echo $(COMPILE_MSG) $<
deuce's avatar
deuce committed
302
303
	@$(CC) $(CFLAGS) -DWEBSRVR_EXPORTS -o $@ -c $<

deuce's avatar
deuce committed
304
$(LIBODIR)/base64.o: base64.c base64.h $(BUILD_DEPENDS)
305
	@echo $(COMPILE_MSG) $<
rswindell's avatar
rswindell committed
306
307
	@$(CC) $(CFLAGS) -DWEBSRVR_EXPORTS -o $@ -c $<

deuce's avatar
deuce committed
308
$(LIBODIR)/services.o: services.c services.h $(BUILD_DEPENDS)
309
	@echo $(COMPILE_MSG) $<
310
	@$(CC) $(CFLAGS) -DSERVICES_EXPORTS -o $@ -c $<
311
312

# Baja Utility
313
314
315
316
317
318
319
BAJA_OBJS = \
	$(EXEODIR)/baja.o \
	$(EXEODIR)/ars.o \
	$(EXEODIR)/crc32.o \
	$(EXEODIR)/genwrap.o \
	$(EXEODIR)/filewrap.o
FORCE$(BAJA): $(BAJA_OBJS)
deuce's avatar
deuce committed
320

321
$(BAJA): $(BAJA_OBJS)
322
	@echo Linking $@
323
	@$(CC) -o $@ $^
324
325

# Node Utility
326
327
328
329
330
NODE_OBJS = \
	$(EXEODIR)/node.o \
	$(EXEODIR)/genwrap.o \
	$(EXEODIR)/filewrap.o
FORCE$(NODE): $(NODE_OBJS)
deuce's avatar
deuce committed
331

332
$(NODE): $(NODE_OBJS)
333
	@echo Linking $@
334
	@$(CC) -o $@ $^ 
335
336

# FIXSMB Utility
337
338
339
340
341
342
343
344
FIXSMB_OBJS = \
	$(EXEODIR)/fixsmb.o \
	$(SMBLIB_OBJS) \
	$(EXEODIR)/genwrap.o \
	$(EXEODIR)/str_util.o
FORCE$(FIXSMB): $(FIXSMB_OBJS)
	
$(FIXSMB): $(FIXSMB_OBJS)
345
	@echo Linking $@
346
	@$(CC) -o $@ $^
347
348

# CHKSMB Utility
349
350
351
352
353
354
355
CHKSMB_OBJS = \
	$(EXEODIR)/chksmb.o \
	$(SMBLIB_OBJS) \
	$(EXEODIR)/conwrap.o \
	$(EXEODIR)/dirwrap.o \
	$(EXEODIR)/genwrap.o
FORCE$(CHKSMB): $(CHKSMB_OBJS)
deuce's avatar
deuce committed
356

357
$(CHKSMB): $(CHKSMB_OBJS)
358
	@echo Linking $@
359
	@$(CC) -o $@ $^
360
361

# SMB Utility
362
363
364
SMBUTIL_OBJS = \
	$(EXEODIR)/smbutil.o \
	$(SMBLIB_OBJS) \
deuce's avatar
deuce committed
365
366
367
368
	$(EXEODIR)/conwrap.o \
	$(EXEODIR)/dirwrap.o \
	$(EXEODIR)/genwrap.o \
	$(EXEODIR)/smbtxt.o \
369
370
371
372
373
374
375
376
377
	$(EXEODIR)/crc32.o \
	$(EXEODIR)/lzh.o \
	$(EXEODIR)/date_str.o \
	$(EXEODIR)/str_util.o
FORCE$(SMBUTIL): $(SMBUTIL_OBJS)
	
$(SMBUTIL): $(SMBUTIL_OBJS)
	@echo Linking $@
	@$(CC) -o $@ $^
deuce's avatar
deuce committed
378

379
380
# SBBSecho (FidoNet Packet Tosser)
SBBSECHO_OBJS = \
rswindell's avatar
rswindell committed
381
382
383
384
385
386
387
	$(EXEODIR)/sbbsecho.o \
	$(EXEODIR)/ars.o \
	$(EXEODIR)/crc32.o \
	$(EXEODIR)/date_str.o \
	$(EXEODIR)/load_cfg.o \
	$(EXEODIR)/scfglib1.o \
	$(EXEODIR)/scfglib2.o \
388
389
	$(EXEODIR)/nopen.o \
	$(EXEODIR)/str_util.o \
390
	$(EXEODIR)/dat_rec.o \
rswindell's avatar
rswindell committed
391
392
	$(EXEODIR)/userdat.o \
	$(EXEODIR)/rechocfg.o \
393
	$(EXEODIR)/conwrap.o \
rswindell's avatar
rswindell committed
394
395
	$(EXEODIR)/dirwrap.o \
	$(EXEODIR)/genwrap.o \
396
	$(SMBLIB_OBJS) \
rswindell's avatar
rswindell committed
397
	$(EXEODIR)/smbtxt.o \
deuce's avatar
deuce committed
398
	$(EXEODIR)/lzh.o
399
400
401
402

FORCE$(SBBSECHO): $(SBBSECHO_OBJS)

$(SBBSECHO): $(SBBSECHO_OBJS)
rswindell's avatar
rswindell committed
403
	@echo Linking $@
404
	@$(CC) -o $@ $^
rswindell's avatar
rswindell committed
405

rswindell's avatar
rswindell committed
406
# SBBSecho Configuration Program
rswindell's avatar
rswindell committed
407
ECHOCFG_OBJS = \
deuce's avatar
deuce committed
408
409
410
411
412
413
414
415
416
417
	$(EXEODIR)/echocfg.o \
	$(EXEODIR)/rechocfg.o \
	$(UIFC_OBJS) \
	$(EXEODIR)/nopen.o \
	$(EXEODIR)/crc16.o \
	$(EXEODIR)/str_util.o \
	$(EXEODIR)/filewrap.o \
	$(EXEODIR)/genwrap.o \
	$(EXEODIR)/dirwrap.o

418
419
420
FORCE$(ECHOCFG): $(ECHOCFG_OBJS)

$(ECHOCFG): $(ECHOCFG_OBJS)
rswindell's avatar
rswindell committed
421
	@echo Linking $@
422
	@$(CC) -o $@ $^ $(UIFC_LFLAGS)
rswindell's avatar
rswindell committed
423

rswindell's avatar
rswindell committed
424
# ADDFILES
425
ADDFILES_OBJS = \
deuce's avatar
deuce committed
426
427
428
429
430
431
432
433
434
435
	$(EXEODIR)/addfiles.o \
	$(EXEODIR)/ars.o \
	$(EXEODIR)/date_str.o \
	$(EXEODIR)/load_cfg.o \
	$(EXEODIR)/scfglib1.o \
	$(EXEODIR)/scfglib2.o \
	$(EXEODIR)/nopen.o \
	$(EXEODIR)/crc16.o \
	$(EXEODIR)/str_util.o \
	$(EXEODIR)/dat_rec.o \
436
	$(EXEODIR)/userdat.o \
deuce's avatar
deuce committed
437
438
439
440
441
	$(EXEODIR)/filedat.o \
	$(EXEODIR)/filewrap.o \
	$(EXEODIR)/dirwrap.o \
	$(EXEODIR)/genwrap.o

442
443
444
FORCE$(ADDFILES): $(ADDFILES_OBJS)

$(ADDFILES): $(ADDFILES_OBJS)
rswindell's avatar
rswindell committed
445
446
447
	@echo Linking $@
	@$(CC) -o $@ $^

448
# FILELIST
449
FILELIST_OBJS = \
deuce's avatar
deuce committed
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
	$(EXEODIR)/filelist.o \
	$(EXEODIR)/ars.o \
	$(EXEODIR)/date_str.o \
	$(EXEODIR)/load_cfg.o \
	$(EXEODIR)/scfglib1.o \
	$(EXEODIR)/scfglib2.o \
	$(EXEODIR)/nopen.o \
	$(EXEODIR)/crc16.o \
	$(EXEODIR)/str_util.o \
	$(EXEODIR)/dat_rec.o \
	$(EXEODIR)/filedat.o \
	$(EXEODIR)/filewrap.o \
	$(EXEODIR)/dirwrap.o \
	$(EXEODIR)/genwrap.o

465
466
467
FORCE$(FILELIST): $(FILELIST_OBJS)

$(FILELIST): $(FILELIST_OBJS)
468
469
470
	@echo Linking $@
	@$(CC) -o $@ $^

471
# MAKEUSER
472
MAKEUSER_OBJS = \
deuce's avatar
deuce committed
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
	$(EXEODIR)/makeuser.o \
	$(EXEODIR)/ars.o \
	$(EXEODIR)/date_str.o \
	$(EXEODIR)/load_cfg.o \
	$(EXEODIR)/scfglib1.o \
	$(EXEODIR)/scfglib2.o \
	$(EXEODIR)/nopen.o \
	$(EXEODIR)/crc16.o \
	$(EXEODIR)/str_util.o \
	$(EXEODIR)/dat_rec.o \
	$(EXEODIR)/userdat.o \
	$(EXEODIR)/filewrap.o \
	$(EXEODIR)/dirwrap.o \
	$(EXEODIR)/genwrap.o

488
489
490
FORCE$(MAKEUSER): $(MAKEUSER_OBJS)

$(MAKEUSER): $(MAKEUSER_OBJS)
491
492
	@echo Linking $@
	@$(CC) -o $@ $^
deuce's avatar
deuce committed
493

rswindell's avatar
rswindell committed
494
495
496
# JSEXEC
JSEXEC_OBJS = \
	$(EXEODIR)/jsexec.o \
497
	$(SBBSLIB)
rswindell's avatar
rswindell committed
498
499
500

FORCE$(JSEXEC): $(JSEXEC_OBJS)

501
$(JSEXEC): $(JSEXEC_OBJS) $(LIBS)
rswindell's avatar
rswindell committed
502
	@echo Linking $@
503
	@$(CCPP) -o $@ $(LFLAGS) $^
rswindell's avatar
rswindell committed
504
505
	
# ANS2MSG
deuce's avatar
deuce committed
506
507
FORCE$(ANS2MSG): $(ANS2MSG).o

rswindell's avatar
rswindell committed
508
# MSG2NAS
deuce's avatar
deuce committed
509
FORCE$(MSG2ANS): $(MSG2ANS).o
510

511
512
513
depend:
	@$(DELETE) $(LIBODIR)/.depend
	@$(DELETE) $(EXEODIR)/.depend
deuce's avatar
deuce committed
514
	$(MAKE) BUILD_DEPENDS=FORCE
deuce's avatar
deuce committed
515

deuce's avatar
deuce committed
516
FORCE:
517

518
519
-include $(LIBODIR)/.depend
-include $(EXEODIR)/.depend
520
521
-include $(LIBODIR)/*.d
-include $(EXEODIR)/*.d