New test.
[mono.git] / mcs / tools / security / Makefile
index 93119a7e187ff3e151e0f0f5e6f9c758239cc619..898a17b7d909a51a9c1f1d67c342cedd3f038f0b 100644 (file)
@@ -3,14 +3,15 @@ SUBDIRS =
 DIST_ONLY_SUBDIRS = certview
 include ../../build/rules.make
 
-LOCAL_MCS_FLAGS = /lib:$(topdir)/class/lib/$(PROFILE) /r:Mono.Security.dll
+LOCAL_MCS_FLAGS = /lib:$(topdir)/class/lib/$(PROFILE) -r:Mono.Security.dll
 
-SECURITY_PROGRAMS = secutil.exe cert2spc.exe sn.exe MakeCert.exe chktrust.exe signcode.exe setreg.exe certmgr.exe caspol.exe permview.exe
-SECURITY_SOURCES = AssemblyInfo.cs $(topdir)/build/common/MonoVersion.cs StrongNameManager.cs $(SECURITY_PROGRAMS:.exe=.cs)
+SECURITY_PROGRAMS = secutil.exe cert2spc.exe sn.exe makecert.exe chktrust.exe \
+       signcode.exe setreg.exe certmgr.exe caspol.exe permview.exe mozroots.exe
+SECURITY_SOURCES = AssemblyInfo.cs $(topdir)/build/common/Consts.cs StrongNameManager.cs $(SECURITY_PROGRAMS:.exe=.cs)
 
 PROGRAM_INSTALL_DIR = $(mono_libdir)/mono/$(FRAMEWORK_VERSION)
 
-DISTFILES = README $(SECURITY_SOURCES)
+DISTFILES = README TESTS $(SECURITY_SOURCES)
 
 ifeq (net_1_1_bootstrap, $(PROFILE))
 all-local: $(topdir)/class/lib/$(PROFILE)/sn.exe
@@ -45,9 +46,9 @@ clean-local:
 
 dist-local: dist-default
 
-sn_sources = sn.cs StrongNameManager.cs AssemblyInfo.cs
+sn_sources = sn.cs StrongNameManager.cs AssemblyInfo.cs $(topdir)/build/common/Consts.cs
 sn.exe $(topdir)/class/lib/$(PROFILE)/sn.exe: $(sn_sources)
        $(CSCOMPILE) /out:$@ $(sn_sources)
 
-%.exe: %.cs AssemblyInfo.cs
+%.exe: %.cs AssemblyInfo.cs $(topdir)/build/common/Consts.cs
        $(CSCOMPILE) $^