targets.mk 1.37 KB
Newer Older
rswindell's avatar
rswindell committed
1
2
3
4
5
6
7
8
# targets.mk

# Make 'include file' defining targets for Synchronet project

# $Id$

# LIBODIR, EXEODIR, SLASH, LIBFILE, EXEFILE, and DELETE must be pre-defined

rswindell's avatar
rswindell committed
9
10
SBBS		= $(LIBODIR)$(SLASH)sbbs$(LIBFILE) 
FTPSRVR		= $(LIBODIR)$(SLASH)ftpsrvr$(LIBFILE)
rswindell's avatar
rswindell committed
11
WEBSRVR		= $(LIBODIR)$(SLASH)websrvr$(LIBFILE)
rswindell's avatar
rswindell committed
12
13
14
15
16
17
18
19
20
21
MAILSRVR	= $(LIBODIR)$(SLASH)mailsrvr$(LIBFILE)
SERVICES	= $(LIBODIR)$(SLASH)services$(LIBFILE)
SBBSCON		= $(EXEODIR)$(SLASH)sbbscon$(EXEFILE)
SBBSMONO	= $(EXEODIR)$(SLASH)sbbs$(EXEFILE)
NODE		= $(EXEODIR)$(SLASH)node$(EXEFILE)
BAJA		= $(EXEODIR)$(SLASH)baja$(EXEFILE)
FIXSMB		= $(EXEODIR)$(SLASH)fixsmb$(EXEFILE)
CHKSMB		= $(EXEODIR)$(SLASH)chksmb$(EXEFILE)
SMBUTIL		= $(EXEODIR)$(SLASH)smbutil$(EXEFILE)
SBBSECHO	= $(EXEODIR)$(SLASH)sbbsecho$(EXEFILE)
rswindell's avatar
rswindell committed
22
ECHOCFG		= $(EXEODIR)$(SLASH)echocfg$(EXEFILE)
23
ADDFILES	= $(EXEODIR)$(SLASH)addfiles$(EXEFILE)
24
FILELIST	= $(EXEODIR)$(SLASH)filelist$(EXEFILE)
25
MAKEUSER	= $(EXEODIR)$(SLASH)makeuser$(EXEFILE)
rswindell's avatar
rswindell committed
26
27

all:	$(LIBODIR) $(EXEODIR) $(SBBSMONO) \
28
29
		$(FIXSMB) $(CHKSMB) $(SMBUTIL) $(BAJA) $(NODE) \
		$(SBBSECHO) $(ECHOCFG) $(ADDFILES) $(FILELIST) $(MAKEUSER)
rswindell's avatar
rswindell committed
30
31

utils:	$(EXEODIR) \
32
33
		$(FIXSMB) $(CHKSMB) $(SMBUTIL) $(BAJA) $(NODE) \
		$(SBBSECHO) $(ECHOCFG) $(ADDFILES) $(FILELIST) $(MAKEUSER)
rswindell's avatar
rswindell committed
34
35
36
37
38
39
40
41
42

dlls:	$(LIBODIR) \
		$(SBBS) $(FTPSRVR) $(MAILSRVR) $(SERVICES)

mono:	$(LIBODIR) $(EXEODIR) $(SBBSMONO)

clean:
	@$(DELETE) $(LIBODIR)$(SLASH)*
	@$(DELETE) $(EXEODIR)$(SLASH)*