[zaptel-commits] tzafrir: branch 1.2 r4157 - in /branches/1.2/xpp/utils: Makefile print_modes.c

SVN commits to the Zaptel project zaptel-commits at lists.digium.com
Wed Apr 9 00:14:58 CDT 2008


Author: tzafrir
Date: Wed Apr  9 00:14:58 2008
New Revision: 4157

URL: http://svn.digium.com/view/zaptel?view=rev&rev=4157
Log:
Backport some fxo_modes changes from 1.4 to make xpp/utils build again.

Modified:
    branches/1.2/xpp/utils/Makefile
    branches/1.2/xpp/utils/print_modes.c

Modified: branches/1.2/xpp/utils/Makefile
URL: http://svn.digium.com/view/zaptel/branches/1.2/xpp/utils/Makefile?view=diff&rev=4157&r1=4156&r2=4157
==============================================================================
--- branches/1.2/xpp/utils/Makefile (original)
+++ branches/1.2/xpp/utils/Makefile Wed Apr  9 00:14:58 2008
@@ -126,8 +126,8 @@
 test_parse: test_parse.o libhexfile.a
 	$(CC) -L. -o $@ $@.o $(EXTRA_LIBS) -lhexfile -lusb
 
-print_modes: print_modes.c wctdm_fxomodes.h
-	$(HOSTCC) -o $@ $(CFLAGS) $<
+print_modes: print_modes.c $(ZAP_KERNEL)/fxo_modes.h
+	$(HOSTCC) -I$(ZAP_KERNEL) -o $@ $(CFLAGS) $<
 
 wctdm_fxomodes.h: $(WCTDM)
 	perl -n -e 'print if (/^static struct fxo_mode {$$/ .. /};$$/)' $(WCTDM) >$@

Modified: branches/1.2/xpp/utils/print_modes.c
URL: http://svn.digium.com/view/zaptel/branches/1.2/xpp/utils/print_modes.c?view=diff&rev=4157&r1=4156&r2=4157
==============================================================================
--- branches/1.2/xpp/utils/print_modes.c (original)
+++ branches/1.2/xpp/utils/print_modes.c Wed Apr  9 00:14:58 2008
@@ -1,6 +1,6 @@
 #include <stdio.h>
 
-#include "wctdm_fxomodes.h"
+#include "fxo_modes.h"
 
 int main() {
 	size_t i;




More information about the zaptel-commits mailing list