Merge pull request #2720 from mono/fix-39325
[mono.git] / mcs / tools / security / Makefile
index 91bef5d09a0faf0f00a79a09de122b73f1fe56a0..d75599dcee58228921d6ceb6e2e66d4f2a90114c 100644 (file)
@@ -3,10 +3,10 @@ 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 -r:System.dll
 
-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_PROGRAMS = secutil.exe cert2spc.exe sn.exe makecert.exe chktrust.exe crlupdate.exe \
+       signcode.exe setreg.exe certmgr.exe caspol.exe permview.exe mozroots.exe cert-sync.exe
 SECURITY_PROGRAMS_2_0 = httpcfg.exe
 
 HELPER_SOURCES = AssemblyInfo.cs $(topdir)/build/common/Consts.cs
@@ -14,22 +14,22 @@ SN_SOURCES = sn.cs StrongNameManager.cs $(HELPER_SOURCES)
 
 SECURITY_SOURCES = $(HELPER_SOURCES) $(SN_SOURCES) $(SECURITY_PROGRAMS:.exe=.cs) $(SECURITY_PROGRAMS_2_0:.exe=.cs)
 
-ifeq (net_1_1, $(PROFILE))
-SECURITY_TARGETS = $(SECURITY_PROGRAMS)
-else
-SECURITY_TARGETS = $(SECURITY_PROGRAMS_2_0)
+ifeq ($(DEFAULT_PROFILE), $(PROFILE))
+SECURITY_TARGETS = $(SECURITY_PROGRAMS) $(SECURITY_PROGRAMS_2_0)
 endif
 
 PROGRAM_INSTALL_DIR = $(mono_libdir)/mono/$(FRAMEWORK_VERSION)
 
 DISTFILES = README TESTS $(SECURITY_SOURCES)
 
-ifeq (net_1_1_bootstrap, $(PROFILE))
+ifeq (build, $(PROFILE))
 all-local: $(topdir)/class/lib/$(PROFILE)/sn.exe
 else
 all-local: $(SECURITY_TARGETS)
 endif
 
+doc-update-local:
+
 install-local: all-local
 uninstall-local:
 
@@ -49,7 +49,7 @@ endif
 
 test-local:
 
-run-test-local run-test-ondotnet-local:
+run-test-local run-test-ondotnet-local csproj-local:
 
 clean-local:
        rm -f *.exe *.mdb *.pdb