[asterisk-commits] kpfleming: branch group/new_loader_completion r38233 - in /team/group/new_loa...

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Jul 26 06:28:11 MST 2006


Author: kpfleming
Date: Wed Jul 26 08:28:10 2006
New Revision: 38233

URL: http://svn.digium.com/view/asterisk?rev=38233&view=rev
Log:
only build with -fPIC when necessary

Modified:
    team/group/new_loader_completion/Makefile
    team/group/new_loader_completion/Makefile.moddir_rules
    team/group/new_loader_completion/build_tools/embed_modules.xml

Modified: team/group/new_loader_completion/Makefile
URL: http://svn.digium.com/view/asterisk/team/group/new_loader_completion/Makefile?rev=38233&r1=38232&r2=38233&view=diff
==============================================================================
--- team/group/new_loader_completion/Makefile (original)
+++ team/group/new_loader_completion/Makefile Wed Jul 26 08:28:10 2006
@@ -176,8 +176,6 @@
   TOPDIR_CFLAGS+=-include include/asterisk/astmm.h
   MOD_SUBDIR_CFLAGS+=-include ../include/asterisk/astmm.h
 endif
-
-MOD_SUBDIR_CFLAGS+=-fPIC
 
 ifeq ($(OSARCH),Linux)
   ifeq ($(PROC),x86_64)

Modified: team/group/new_loader_completion/Makefile.moddir_rules
URL: http://svn.digium.com/view/asterisk/team/group/new_loader_completion/Makefile.moddir_rules?rev=38233&r1=38232&r2=38233&view=diff
==============================================================================
--- team/group/new_loader_completion/Makefile.moddir_rules (original)
+++ team/group/new_loader_completion/Makefile.moddir_rules Wed Jul 26 08:28:10 2006
@@ -25,6 +25,7 @@
 $(1).so: $(2)
 $(1).so: LIBS+=$(foreach dep,$(MENUSELECT_DEPENDS_$(1)),$$(value $(dep)_LIB))
 $(1).so: LDFLAGS+=$(foreach dep,$(MENUSELECT_DEPENDS_$(1)),$$(value $(dep)_LDFLAGS))
+$(2): CFLAGS+=-fPIC
 endef
 
 define module_a_template

Modified: team/group/new_loader_completion/build_tools/embed_modules.xml
URL: http://svn.digium.com/view/asterisk/team/group/new_loader_completion/build_tools/embed_modules.xml?rev=38233&r1=38232&r2=38233&view=diff
==============================================================================
--- team/group/new_loader_completion/build_tools/embed_modules.xml (original)
+++ team/group/new_loader_completion/build_tools/embed_modules.xml Wed Jul 26 08:28:10 2006
@@ -1,18 +1,18 @@
 	<category name="MENUSELECT_EMBED" displayname="Module Embedding" positive_output="yes" remove_on_change="makeopts.embed_rules">
-		<member name="apps" displayname="Applications">
+		<member name="apps" displayname="Applications" remove_on_change="apps/*.o">
 		</member>
-		<member name="cdr" displayname="Call Detail Recording">
+		<member name="cdr" displayname="Call Detail Recording" remove_on_change="cdr/*.o">
 		</member>
-		<member name="channels" displayname="Channels">
+		<member name="channels" displayname="Channels" remove_on_change="channels/*.o">
 		</member>
-		<member name="codecs" displayname="Coders/Decoders">
+		<member name="codecs" displayname="Coders/Decoders" remove_on_change="codecs/*.o">
 		</member>
-		<member name="formats" displayname="File Formats">
+		<member name="formats" displayname="File Formats" remove_on_change="formats/*.o">
 		</member>
-		<member name="funcs" displayname="Dialplan Functions">
+		<member name="funcs" displayname="Dialplan Functions" remove_on_change="funcs/*.o">
 		</member>
-		<member name="pbx" displayname="PBX Functionality">
+		<member name="pbx" displayname="PBX Functionality" remove_on_change="pbx/*.o">
 		</member>
-		<member name="res" displayname="Resource Modules">
+		<member name="res" displayname="Resource Modules" remove_on_change="ress/*.o">
 		</member>
 	</category>



More information about the asterisk-commits mailing list