diff options
Diffstat (limited to 'buildm3.conf')
-rw-r--r-- | buildm3.conf | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/buildm3.conf b/buildm3.conf deleted file mode 100644 index ccc7131..0000000 --- a/buildm3.conf +++ /dev/null | |||
@@ -1,68 +0,0 @@ | |||
1 | # vim: syntax=build | ||
2 | |||
3 | set CXXFLAGS += "-ggdb -W -Wall"; | ||
4 | |||
5 | action "default" | ||
6 | { | ||
7 | build: [targets("header-links"), "libbu++.a"]; | ||
8 | } | ||
9 | |||
10 | action "pkg" | ||
11 | { | ||
12 | build: targets("pkg"); | ||
13 | } | ||
14 | |||
15 | target files("src/*.h").replace("src/", "bu/") | ||
16 | { | ||
17 | tag "header-links"; | ||
18 | display "symlink"; | ||
19 | input OUTPUT.replace("bu/","src/"); | ||
20 | profile "build" | ||
21 | { | ||
22 | execute("ln -s ../${INPUT} ${OUTPUT}"); | ||
23 | } | ||
24 | } | ||
25 | |||
26 | target "libbu++.a" | ||
27 | { | ||
28 | input files("src/*.cpp"); | ||
29 | rule "lib"; | ||
30 | set CXXFLAGS += "-I. -fPIC"; | ||
31 | } | ||
32 | |||
33 | target "libbu++-r$(svnversion "-n").tar.bz2" | ||
34 | { | ||
35 | input [ | ||
36 | "LICENSE", | ||
37 | "build.conf", | ||
38 | "Doxyfile", | ||
39 | "buildm3.conf", | ||
40 | "support/vim/syntax/taf.vim", | ||
41 | "support/vim/ftdetect/taf.vim", | ||
42 | "support/vim/ftplugin/taf.vim", | ||
43 | files("*.sh"), | ||
44 | files("src/*.cpp"), | ||
45 | files("src/*.h"), | ||
46 | files("src/tests/*.cpp"), | ||
47 | files("src/tests*.h"), | ||
48 | files("src/tools/*.cpp"), | ||
49 | files("src/tools/*.h"), | ||
50 | files("src/unit/*.unit"), | ||
51 | files("src/doxy/*.dox") | ||
52 | ]; | ||
53 | rule "tarball"; | ||
54 | tag "pkg"; | ||
55 | } | ||
56 | |||
57 | rule "tarball" | ||
58 | { | ||
59 | input matches("LICENSE", "*.cpp", "*.h", "*.conf", "Doxyfile", "*.vim", | ||
60 | "*.sh"); | ||
61 | profile "build" | ||
62 | { | ||
63 | set OUTDIR = OUTPUT.replace(".tar.bz2",""); | ||
64 | execute("tar --transform=\"s@^@${OUTDIR}/@\" -c ${INPUT} |" | ||
65 | " bzip2 -9 > ${OUTPUT}"); | ||
66 | } | ||
67 | } | ||
68 | |||