-
Notifications
You must be signed in to change notification settings - Fork 9
/
Makefile
executable file
·39 lines (30 loc) · 1.03 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
########## BoCA directory makefile ##########
BOCA_PATH = .
include $(dir $(firstword $(MAKEFILE_LIST)))/$(BOCA_PATH)/Makefile-options
all:
mkdir -p $(BOCA_PATH)/$(BINDIR) $(BOCA_PATH)/$(LIBDIR)
+ $(call makein,runtime)
+ $(call makein,components)
codesign: all
signtool sign -fd sha1 -tr http://timestamp.digicert.com -td sha1 $(BOCA_PATH)/$(BINDIR)/*.dll $(BOCA_PATH)/$(BINDIR)/*.exe
signtool sign -fd sha256 -tr http://timestamp.digicert.com -td sha256 -as $(BOCA_PATH)/$(BINDIR)/*.dll $(BOCA_PATH)/$(BINDIR)/*.exe
clean:
+ $(call cleanin,runtime)
+ $(call cleanin,components)
ifneq ("$(SRCDIR)","$(CURDIR)")
rmdir $(BOCA_PATH)/$(BINDIR) $(BOCA_PATH)/$(LIBDIR) || true
endif
install:
ifneq ($(BUILD_WIN32),True)
$(call makein,include,install)
$(call makein,runtime,install)
$(call makein,scripts,install)
$(call makein,components,install)
endif
uninstall:
ifneq ($(BUILD_WIN32),True)
$(call makein,include,uninstall)
$(call makein,runtime,uninstall)
$(call makein,scripts,uninstall)
$(call makein,components,uninstall)
endif