DON'T USE THIS REPO: IT'S OBSOLETE.
[versaplex.git] / Makefile
blobcd40e356923ce063d98d2874933e574d7c642f44
1 WVDOTNET=wvdotnet
2 include rules.mk
3 include config.mk
5 ifndef BUILD_TARGET
6 $(error Please run the "configure" or "configure-mingw32" script)
7 endif
9 ifeq ($(BUILD_TARGET),win32)
10 WVSTREAMS_MAKEFILE=Makefile-win32
11 else
12 WVSTREAMS_MAKEFILE=Makefile
13 endif
15 wvdotnet wvdbus-sharp versaplexd wvstreams vxodbc: FORCE
17 wvdbus-sharp: wvdbus-sharp/Makefile
19 nall: wvdotnet wvdbus-sharp versaplexd
21 all: nall vxodbc
23 # Note: $(MAKE) -C wv doesn't work, as wv's Makefile needs an accurate $(PWD)
25 # We tell the autobuilder to ignore all warnings produced in the 'wv'
26 # directory, since that project isn't really this project and it should
27 # have its own autobuilder.
28 wvstreams:
29 @echo --START-IGNORE-WARNINGS
30 cd wv && $(MAKE) wvstreams
31 @echo --STOP-IGNORE-WARNINGS
33 vxodbc: wvstreams
35 versaplexd: wvdotnet wvdbus-sharp
37 ntests: nall wvdotnet/tests wvdbus-sharp/tests versaplexd/tests
39 ntest: nall wvdotnet/test wvdbus-sharp/test versaplexd/test
41 tests: nall ntests vxodbc/tests
43 test: all ntest vxodbc/test
45 nclean: versaplexd/clean wvdotnet/clean wvdbus-sharp/clean
47 clean: nclean
48 $(MAKE) -C vxodbc -fMakefile-common clean
50 portclean: clean
51 $(MAKE) -C wv/wvstreams -f$(WVSTREAMS_MAKEFILE) clean
52 $(MAKE) -C wv/wvports clean
54 distclean: clean
55 rm -f config.mk
57 dist:
58 rm -rf versaplex-dist
59 mkdir versaplex-dist
60 cp versaplexd/*.exe versaplexd/*.dll versaplex-dist/
61 cp versaplexd/README*.txt versaplex-dist/
62 todos versaplex-dist/*.txt
63 cp vxodbc/*.dll versaplex-dist/
64 git rev-parse HEAD >versaplex-dist/version
65 cp versaplexd/versaplexd.ini.tmpl versaplex-dist/versaplexd.ini