]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix mod_fax clean build
authorMichael Jerris <mike@jerris.com>
Mon, 24 May 2010 07:42:08 +0000 (03:42 -0400)
committerMichael Jerris <mike@jerris.com>
Mon, 24 May 2010 07:42:08 +0000 (03:42 -0400)
src/mod/applications/mod_fax/Makefile.am

index e512793b8fef53955843ba6757ad8fe99feb4572..c71c5b9da5ac65947cff594bc05540405c1afae3 100644 (file)
@@ -15,3 +15,10 @@ mod_fax_la_CFLAGS   = $(AM_CFLAGS) -I$(SPANDSP_DIR)/src -I$(TIFF_DIR)/libtiff -I
 mod_fax_la_LIBADD   = $(switch_builddir)/libfreeswitch.la $(SPANDSP_LA) $(TIFF_LA)
 mod_fax_la_LDFLAGS  = -avoid-version -module -no-undefined -shared -ljpeg
 
+$(SPANDSP_LA): $(TIFF_LA) $(SPANDSP_DIR) $(SPANDSP_DIR)/.update
+       cd $(SPANDSP_BUILDDIR) && $(MAKE) -j1
+       $(TOUCH_TARGET)
+
+$(TIFF_LA): $(TIFF_DIR) $(TIFF_DIR)/.update
+       cd $(TIFF_BUILDDIR) && $(MAKE) -j1
+       $(TOUCH_TARGET)