Skip to content

Commit

Permalink
Put all -I and -D flags into CPPFLAGS
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.code.sf.net/p/fuego/code/trunk@568 2e953b5c-c64d-0410-be54-f773e93e544c
  • Loading branch information
enz committed Oct 3, 2008
1 parent a7baeaa commit 2b283f9
Show file tree
Hide file tree
Showing 8 changed files with 38 additions and 21 deletions.
8 changes: 6 additions & 2 deletions fuegomain/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ noinst_HEADERS = \
FuegoMainEngine.h \
FuegoMainUtil.h

fuego_CXXFLAGS = -DUNIX=1 $(BOOST_CPPFLAGS)
fuego_LDFLAGS = $(BOOST_LDFLAGS) $(BOOST_THREAD_LIB)

fuego_LDADD = \
Expand All @@ -24,6 +23,11 @@ fuego_DEPENDENCIES = \
../smartgame/libfuego_smartgame.a \
../gtpengine/libfuego_gtpengine.a

INCLUDES = -I@top_srcdir@/gtpengine -I@top_srcdir@/smartgame -I@top_srcdir@/go -I@top_srcdir@/gouct
fuego_CPPFLAGS = \
-DUNIX=1 $(BOOST_CPPFLAGS) \
-I@top_srcdir@/gtpengine \
-I@top_srcdir@/smartgame \
-I@top_srcdir@/go \
-I@top_srcdir@/gouct

DISTCLEANFILES = *~
9 changes: 7 additions & 2 deletions fuegotest/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ FuegoTestMain.cpp
noinst_HEADERS = \
FuegoTestEngine.h

fuego_test_CXXFLAGS = -DUNIX=1 $(BOOST_CPPFLAGS)
fuego_test_LDFLAGS = $(BOOST_LDFLAGS) $(BOOST_THREAD_LIB)

fuego_test_LDADD = \
Expand All @@ -24,6 +23,12 @@ fuego_test_DEPENDENCIES = \
../smartgame/libfuego_smartgame.a \
../gtpengine/libfuego_gtpengine.a

INCLUDES = -I@top_srcdir@/gtpengine -I@top_srcdir@/smartgame -I@top_srcdir@/go -I@top_srcdir@/simpleplayers -I@top_srcdir@/gouct
fuego_test_CPPFLAGS = \
-DUNIX=1 $(BOOST_CPPFLAGS) \
-I@top_srcdir@/gtpengine \
-I@top_srcdir@/smartgame \
-I@top_srcdir@/go \
-I@top_srcdir@/simpleplayers \
-I@top_srcdir@/gouct

DISTCLEANFILES = *~
7 changes: 4 additions & 3 deletions go/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,9 @@ GoStaticLadder.h \
GoStaticSafetySolver.h \
GoTimeControl.h

libfuego_go_a_CXXFLAGS = -DUNIX=1 $(BOOST_CPPFLAGS)

INCLUDES = -I@top_srcdir@/gtpengine -I@top_srcdir@/smartgame
libfuego_go_a_CPPFLAGS = \
-DUNIX=1 $(BOOST_CPPFLAGS) \
-I@top_srcdir@/gtpengine \
-I@top_srcdir@/smartgame

DISTCLEANFILES = *~
8 changes: 5 additions & 3 deletions gouct/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@ GoUctRootFilter.h \
GoUctSearch.h \
GoUctUtil.h

libfuego_gouct_a_CXXFLAGS = -DUNIX=1 $(BOOST_CPPFLAGS)

INCLUDES = -I@top_srcdir@/gtpengine -I@top_srcdir@/smartgame -I@top_srcdir@/go
libfuego_gouct_a_CPPFLAGS = \
-DUNIX=1 $(BOOST_CPPFLAGS) \
-I@top_srcdir@/gtpengine \
-I@top_srcdir@/smartgame \
-I@top_srcdir@/go

DISTCLEANFILES = *~
4 changes: 1 addition & 3 deletions gtpengine/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ GtpEngine.cpp
noinst_HEADERS = \
GtpEngine.h

libfuego_gtpengine_a_CXXFLAGS = $(BOOST_CPPFLAGS)

INCLUDES =
libfuego_gtpengine_a_CPPFLAGS = $(BOOST_CPPFLAGS)

DISTCLEANFILES = *~
8 changes: 5 additions & 3 deletions simpleplayers/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,10 @@ SpSafePlayer.h \
SpSimplePlayer.h \
SpUtil.h

libfuego_simpleplayers_a_CXXFLAGS = -DUNIX=1 $(BOOST_CPPFLAGS)

INCLUDES = -I@top_srcdir@/gtpengine -I@top_srcdir@/smartgame -I@top_srcdir@/go
libfuego_simpleplayers_a_CPPFLAGS = \
-DUNIX=1 $(BOOST_CPPFLAGS) \
-I@top_srcdir@/gtpengine \
-I@top_srcdir@/smartgame \
-I@top_srcdir@/go

DISTCLEANFILES = *~
6 changes: 3 additions & 3 deletions smartgame/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ SgUctTreeUtil.h \
SgUtil.h \
SgWrite.h

libfuego_smartgame_a_CXXFLAGS = -DUNIX=1 $(BOOST_CPPFLAGS)

INCLUDES = -I@top_srcdir@/gtpengine
libfuego_smartgame_a_CPPFLAGS = \
-DUNIX=1 $(BOOST_CPPFLAGS) \
-I@top_srcdir@/gtpengine

DISTCLEANFILES = *~
9 changes: 7 additions & 2 deletions unittestmain/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ fuego_unittest_SOURCES = \
../smartgame/test/SgWriteTest.cpp \
../unittestmain/UnitTestMain.cpp

fuego_unittest_CXXFLAGS = -DUNIX=1 $(BOOST_CPPFLAGS)
fuego_unittest_LDFLAGS = $(BOOST_LDFLAGS) $(BOOST_UNIT_TEST_FRAMEWORK_LIB) $(BOOST_THREAD_LIB)

fuego_unittest_LDADD = \
Expand All @@ -73,6 +72,12 @@ fuego_unittest_DEPENDENCIES = \
../smartgame/libfuego_smartgame.a \
../gtpengine/libfuego_gtpengine.a

INCLUDES = -I@top_srcdir@/gtpengine -I@top_srcdir@/smartgame -I@top_srcdir@/go -I@top_srcdir@/simpleplayers -I@top_srcdir@/gouct
fuego_unittest_CPPFLAGS = \
-DUNIX=1 $(BOOST_CPPFLAGS) \
-I@top_srcdir@/gtpengine \
-I@top_srcdir@/smartgame \
-I@top_srcdir@/go \
-I@top_srcdir@/simpleplayers \
-I@top_srcdir@/gouct

DISTCLEANFILES = *~

0 comments on commit 2b283f9

Please sign in to comment.