forked from cruppstahl/upscaledb
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.am
More file actions
95 lines (83 loc) · 4.28 KB
/
Makefile.am
File metadata and controls
95 lines (83 loc) · 4.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = 3rdparty src include samples tools unittests
DOCUMENTATION_FILES = documentation/Doxyfile* \
documentation/hamsterdb-main.jpg \
documentation/*.doc \
documentation/html
EXTRA_DIST = $(DOCUMENTATION_FILES) \
ChangeLog \
hamsterdb.spec \
AUTHORS \
README \
CREDITS \
COPYING.GPL2 \
COPYING.GPL3 \
3rdparty \
build/scripts/* \
src/*.c src/*.h src/Makefile.am \
src/Makefile.in \
src/protocol/messages.proto \
src/protocol \
src/server \
tools/*.h \
tools/hamzilla.config \
unittests/*.h \
unittests/*.hpp \
unittests/*.cpp \
unittests/Makefile.in \
unittests/Makefile.am \
unittests/data/* \
win32 \
win32/README.TXT \
win32/hamsterdb.sln \
win32/dll.vcproj \
win32/lib.vcproj \
win32/sample_db1.vcproj \
win32/sample_db2.vcproj \
win32/sample_db3.vcproj \
win32/sample_db4.vcproj \
win32/sample_env1.vcproj \
win32/sample_env2.vcproj \
win32/unittests.vcproj \
wince \
wince/README.TXT \
wince/hamsterdb.sln \
wince/lib.vcproj \
wince/dll.vcproj \
wince/3rdparty_aes.vcproj \
wince/3rdparty_zlib.vcproj \
wince/sample_db1.vcproj \
wince/sample_env1.vcproj \
wince/sample_env2.vcproj
doc:
VERSION=$(VERSION) ; \
export VERSION; \
doxygen documentation/Doxyfile
@cp documentation/*.jpg documentation/html/
internal_doc:
VERSION=$(VERSION) ; \
export VERSION; \
doxygen documentation/Doxyfile.int
@cp documentation/*.jpg documentation/internal/html/
bfc_doc:
VERSION=$(VERSION) ; \
export VERSION; \
doxygen documentation/Doxyfile.bfc
html-dist: doc
tar cvzf hamsterdb-html-documentation.$(VERSION).tar.gz documentation/html
update_version:
VERSION=$(VERSION) ; \
export VERSION; \
sed 's/hamsterdb-[0-9]*.[0-9]*.[0-9]*.dll/hamsterdb-$(VERSION).dll/' win32/dll.vcproj > win32/_dll.vcproj
mv win32/_dll.vcproj win32/dll.vcproj
sed 's/libhamsterdb-[0-9]*.[0-9]*.[0-9]*.lib/libhamsterdb-$(VERSION).lib/' win32/lib.vcproj > win32/_lib.vcproj
mv win32/_lib.vcproj win32/lib.vcproj
sed 's/hamserver-[0-9]*.[0-9]*.[0-9]*.dll/hamserver-$(VERSION).dll/' win32/server_dll.vcproj > win32/_server_dll.vcproj
mv win32/_server_dll.vcproj win32/server_dll.vcproj
sed 's/libhamserver-[0-9]*.[0-9]*.[0-9]*.lib/libhamserver-$(VERSION).lib/' win32/server_lib.vcproj > win32/_server_lib.vcproj
mv win32/_server_lib.vcproj win32/server_lib.vcproj
sed 's/Version: [0-9]*.[0-9]*.[0-9]*/Version: $(VERSION)/' hamsterdb.spec > _hamsterdb.spec
mv _hamsterdb.spec hamsterdb.spec
test:
cd unittests && make && ./test
.PHONY: doc internal_doc bfc_doc html-dist test