Author: wade
Date: 2007-02-28 19:03:48 -0500 (Wed, 28 Feb 2007)
New Revision: 73576

Modified:
   trunk/mcs/tools/security/ChangeLog
   trunk/mcs/tools/security/Makefile
Log:
* Makefile: Consolidate more lists and make some
2.0 friendly vars (ultimately to include httpcfg.cs in
make dist)



Modified: trunk/mcs/tools/security/ChangeLog
===================================================================
--- trunk/mcs/tools/security/ChangeLog  2007-02-28 23:01:19 UTC (rev 73575)
+++ trunk/mcs/tools/security/ChangeLog  2007-03-01 00:03:48 UTC (rev 73576)
@@ -1,5 +1,11 @@
 2007-02-28  Wade Berrier  <[EMAIL PROTECTED]>
 
+       * Makefile: Consolidate more lists and make some
+       2.0 friendly vars (ultimately to include httpcfg.cs in
+       make dist)
+
+2007-02-28  Wade Berrier  <[EMAIL PROTECTED]>
+
        * Makefile: install httpcfg.exe in the 2.0 profile
        and keep old list of programs for 1.0 profile
 

Modified: trunk/mcs/tools/security/Makefile
===================================================================
--- trunk/mcs/tools/security/Makefile   2007-02-28 23:01:19 UTC (rev 73575)
+++ trunk/mcs/tools/security/Makefile   2007-03-01 00:03:48 UTC (rev 73576)
@@ -5,15 +5,21 @@
 
 LOCAL_MCS_FLAGS = /lib:$(topdir)/class/lib/$(PROFILE) -r:Mono.Security.dll
 
-ifeq (default, $(PROFILE))
 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_2_0 = httpcfg.exe
+
+HELPER_SOURCES = AssemblyInfo.cs $(topdir)/build/common/Consts.cs
+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 (default, $(PROFILE))
+SECURITY_TARGETS = $(SECURITY_PROGRAMS)
 else
-SECURITY_PROGRAMS = httpcfg.exe
+SECURITY_TARGETS = $(SECURITY_PROGRAMS_2_0)
 endif
 
-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 TESTS $(SECURITY_SOURCES)
@@ -21,22 +27,22 @@
 ifeq (net_1_1_bootstrap, $(PROFILE))
 all-local: $(topdir)/class/lib/$(PROFILE)/sn.exe
 else
-all-local: $(SECURITY_PROGRAMS)
+all-local: $(SECURITY_TARGETS)
 endif
 
 install-local: all-local
 uninstall-local:
 
 ifndef NO_INSTALL
-install-local: $(SECURITY_PROGRAMS)
+install-local: $(SECURITY_TARGETS)
        $(MKINSTALLDIRS) $(DESTDIR)$(PROGRAM_INSTALL_DIR)
-       for p in $(SECURITY_PROGRAMS) ; do \
+       for p in $(SECURITY_TARGETS) ; do \
            $(INSTALL_BIN) $$p $(DESTDIR)$(PROGRAM_INSTALL_DIR) ; \
            test ! -f $$p.mdb || $(INSTALL_BIN) $$p.mdb 
$(DESTDIR)$(PROGRAM_INSTALL_DIR) ; \
        done
 
 uninstall-local:
-       for p in $(SECURITY_PROGRAMS) ; do \
+       for p in $(SECURITY_TARGETS) ; do \
            rm -f $(DESTDIR)$(PROGRAM_INSTALL_DIR)/$$p* ; \
        done
 endif
@@ -51,9 +57,8 @@
 
 dist-local: dist-default
 
-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)
+sn.exe $(topdir)/class/lib/$(PROFILE)/sn.exe: $(SN_SOURCES)
+       $(CSCOMPILE) /out:$@ $(SN_SOURCES)
 
-%.exe: %.cs AssemblyInfo.cs $(topdir)/build/common/Consts.cs
+%.exe: %.cs $(HELPER_SOURCES)
        $(CSCOMPILE) $^

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to