[asterisk-commits] pabelanger: branch pabelanger/non-root r629 - /asterisk/team/pabelanger/non-r...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jul 28 22:29:37 CDT 2010


Author: pabelanger
Date: Wed Jul 28 22:29:33 2010
New Revision: 629

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=629
Log:
Finally tweaks to build asttest

Modified:
    asterisk/team/pabelanger/non-root/asttest/Makefile

Modified: asterisk/team/pabelanger/non-root/asttest/Makefile
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/pabelanger/non-root/asttest/Makefile?view=diff&rev=629&r1=628&r2=629
==============================================================================
--- asterisk/team/pabelanger/non-root/asttest/Makefile (original)
+++ asterisk/team/pabelanger/non-root/asttest/Makefile Wed Jul 28 22:29:33 2010
@@ -62,8 +62,11 @@
 # this line does not seem to work
 #lib/lua/%.o: lib/lua/%.c lib/lua/%_lua.h include/asttest/lua/%.h
 
-lib/testsuite.o: lib/testsuite.c include/asttest/testsuite.h include/asttest/asttest.h
-lib/testutils.o: lib/testutils.c include/asttest/testutils.h include/asttest/asttest.h include/asttest/testsuite.h include/asttest/lua.h
+lib/testsuite.o: include/asttest/testsuite.h include/asttest/asttest.h
+	$(CC) $(CFLAGS) -c -o $@ lib/testsuite.c
+
+lib/testutils.o: include/asttest/testutils.h include/asttest/asttest.h include/asttest/testsuite.h include/asttest/lua.h
+	$(CC) $(CFLAGS) -c -o $@ lib/testutils.c
 
 lib/lua.o: lib/lua.c $(L_MODULES) include/asttest/lua.h include/asttest/testsuite.h include/asttest/lua/*.h
 	$(CC) $(CFLAGS) -c -o $@ \
@@ -72,9 +75,14 @@
 	-DLUAPOSIX_HEADER=\"../$(LUAPOSIX_HEADER)\" \
        	$<
 
-lib/lua/testlib.o: lib/lua/testlib.c lib/lua/testlib_lua.h include/asttest/lua/testlib.h
-lib/lua/astlib.o: lib/lua/astlib.c lib/lua/astlib_lua.h include/asttest/lua/astlib.h
-lib/lua/proclib.o: lib/lua/proclib.c lib/lua/proclib_lua.h include/asttest/lua/proclib.h
+lib/lua/testlib.o: lib/lua/testlib_lua.h include/asttest/lua/testlib.h
+	$(CC) $(CFLAGS) -c -o $@ lib/lua/testlib.c
+
+lib/lua/astlib.o: lib/lua/astlib_lua.h include/asttest/lua/astlib.h
+	$(CC) $(CFLAGS) -c -o $@ lib/lua/astlib.c
+
+lib/lua/proclib.o: lib/lua/proclib_lua.h include/asttest/lua/proclib.h
+	$(CC) $(CFLAGS) -c -o $@ lib/lua/proclib.c
 
 $(LUAFILESYSTEM_OBJS): lib/lua/$(LUAFILESYSTEM)
 	$(MAKE) -C lib/lua/$(LUAFILESYSTEM)
@@ -86,6 +94,7 @@
 	$(MAKE) -C lib/lua/$(LUAPOSIX)
 
 asttest.o: lib/lua.o lib/testsuite.o lib/testutils.o
+	$(CC) $(CFLAGS) -c -o $@ asttest.c
 
 asttest: asttest.c $(OBJS) $(T_OBJS) $(L_OBJS) include/asttest/asttest.h
 	$(CC) -o $@ $(OBJS) $(L_OBJS) $(T_LIBS) $(L_MODULES) $(L_LIBS)




More information about the asterisk-commits mailing list