New build system from Peter Williams (peter@newton.cx)
[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
9
10 DISTFILES = \
11         AssemblyInfo.cs \
12         cert2spc.cs     \
13         MakeCert.cs     \
14         README          \
15         secutil.cs      \
16         sn.cs
17
18 all-local: $(SECURITY_PROGRAMS)
19
20 install-local:
21         $(MKINSTALLDIRS) $(DESTDIR)$(prefix)/bin
22         for p in $(SECURITY_PROGRAMS) ; do \
23             $(INSTALL_BIN) $$p $(DESTDIR)$(prefix)/bin ; \
24         done
25
26 test-local:
27
28 run-test-local:
29
30 clean-local:
31         rm -f *.exe
32
33 dist-local: dist-default
34
35 %.exe: %.cs AssemblyInfo.cs
36         $(CSCOMPILE) $^