[ofa-general] [PATCH 4/5][v1.2] dapl build: add correct CFLAGS for GNU
Arlin Davis
arlin.r.davis at intel.com
Mon Sep 1 19:26:02 PDT 2008
Signed-off by: Arlin Davis ardavis at ichips.intel.com
---
Makefile.am | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index bccc6ff..29e6b3b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -12,9 +12,9 @@ OSFLAGS += -DREDHAT_EL5
endif
if DEBUG
-DBGFLAGS = -ggdb -DDAPL_DBG
+AM_CFLAGS = -g -Wall -D_GNU_SOURCE -DDAPL_DBG
else
-DBGFLAGS = -g
+AM_CFLAGS = -g -Wall -D_GNU_SOURCE
endif
datlibdir = $(libdir)
@@ -25,17 +25,17 @@ datlib_LTLIBRARIES = dat/udat/libdat.la
dapllibcma_LTLIBRARIES = dapl/udapl/libdaplcma.la
dapllibscm_LTLIBRARIES = dapl/udapl/libdaplscm.la
-dat_udat_libdat_la_CFLAGS = -Wall $(DBGFLAGS) -D_GNU_SOURCE $(OSFLAGS) \
+dat_udat_libdat_la_CFLAGS = $(AM_CFLAGS) -D_GNU_SOURCE $(OSFLAGS) \
-I$(srcdir)/dat/include/ -I$(srcdir)/dat/udat/ \
-I$(srcdir)/dat/udat/linux -I$(srcdir)/dat/common/
-dapl_udapl_libdaplcma_la_CFLAGS = -Wall $(DBGFLAGS) -D_GNU_SOURCE $(OSFLAGS) \
+dapl_udapl_libdaplcma_la_CFLAGS = $(AM_CFLAGS) -D_GNU_SOURCE $(OSFLAGS) \
-DOPENIB -DCQ_WAIT_OBJECT \
-I$(srcdir)/dat/include/ -I$(srcdir)/dapl/include/ \
-I$(srcdir)/dapl/common -I$(srcdir)/dapl/udapl/linux \
-I$(srcdir)/dapl/openib_cma
-dapl_udapl_libdaplscm_la_CFLAGS = -Wall $(DBGFLAGS) -D_GNU_SOURCE $(OSFLAGS) $(XFLAGS) \
+dapl_udapl_libdaplscm_la_CFLAGS = $(AM_CFLAGS) -D_GNU_SOURCE $(OSFLAGS) $(XFLAGS) \
-DOPENIB -DCQ_WAIT_OBJECT \
-I$(srcdir)/dat/include/ -I$(srcdir)/dapl/include/ \
-I$(srcdir)/dapl/common -I$(srcdir)/dapl/udapl/linux \
--
1.5.2.5
More information about the general
mailing list