forked from pwsafe/pwsafe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.macos
44 lines (35 loc) · 1.08 KB
/
Makefile.macos
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
# Toplevel Makefile for Mac OS X build of PasswordSafe
include version.wx
export VER_MAJOR
export VER_MINOR
export VER_REV
export VER_SPECIAL
export RELEASENUM := $(VER_MAJOR).$(VER_MINOR)
export RELEASE_SPECIAL := $(VER_SPECIAL)
export RELEASENAME := $(RELEASENUM)$(RELEASE_SPECIAL)
all clean unicodedebug unicoderelease:
$(MAKE) -C src/os/mac $@
$(MAKE) -C src/core $@
$(MAKE) -C src/ui/wxWidgets $@
debug:
$(MAKE) unicodedebug
release:
$(MAKE) unicoderelease
reallyclean:
$(MAKE) clean CONFIG=unicodebug
$(MAKE) clean CONFIG=unicorelease
dist:
$(MAKE) -C install/macosx
.PHONY: all clean reallyclean debug release unicodedebug unicoderelease dist
# Local variables:
# mode: makefile
# End:
ifndef VER_SPECIAL
VER_SPECIAL = OSX
endif
src/ui/wxWidgets/version.h: version.wx Misc/mkversion.pl src/ui/wxWidgets/version.in
ifdef VER_REV
@Misc/mkversion.pl MAJOR=$(VER_MAJOR) MINOR=$(VER_MINOR) REV=$(VER_REV) SPECIAL=$(VER_SPECIAL) src/ui/wxWidgets/version.in $@
else
@Misc/mkversion.pl MAJOR=$(VER_MAJOR) MINOR=$(VER_MINOR) SPECIAL=$(VER_SPECIAL) src/ui/wxWidgets/version.in $@
endif