]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - make/bsd-real.mk
Module API changes to use Membership* where sensible
[user/henk/code/inspircd.git] / make / bsd-real.mk
1 CORE_TARGS != perl -e 'print join " ", grep s/\.cpp/.o/, <*.cpp>, <modes/*.cpp>'
2 CMD_TARGS != perl -e 'print join " ", grep s/\.cpp/.so/, <commands/*.cpp>'
3 MOD_TARGS != perl -e 'print join " ", grep s/\.cpp/.so/, <modules/*.cpp>'
4 MDIR_TARGS != perl -e 'print join " ", grep s!/?$$!.so!, grep -d, <modules/m_*>'
5
6 CORE_TARGS += socketengines/$(SOCKETENGINE).o threadengines/threadengine_pthread.o
7
8 DFILES != perl ../make/calcdep.pl -all
9
10 all: inspircd commands modules
11
12 commands: $(CMD_TARGS)
13
14 modules: $(MOD_TARGS) $(MDIR_TARGS)
15
16 inspircd: $(CORE_TARGS)
17         $(RUNCC) -o $@ $(CORELDFLAGS) $(LDLIBS) $(CORE_TARGS)
18
19 .for FILE in $(DFILES)
20 .include "$(FILE)"
21 .endfor