[Fedora-directory-commits] dsbuild/meta/ds Makefile,1.7,1.8

Richard Allen Megginson (rmeggins) fedora-directory-commits at redhat.com
Thu Oct 12 20:08:22 UTC 2006


Author: rmeggins

Update of /cvs/dirsec/dsbuild/meta/ds
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8884/meta/ds

Modified Files:
	Makefile 
Log Message:
more fixes to prepare for FDS 103


Index: Makefile
===================================================================
RCS file: /cvs/dirsec/dsbuild/meta/ds/Makefile,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- Makefile	11 Oct 2006 14:36:27 -0000	1.7
+++ Makefile	12 Oct 2006 20:08:15 -0000	1.8
@@ -24,7 +24,13 @@
 LIBDEPS += ds/directoryconsole
 endif
 
-LIBDEPS += ds/cyrus-sasl ds/db ds/net-snmp
+ifdef SASL_SOURCE
+LIBDEPS += ds/cyrus-sasl
+endif
+LIBDEPS += ds/db
+ifdef SNMP_SOURCE
+LIBDEPS += ds/net-snmp
+endif
 
 ifndef NOJAVA
 LIBDEPS += ds/ldapjdk ds/crimson ds/dsmlgwjars
@@ -44,3 +50,18 @@
 	@for i in $(LIBDEPS) $(BUILDDEPS); do \
 		$(MAKE) -s -C $(GARDIR)/$$i makesum;\
 	done
+
+help:
+	@echo Usage: make [BUILD_RPM=1] [NOJAVA=1] [DEBUG=1] [USE_64=1] [SASL_SOURCE=1]
+	@echo "    BUILD_RPM=1   - create an installable RPM (tarball otherwise)"
+	@echo "    NOJAVA=1      - skip all Java related code (console, etc.)"
+	@echo "    DEBUG=1       - build debugable code (default is optimized)"
+	@echo "    USE_64=1      - build 64bit code on 64bit platform - this can usually be omitted - the default will build 64bit server on x86_64"
+	@echo "    SASL_SOURCE=1 - build cyrus-sasl from source - default is to use bundled sasl"
+	@echo "    SNMP_SOURCE=1 - build net-snmp from source - default is to use bundled net-snmp"
+	@echo
+	@echo For RHEL3, you need SASL_SOURCE=1 and SNMP_SOURCE=1, so do a build like this:
+	@echo "    make BUILD_RPM=1 SASL_SOURCE=1 SNMP_SOURCE=1"
+	@echo For other newer operating systems, you can usually just use the bundled sasl and net-snmp, so build like this:
+	@echo "    make BUILD_RPM=1"
+	@echo "The other options are useful for developers"




More information about the Fedora-directory-commits mailing list