forked from apenwarr/versaplex
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
65 lines (46 loc) · 1.54 KB
/
Makefile
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
WVDOTNET=wvdotnet
include rules.mk
include config.mk
ifndef BUILD_TARGET
$(error Please run the "configure" or "configure-mingw32" script)
endif
ifeq ($(BUILD_TARGET),win32)
WVSTREAMS_MAKEFILE=Makefile-win32
else
WVSTREAMS_MAKEFILE=Makefile
endif
wvdotnet wvdbus-sharp versaplexd wvstreams vxodbc: FORCE
wvdbus-sharp: wvdbus-sharp/Makefile
nall: wvdotnet wvdbus-sharp versaplexd
all: nall vxodbc
# Note: $(MAKE) -C wv doesn't work, as wv's Makefile needs an accurate $(PWD)
# We tell the autobuilder to ignore all warnings produced in the 'wv'
# directory, since that project isn't really this project and it should
# have its own autobuilder.
wvstreams:
@echo --START-IGNORE-WARNINGS
cd wv && $(MAKE) wvstreams
@echo --STOP-IGNORE-WARNINGS
vxodbc: wvstreams
versaplexd: wvdotnet wvdbus-sharp
ntests: nall wvdotnet/tests wvdbus-sharp/tests versaplexd/tests
ntest: nall wvdotnet/test wvdbus-sharp/test versaplexd/test
tests: nall ntests vxodbc/tests
test: all ntest vxodbc/test
nclean: versaplexd/clean wvdotnet/clean wvdbus-sharp/clean
clean: nclean
$(MAKE) -C vxodbc -fMakefile-common clean
portclean: clean
$(MAKE) -C wv/wvstreams -f$(WVSTREAMS_MAKEFILE) clean
$(MAKE) -C wv/wvports clean
distclean: clean
rm -f config.mk
dist:
rm -rf versaplex-dist
mkdir versaplex-dist
cp versaplexd/*.exe versaplexd/*.dll versaplex-dist/
cp versaplexd/README*.txt versaplex-dist/
todos versaplex-dist/*.txt
cp vxodbc/*.dll versaplex-dist/
git rev-parse HEAD >versaplex-dist/version
cp versaplexd/versaplexd.ini.tmpl versaplex-dist/versaplexd.ini