targets.mk 1.73 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

9
10
11
12
13
14
15
SBBS		= $(LIBODIR)$(SLASH)$(LIBPREFIX)sbbs$(LIBFILE) 
FTPSRVR		= $(LIBODIR)$(SLASH)$(LIBPREFIX)ftpsrvr$(LIBFILE)
WEBSRVR		= $(LIBODIR)$(SLASH)$(LIBPREFIX)websrvr$(LIBFILE)
MAILSRVR	= $(LIBODIR)$(SLASH)$(LIBPREFIX)mailsrvr$(LIBFILE)
SERVICES	= $(LIBODIR)$(SLASH)$(LIBPREFIX)services$(LIBFILE)
SBBSCON		= $(EXEODIR)$(SLASH)sbbs$(EXEFILE)
SBBSMONO	= $(EXEODIR)$(SLASH)sbbsmono$(EXEFILE)
rswindell's avatar
rswindell committed
16
JSEXEC		= $(EXEODIR)$(SLASH)jsexec$(EXEFILE)
rswindell's avatar
rswindell committed
17
18
19
20
21
22
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
23
ECHOCFG		= $(EXEODIR)$(SLASH)echocfg$(EXEFILE)
24
ADDFILES	= $(EXEODIR)$(SLASH)addfiles$(EXEFILE)
25
FILELIST	= $(EXEODIR)$(SLASH)filelist$(EXEFILE)
26
MAKEUSER	= $(EXEODIR)$(SLASH)makeuser$(EXEFILE)
27
28
ANS2ASC		= $(EXEODIR)$(SLASH)ans2asc$(EXEFILE)
ASC2ANS		= $(EXEODIR)$(SLASH)asc2ans$(EXEFILE)
rswindell's avatar
rswindell committed
29

deuce's avatar
deuce committed
30
31
32
33
UTILS		= $(BUILD_DEPENDS)$(FIXSMB) $(BUILD_DEPENDS)$(CHKSMB) \
			  $(BUILD_DEPENDS)$(SMBUTIL) $(BUILD_DEPENDS)$(BAJA) $(BUILD_DEPENDS)$(NODE) \
			  $(BUILD_DEPENDS)$(SBBSECHO) $(BUILD_DEPENDS)$(ECHOCFG) $(BUILD_DEPENDS) \
			  $(BUILD_DEPENDS)$(ADDFILES) $(BUILD_DEPENDS)$(FILELIST) $(BUILD_DEPENDS)$(MAKEUSER) \
34
			  $(BUILD_DEPENDS)$(ANS2ASC) $(BUILD_DEPENDS)$(ASC2ANS) \
rswindell's avatar
rswindell committed
35
			  $(BUILD_DEPENDS)$(JSEXEC)
rswindell's avatar
rswindell committed
36

37
all:	SMBLIB $(LIBODIR) $(EXEODIR) $(SBBSMONO) $(UTILS) $(SBBSCON)
38

39
utils:	SMBLIB $(EXEODIR) $(UTILS)
rswindell's avatar
rswindell committed
40

41
dlls:	SMBLIB $(LIBODIR) \
rswindell's avatar
rswindell committed
42
43
		$(SBBS) $(FTPSRVR) $(MAILSRVR) $(SERVICES)

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