root/tags/rel-2-9-16/pdns/pdns/release-scripts/make-freebsd-static @ 239

Revision 239, 1.2 KB (checked in by anonymous, 9 years ago)

This commit was manufactured by cvs2svn to create tag 'rel-2-9-16'.

  • Property svn:eol-style set to native
  • Property svn:keywords set to author date id revision
RevLine 
[2]1#!/usr/local/bin/gmake -f
2
3all: compile package
4
5compile:  compilation
6
7precompile:
8        gmake clean
9        gmake -k distclean
10        ./bootstrap
11        ./configure --enable-static-binaries
12        cd ../pdns-pipebackend ;        gmake clean;    gmake
13        cd ../ahudns-mysqlbackend ; gmake clean ;       gmake
14        cd ../pdns-gpgsqlbackend; gmake clean  ;        gmake
15        cd ../pdns-gmysqlbackend; gmake clean  ;        gmake
16        # cd backends/bind ; gmake
17
18extras:  precompile
19        -rm extra/*.o
20        cd extra ; ln -s ../backends/bind/bindbackend.o .
21        cd extra ; ln -s ../backends/bind/zoneparser2.o .
22        cd extra ; ln -s ../backends/bind/bindparser.o .
23        cd extra ; ln -s ../backends/bind/bindlexer.o .
24        cd extra ; ln -s ../backends/bind/huffman.o .
25        cd extra ; ln -s ../../pdns-pipebackend/*.o .
26        cd extra; ln -s ../../ahudns-mysqlbackend/*.o .
27        cd extra; ln -s ../../pdns-gpgsqlbackend/*.o .
28        cd extra; ln -s ../../pdns-gmysqlbackend/*.o .
29        echo "-L/usr/local/lib -lz -L/usr/local/lib/mysql -lmysqlclient -lz -lpq++ -lpq -lssl -lcrypt -lcrypto" > extra/ld
30        -rm libs/*
31
32compilation: extras
33        gmake
34        gmake mkbindist
35
36
37package:
38        mkdir -p release-files/freebsd-static
39        cp backends/bind/zone2sql .
40       
41        -rm pdns*tar.gz
42        cp pathconfig.bsd pathconfig
43        . ./mkbindist
44        mv pdns*tar.gz release-files/freebsd-static
45                       
46
Note: See TracBrowser for help on using the browser.