8fbca0c2e27cab844ded8183431bc2bba11c10e6
[mono.git] / mcs / tools / security / Makefile
1 thisdir = tools/security
2 SUBDIRS = 
3 DIST_ONLY_SUBDIRS = certview
4 include ../../build/rules.make
5
6 LOCAL_MCS_FLAGS = /r:$(topdir)/class/lib/Mono.Security.dll
7
8 SECURITY_PROGRAMS = secutil.exe cert2spc.exe sn.exe MakeCert.exe chktrust.exe signcode.exe
9
10 DISTFILES = \
11         AssemblyInfo.cs \
12         cert2spc.cs     \
13         MakeCert.cs     \
14         README          \
15         secutil.cs      \
16         sn.cs           \
17         chktrust.cs     \
18         signcode.cs
19
20 all-local: $(SECURITY_PROGRAMS)
21
22 install-local: $(SECURITY_PROGRAMS)
23         $(MKINSTALLDIRS) $(DESTDIR)$(prefix)/bin
24         for p in $(SECURITY_PROGRAMS) ; do \
25             $(INSTALL_BIN) $$p $(DESTDIR)$(prefix)/bin ; \
26         done
27
28 test-local:
29
30 run-test-local:
31
32 clean-local:
33         rm -f *.exe *.pdb
34
35 dist-local: dist-default
36
37 %.exe: %.cs AssemblyInfo.cs
38         $(CSCOMPILE) $^