-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
58 lines (43 loc) · 1.13 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
MAKE = make
all:
@$(MAKE) -w -C src strip
@$(MAKE) -w -C src glpi-wince-agent-setup.dll
@$(MAKE) -w -C src glpi-wince-agent-service.dll
#@$(MAKE) -w -C src glpi-wince-agent-cpl.dll
debug:
@$(MAKE) -w -C src DEBUG=-DDEBUG
test:
@$(MAKE) -w -C src strip TEST=1
@$(MAKE) -w -C src glpi-wince-agent-setup.dll TEST=1
@$(MAKE) -w -C src glpi-wince-agent-service.dll TEST=1
#@$(MAKE) -w -C src glpi-wince-agent-cpl.dll TEST=1
tools:
@$(MAKE) -w -C src debug-registry.exe
clean:
@$(MAKE) -w -C src clean
mrproper: clean
@rm -vf tools/{lcab,cabwiz,*.py,*.pyc} cabwiz.zip lcab*.tar.gz
@rm -rvf build
cpl:
@$(MAKE) -w -C src glpi-wince-agent-cpl.dll
setup:
@$(MAKE) -w -C src glpi-wince-agent-setup.dll
service:
@$(MAKE) -w -C src glpi-wince-agent-service.dll
cab:
@$(MAKE) clean all
ifdef USE_UPX
@tools/makecab-release.sh --upx
else
@tools/makecab-release.sh
endif
cabtest:
@$(MAKE) clean test
ifdef USE_UPX
@tools/makecab-release.sh --upx --test
else
@tools/makecab-release.sh --test
endif
release: cab cabtest
glpi-wince-agent.tar.gz: README.md Makefile src/*.{c,h,rc}
.PHONY: all debug clean release test cab cabtest cpl tools