-
Notifications
You must be signed in to change notification settings - Fork 9
/
Makefile
43 lines (37 loc) · 1.23 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
XR_COV_LIB=XR.Mono.Cover/bin/Release/XR.Mono.Cover.dll
XR_COV_CON=covtool/bin/Release/covtool.exe
INSTDIR=/usr/local/lib/baboon
BINDIR=/usr/local/bin
all:
msbuild /property:Configuration=Release
makebundle: all
bash make_bundle.sh
clean:
rm -rf cov-gtk/obj
rm -rf cov-gtk/bin
rm -rf cov-html/obj
rm -rf cov-html/bin
rm -rf cov-srchtml/obj
rm -rf cov-srchtml/bin
rm -rf covtool/obj
rm -rf covtool/bin
rm -rf cov-json/obj
rm -rf cov-csv/obj
rm -rf XR.Mono.Cover/obj
rm -rf XR.Mono.Cover/bin
install_generic:
install -d $(DESTDIR)$(INSTDIR) $(DESTDIR)$(BINDIR)
install covtool/bin/XR.Mono.Cover.dll $(DESTDIR)$(INSTDIR)
install covtool/bin/cov-gtk.exe $(DESTDIR)$(INSTDIR) || true
install covtool/bin/cov-html.exe $(DESTDIR)$(INSTDIR)
install covtool/bin/cov-json.exe $(DESTDIR)$(INSTDIR)
install covtool/bin/cov-csv.exe $(DESTDIR)$(INSTDIR)
install covtool/bin/cov-srchtml.exe $(DESTDIR)$(INSTDIR)
install scripts/cov-gtk $(DESTDIR)$(BINDIR)
install scripts/cov-html $(DESTDIR)$(BINDIR)
install scripts/cov-srchtml $(DESTDIR)$(BINDIR)
installbundle: install_generic
install -m 755 covem $(DESTDIR)$(BINDIR)
install: install_generic
install covtool/bin/covem.exe $(DESTDIR)$(INSTDIR)
install scripts/covem $(DESTDIR)$(BINDIR)