… | |
… | |
2 | # Copyright © 2005 Atheme Development Group |
2 | # Copyright © 2005 Atheme Development Group |
3 | # Rights to this code are documented in doc/pod/license.pod. |
3 | # Rights to this code are documented in doc/pod/license.pod. |
4 | # |
4 | # |
5 | # This file contains build instructions. |
5 | # This file contains build instructions. |
6 | # |
6 | # |
7 | # $Id: Makefile.in,v 1.4 2007/07/21 15:55:13 pippijn Exp $ |
7 | # $Id: Makefile.in,v 1.5 2007/07/25 00:03:21 pippijn Exp $ |
8 | # |
8 | # |
9 | |
9 | |
10 | CXX = @CXX@ |
10 | CXX = @CXX@ |
11 | RM = @RM@ |
11 | RM = @RM@ |
12 | MV = @MV@ |
12 | MV = @MV@ |
… | |
… | |
56 | $(SRCDIR)/account/mychan.C \ |
56 | $(SRCDIR)/account/mychan.C \ |
57 | $(SRCDIR)/account/mynick.C \ |
57 | $(SRCDIR)/account/mynick.C \ |
58 | $(SRCDIR)/account/myuser.C |
58 | $(SRCDIR)/account/myuser.C |
59 | |
59 | |
60 | LIB_SRCS = \ |
60 | LIB_SRCS = \ |
61 | ${ACCOUNT_SRCS} \ |
|
|
62 | $(SRCDIR)/arc4random.C \ |
61 | $(SRCDIR)/arc4random.C \ |
63 | $(SRCDIR)/authcookie.C \ |
62 | $(SRCDIR)/authcookie.C \ |
64 | $(SRCDIR)/balloc.C \ |
63 | $(SRCDIR)/balloc.C \ |
65 | $(SRCDIR)/base64.C \ |
64 | $(SRCDIR)/base64.C \ |
66 | $(SRCDIR)/callback.C \ |
65 | $(SRCDIR)/callback.C \ |
… | |
… | |
110 | $(SRCDIR)/users.C \ |
109 | $(SRCDIR)/users.C \ |
111 | $(SRCDIR)/uid.C \ |
110 | $(SRCDIR)/uid.C \ |
112 | $(SRCDIR)/uplink.C \ |
111 | $(SRCDIR)/uplink.C \ |
113 | $(SRCDIR)/${SOCKET_ENGINE} |
112 | $(SRCDIR)/${SOCKET_ENGINE} |
114 | |
113 | |
115 | SRCS = ${LIB_SRCS} $(SRCDIR)/version.C |
114 | SRCS = ${ACCOUNT_SRCS} ${LIB_SRCS} $(SRCDIR)/version.C |
116 | |
115 | |
117 | OBJS = ${SRCS:.C=.o} |
116 | OBJS = ${SRCS:.C=.o} |
118 | |
117 | |
119 | all: ${BIN} ../dist/example.userserv.conf |
118 | all: ${BIN} ../dist/example.userserv.conf |
120 | |
119 | |
… | |
… | |
173 | |
172 | |
174 | .PHONY: depend clean distclean |
173 | .PHONY: depend clean distclean |
175 | # This sed command sucks but I don't know a better way -- jilles |
174 | # This sed command sucks but I don't know a better way -- jilles |
176 | depend: |
175 | depend: |
177 | @${MKDEP} ${PICFLAGS} ${CPPFLAGS} ${CXXFLAGS} ${LIB_SRCS} | sed -e 's|\([^.]*\.o\):|$(SRCDIR)/\1:|' > .depend |
176 | @${MKDEP} ${PICFLAGS} ${CPPFLAGS} ${CXXFLAGS} ${LIB_SRCS} | sed -e 's|\([^.]*\.o\):|$(SRCDIR)/\1:|' > .depend |
|
|
177 | @${MKDEP} ${PICFLAGS} ${CPPFLAGS} ${CXXFLAGS} ${ACCOUNT_SRCS} | sed -e 's|\([^.]*\.o\):|$(SRCDIR)/account/\1:|' >> .depend |
178 | |
178 | |
179 | clean: |
179 | clean: |
180 | @${RM} -f ${OBJS} *.exe *~ version.C ${BIN}.core core ${LIB} ${BIN} ../dist/example.userserv.conf |
180 | @${RM} -f ${OBJS} *.exe *~ version.C ${BIN}.core core ${LIB} ${BIN} ../dist/example.userserv.conf |
181 | |
181 | |
182 | distclean: clean |
182 | distclean: clean |