]> jfr.im git - irc/quakenet/newserv.git/blobdiff - build.mk.in
Export printchannels in newsearch.
[irc/quakenet/newserv.git] / build.mk.in
index ff5611cb0c9175f3a36b0b71bce92d3b4a79835c..7db103d4cf5bd59dc229196b8e46c91c9207e372 100644 (file)
@@ -4,17 +4,16 @@ INCPATH=../
 
 CFLAGS=
 
-@include@ @includel@$(INCPATH)configure.mk@includel@
 @sinclude@ @includel@$(INCPATH)settings.mk@includel@
 
 @ifndef@ BUILDID
-BUILDID @shell@ (hg id || echo "unknown") | sed -e "s/+ /-/" @shellend@
+BUILDID @shell@ (hg id || echo "unknown") | sed -e "s/+ /-/;s/ /-/" @shellend@
 @endif@
 
 .SUFFIXES: .so
 
 .o.so:
-       ld -shared -Bdynamic $(LDFLAGS) -o $@ @srcs@
+       @-ldline-@ $(LDFLAGS)
 
 CC=gcc
 CFLAGS+=-Wall -g -finline-functions -funroll-loops -std=c99 -I./ -DBUILDID=$(BUILDID)