r3870 - in branches/beast-mingw: . plugins



Author: stw
Date: 2006-08-26 18:55:21 -0400 (Sat, 26 Aug 2006)
New Revision: 3870

Modified:
   branches/beast-mingw/ChangeLog.win32
   branches/beast-mingw/plugins/Makefile.am
   branches/beast-mingw/plugins/Makefile.plugins
Log:
Sun Aug 27 00:53:31 2006  Stefan Westerfeld  <stefan space twc de>

	* plugins/Makefile.plugins: Generate this file again with the new
	rules.

	* plugins/Makefile.am: Changed rules for generating Makefile.plugins to
	add explicite rules on how to generate *.genidl.hh. The automatic rules
	don't work on windows.
	Add -no-undefined to plugin_ldflags, to make building windows dlls work.


Modified: branches/beast-mingw/ChangeLog.win32
===================================================================
--- branches/beast-mingw/ChangeLog.win32	2006-08-26 21:50:32 UTC (rev 3869)
+++ branches/beast-mingw/ChangeLog.win32	2006-08-26 22:55:21 UTC (rev 3870)
@@ -1,3 +1,13 @@
+Sun Aug 27 00:53:31 2006  Stefan Westerfeld  <stefan space twc de>
+
+	* plugins/Makefile.plugins: Generate this file again with the new
+	rules.
+
+	* plugins/Makefile.am: Changed rules for generating Makefile.plugins to
+	add explicite rules on how to generate *.genidl.hh. The automatic rules
+	don't work on windows.
+	Add -no-undefined to plugin_ldflags, to make building windows dlls work.
+
 Sat Aug 26 23:48:45 2006  Stefan Westerfeld  <stefan space twc de>
 
 	* birnet/birnetcore.h: Provide fake definition for ETXTBSY errno.

Modified: branches/beast-mingw/plugins/Makefile.am
===================================================================
--- branches/beast-mingw/plugins/Makefile.am	2006-08-26 21:50:32 UTC (rev 3869)
+++ branches/beast-mingw/plugins/Makefile.am	2006-08-26 22:55:21 UTC (rev 3870)
@@ -55,7 +55,7 @@
 )
 
 # === plugin build rule setup ===
-plugins_ldflags 	  = -avoid-version
+plugins_ldflags 	  = -avoid-version -no-undefined
 plugins_libs    	  = $(top_builddir)/bse/libbse.la $(BSE_LIBS) -lm
 plugins_built_sources 	  = 	# listed in Makefile.plugins
 CLEANFILES 		 += $(plugins_built_sources)
@@ -103,6 +103,9 @@
 	  _name=`echo $$name | sed 's/[^A-Za-z0-9]/_/g' `					;\
 	  echo -e "\n## C++ Plugin $$name"					>>xgen-$(@F) 	;\
 	  echo '$$(srcdir)/'"$$name.cc: $$name.genidl.hh"			>>xgen-$(@F)	;\
+	  echo "$$name.genidl.hh:"' $$(srcdir)'"/$$name.idl"			>>xgen-$(@F)	;\
+	  echo '	$$(SFIDL) --plugin  --macro $$(<F) $$(SFIDL_INC) -I$$(top_builddir) $$< > $$@ || (rm $$@ ; exit 1 )' >> xgen-$(@F)	;\
+	  echo '' 								>>xgen-$(@F)	;\
 	  echo "plugins_built_sources   += $$name.genidl.hh"			>>xgen-$(@F)	;\
 	  echo "plugin_FPU_ltlibs    += $$name.FPU.la"				>>xgen-$(@F)	;\
 	  echo "$$_name"'_FPU_la_SOURCES = '"$$name.cc"				>>xgen-$(@F)	;\

Modified: branches/beast-mingw/plugins/Makefile.plugins
===================================================================
--- branches/beast-mingw/plugins/Makefile.plugins	2006-08-26 21:50:32 UTC (rev 3869)
+++ branches/beast-mingw/plugins/Makefile.plugins	2006-08-26 22:55:21 UTC (rev 3870)
@@ -2,6 +2,9 @@
 
 ## C++ Plugin artscompressor
 $(srcdir)/artscompressor.cc: artscompressor.genidl.hh
+artscompressor.genidl.hh: $(srcdir)/artscompressor.idl
+	$(SFIDL) --plugin  --macro $(<F) $(SFIDL_INC) -I$(top_builddir) $< > $@ || (rm $@ ; exit 1 )
+
 plugins_built_sources   += artscompressor.genidl.hh
 plugin_FPU_ltlibs    += artscompressor.FPU.la
 artscompressor_FPU_la_SOURCES = artscompressor.cc
@@ -16,6 +19,9 @@
 
 ## C++ Plugin bseamplifier
 $(srcdir)/bseamplifier.cc: bseamplifier.genidl.hh
+bseamplifier.genidl.hh: $(srcdir)/bseamplifier.idl
+	$(SFIDL) --plugin  --macro $(<F) $(SFIDL_INC) -I$(top_builddir) $< > $@ || (rm $@ ; exit 1 )
+
 plugins_built_sources   += bseamplifier.genidl.hh
 plugin_FPU_ltlibs    += bseamplifier.FPU.la
 bseamplifier_FPU_la_SOURCES = bseamplifier.cc
@@ -30,6 +36,9 @@
 
 ## C++ Plugin bsebalance
 $(srcdir)/bsebalance.cc: bsebalance.genidl.hh
+bsebalance.genidl.hh: $(srcdir)/bsebalance.idl
+	$(SFIDL) --plugin  --macro $(<F) $(SFIDL_INC) -I$(top_builddir) $< > $@ || (rm $@ ; exit 1 )
+
 plugins_built_sources   += bsebalance.genidl.hh
 plugin_FPU_ltlibs    += bsebalance.FPU.la
 bsebalance_FPU_la_SOURCES = bsebalance.cc
@@ -44,6 +53,9 @@
 
 ## C++ Plugin bsecontribsampleandhold
 $(srcdir)/bsecontribsampleandhold.cc: bsecontribsampleandhold.genidl.hh
+bsecontribsampleandhold.genidl.hh: $(srcdir)/bsecontribsampleandhold.idl
+	$(SFIDL) --plugin  --macro $(<F) $(SFIDL_INC) -I$(top_builddir) $< > $@ || (rm $@ ; exit 1 )
+
 plugins_built_sources   += bsecontribsampleandhold.genidl.hh
 plugin_FPU_ltlibs    += bsecontribsampleandhold.FPU.la
 bsecontribsampleandhold_FPU_la_SOURCES = bsecontribsampleandhold.cc
@@ -58,6 +70,9 @@
 
 ## C++ Plugin bsenoise
 $(srcdir)/bsenoise.cc: bsenoise.genidl.hh
+bsenoise.genidl.hh: $(srcdir)/bsenoise.idl
+	$(SFIDL) --plugin  --macro $(<F) $(SFIDL_INC) -I$(top_builddir) $< > $@ || (rm $@ ; exit 1 )
+
 plugins_built_sources   += bsenoise.genidl.hh
 plugin_FPU_ltlibs    += bsenoise.FPU.la
 bsenoise_FPU_la_SOURCES = bsenoise.cc
@@ -72,6 +87,9 @@
 
 ## C++ Plugin bsesummation
 $(srcdir)/bsesummation.cc: bsesummation.genidl.hh
+bsesummation.genidl.hh: $(srcdir)/bsesummation.idl
+	$(SFIDL) --plugin  --macro $(<F) $(SFIDL_INC) -I$(top_builddir) $< > $@ || (rm $@ ; exit 1 )
+
 plugins_built_sources   += bsesummation.genidl.hh
 plugin_FPU_ltlibs    += bsesummation.FPU.la
 bsesummation_FPU_la_SOURCES = bsesummation.cc
@@ -86,6 +104,9 @@
 
 ## C++ Plugin davbassfilter
 $(srcdir)/davbassfilter.cc: davbassfilter.genidl.hh
+davbassfilter.genidl.hh: $(srcdir)/davbassfilter.idl
+	$(SFIDL) --plugin  --macro $(<F) $(SFIDL_INC) -I$(top_builddir) $< > $@ || (rm $@ ; exit 1 )
+
 plugins_built_sources   += davbassfilter.genidl.hh
 plugin_FPU_ltlibs    += davbassfilter.FPU.la
 davbassfilter_FPU_la_SOURCES = davbassfilter.cc
@@ -100,6 +121,9 @@
 
 ## C++ Plugin davchorus
 $(srcdir)/davchorus.cc: davchorus.genidl.hh
+davchorus.genidl.hh: $(srcdir)/davchorus.idl
+	$(SFIDL) --plugin  --macro $(<F) $(SFIDL_INC) -I$(top_builddir) $< > $@ || (rm $@ ; exit 1 )
+
 plugins_built_sources   += davchorus.genidl.hh
 plugin_FPU_ltlibs    += davchorus.FPU.la
 davchorus_FPU_la_SOURCES = davchorus.cc
@@ -114,6 +138,9 @@
 
 ## C++ Plugin standardsaturator
 $(srcdir)/standardsaturator.cc: standardsaturator.genidl.hh
+standardsaturator.genidl.hh: $(srcdir)/standardsaturator.idl
+	$(SFIDL) --plugin  --macro $(<F) $(SFIDL_INC) -I$(top_builddir) $< > $@ || (rm $@ ; exit 1 )
+
 plugins_built_sources   += standardsaturator.genidl.hh
 plugin_FPU_ltlibs    += standardsaturator.FPU.la
 standardsaturator_FPU_la_SOURCES = standardsaturator.cc
@@ -128,6 +155,9 @@
 
 ## C++ Plugin standardguspatchenvelope
 $(srcdir)/standardguspatchenvelope.cc: standardguspatchenvelope.genidl.hh
+standardguspatchenvelope.genidl.hh: $(srcdir)/standardguspatchenvelope.idl
+	$(SFIDL) --plugin  --macro $(<F) $(SFIDL_INC) -I$(top_builddir) $< > $@ || (rm $@ ; exit 1 )
+
 plugins_built_sources   += standardguspatchenvelope.genidl.hh
 plugin_FPU_ltlibs    += standardguspatchenvelope.FPU.la
 standardguspatchenvelope_FPU_la_SOURCES = standardguspatchenvelope.cc




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]