From: chas w. <ch...@us...> - 2009-08-03 20:37:06
|
Update of /cvsroot/linux-atm/linux-atm/src/maint In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv4419/src/maint Modified Files: Tag: V2_5_1 Makefile.am Log Message: in order to make cross compling more sane and easier to follow, we split qgen (which is the only program that needs to be built and run on the host system) into qgen and q2931. so qgen now contains only host system binaries and as such doesnt need HAVE_CONFIG_H since that is really meant for the target system. also added the CFLAGS_FOR_BUILD flag that overrides CFLAGS in src/qgen. automake complains about this but i dont see a better way really unless i rewrite COMPILE. Index: Makefile.am =================================================================== RCS file: /cvsroot/linux-atm/linux-atm/src/maint/Makefile.am,v retrieving revision 1.2.2.2 retrieving revision 1.2.2.2.2.1 diff -C2 -d -r1.2.2.2 -r1.2.2.2.2.1 *** Makefile.am 23 Dec 2007 14:47:45 -0000 1.2.2.2 --- Makefile.am 3 Aug 2009 20:36:56 -0000 1.2.2.2.2.1 *************** *** 3,7 **** USRPGMS=atmdiag atmdump sonetdiag saaldump ! INCLUDES=-I$(srcdir)/../qgen -I$(srcdir)/../saal -I. LDADD = $(top_builddir)/src/lib/libatm.la --- 3,7 ---- USRPGMS=atmdiag atmdump sonetdiag saaldump ! INCLUDES=-I$(srcdir)/../q2931 -I$(srcdir)/../saal -I. LDADD = $(top_builddir)/src/lib/libatm.la *************** *** 22,26 **** sonetdiag_SOURCES = sonetdiag.c saaldump_SOURCES = saaldump.c ! saaldump_LDADD = $(top_builddir)/src/qgen/qd.dump.o $(top_builddir)/src/saal/libsaal.a $(LDADD) saaldump_DEPENDENCIES = $(saaldump_LDADD) --- 22,26 ---- sonetdiag_SOURCES = sonetdiag.c saaldump_SOURCES = saaldump.c ! saaldump_LDADD = $(top_builddir)/src/q2931/qd.dump.o $(top_builddir)/src/saal/libsaal.a $(LDADD) saaldump_DEPENDENCIES = $(saaldump_LDADD) |