]> jfr.im git - irc/quakenet/newserv.git/blame - build.mk.in
trigger HOOK_CHANSERV_DBLOADED after loading maillocks/domains and not before
[irc/quakenet/newserv.git] / build.mk.in
CommitLineData
16fc8bc1 1@ifndef@ INCPATH
866f59c9 2INCPATH=../
16fc8bc1 3@endif@
8b485e91 4
4bad6412
CP
5CFLAGS=
6
866f59c9
CP
7@sinclude@ @includel@$(INCPATH)settings.mk@includel@
8
16fc8bc1 9@ifndef@ BUILDID
e147b4a2 10BUILDID @shell@ (hg id || echo "unknown") | sed -e "s/+ /-/;s/ /-/" @shellend@
16fc8bc1 11@endif@
8b485e91 12
4bad6412
CP
13.SUFFIXES: .so
14
15.o.so:
45cb2a9d 16 @-ldline-@ $(LDFLAGS)
4bad6412 17
8b485e91 18CC=gcc
4bad6412
CP
19CFLAGS+=-Wall -g -finline-functions -funroll-loops -std=c99 -I./ -DBUILDID=$(BUILDID)
20CFLAGS+=-fPIC -export-dynamic