diff options
author | Mike Buland <eichlan@xagasoft.com> | 2012-04-15 16:37:21 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2012-04-15 16:37:21 +0000 |
commit | df07e63244b763594fee882b2b3dfcc31fd44209 (patch) | |
tree | bb8979580bc9dc8e56ed3cc9d5c332987654117f /Makefile | |
parent | da1de5cdb5c42ce811a66d377789e585042b98c7 (diff) | |
download | libbu++-df07e63244b763594fee882b2b3dfcc31fd44209.tar.gz libbu++-df07e63244b763594fee882b2b3dfcc31fd44209.tar.bz2 libbu++-df07e63244b763594fee882b2b3dfcc31fd44209.tar.xz libbu++-df07e63244b763594fee882b2b3dfcc31fd44209.zip |
Updated copyright, packaging, makefile, etc.
Diffstat (limited to '')
-rw-r--r-- | Makefile | 10 | ||||
-rw-r--r-- | Makefile.legacy | 2 |
2 files changed, 9 insertions, 3 deletions
@@ -1,12 +1,12 @@ | |||
1 | # | 1 | # |
2 | # Copyright (C) 2007-2011 Xagasoft, All rights reserved. | 2 | # Copyright (C) 2007-2012 Xagasoft, All rights reserved. |
3 | # | 3 | # |
4 | # This file is part of the libbu++ library and is released under the | 4 | # This file is part of the libbu++ library and is released under the |
5 | # terms of the license contained in the file LICENSE. | 5 | # terms of the license contained in the file LICENSE. |
6 | # | 6 | # |
7 | 7 | ||
8 | OBJECTS := $(patsubst %.cpp,%.o,$(wildcard src/stable/*.cpp src/unstable/*.cpp src/experimental/*.cpp)) | 8 | OBJECTS := $(patsubst %.cpp,%.o,$(wildcard src/stable/*.cpp src/unstable/*.cpp src/experimental/*.cpp)) |
9 | HEADERS := bu/signals.h bu/autoconfig.h bu/version.h bu/config.h $(foreach fn,$(wildcard src/stable/*.h src/unstable/*.h src/experimental/*.h),bu/$(notdir ${fn})) $(patsubst src/%,bu/%,$(wildcard src/compat/*.h)) | 9 | HEADERS := bu bu/signals.h bu/autoconfig.h bu/version.h bu/config.h $(foreach fn,$(wildcard src/stable/*.h src/unstable/*.h src/experimental/*.h),bu/$(notdir ${fn})) $(patsubst src/%,bu/%,$(wildcard src/compat/*.h)) |
10 | TOOLS := $(patsubst src/tools/%.cpp,%,$(wildcard src/tools/*.cpp)) | 10 | TOOLS := $(patsubst src/tools/%.cpp,%,$(wildcard src/tools/*.cpp)) |
11 | UNITS := $(patsubst src/unit/%.unit,unit/%,$(wildcard src/unit/*.unit)) | 11 | UNITS := $(patsubst src/unit/%.unit,unit/%,$(wildcard src/unit/*.unit)) |
12 | TESTS := $(patsubst src/tests/%.cpp,tests/%,$(wildcard src/tests/*.cpp)) | 12 | TESTS := $(patsubst src/tests/%.cpp,tests/%,$(wildcard src/tests/*.cpp)) |
@@ -22,6 +22,9 @@ tests: ${UNITS} ${TESTS} | |||
22 | clean: | 22 | clean: |
23 | -rm ${HEADERS} ${OBJECTS} libbu++.a ${TOOLS} ${UNITS} ${TESTS} | 23 | -rm ${HEADERS} ${OBJECTS} libbu++.a ${TOOLS} ${UNITS} ${TESTS} |
24 | 24 | ||
25 | bu: | ||
26 | mkdir -p bu/compat | ||
27 | |||
25 | bu/signals.h bu/config.h bu/autoconfig.h bu/version.h: bu/%: src/% | 28 | bu/signals.h bu/config.h bu/autoconfig.h bu/version.h: bu/%: src/% |
26 | ln -s ../$< $@ | 29 | ln -s ../$< $@ |
27 | 30 | ||
@@ -61,6 +64,9 @@ viewcsv: | |||
61 | bin2cpp: | 64 | bin2cpp: |
62 | g++ -ggdb -W -Wall -I. -L. $< -o $@ -lbu++ -lbz2 -lz -llzma | 65 | g++ -ggdb -W -Wall -I. -L. $< -o $@ -lbu++ -lbz2 -lz -llzma |
63 | 66 | ||
67 | myriad: | ||
68 | g++ -ggdb -W -Wall -I. -L. $< -o $@ -lbu++ -lpthread | ||
69 | |||
64 | ${OBJECTS}: %.o: %.cpp | 70 | ${OBJECTS}: %.o: %.cpp |
65 | g++ -ggdb -W -Wall -I. $< -c -o $@ | 71 | g++ -ggdb -W -Wall -I. $< -c -o $@ |
66 | 72 | ||
diff --git a/Makefile.legacy b/Makefile.legacy index 15f8dfa..af297e1 100644 --- a/Makefile.legacy +++ b/Makefile.legacy | |||
@@ -1,5 +1,5 @@ | |||
1 | # | 1 | # |
2 | # Copyright (C) 2007-2011 Xagasoft, All rights reserved. | 2 | # Copyright (C) 2007-2012 Xagasoft, All rights reserved. |
3 | # | 3 | # |
4 | # This file is part of the libbu++ library and is released under the | 4 | # This file is part of the libbu++ library and is released under the |
5 | # terms of the license contained in the file LICENSE. | 5 | # terms of the license contained in the file LICENSE. |