Use target-specific *_CPPFLAGS, not the deprecated INCLUDES.
authorSven Panne <sven.panne@aedion.de>
Wed, 7 Sep 2005 11:53:13 +0000 (11:53 +0000)
committerSven Panne <sven.panne@aedion.de>
Wed, 7 Sep 2005 11:53:13 +0000 (11:53 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@687 7f0cb862-5218-0410-a997-914c9d46530a

ChangeLog
src/Makefile.am

index db3c3c1..fc48412 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1145,3 +1145,5 @@ necessary to temporarily use the X11 flags found by AC_PATH_XTRA.
 
 (298) Use -Wall for automake to catch some buglets, deprecated
 stuff, etc.
+
+(299) Use target-specific *_CPPFLAGS, not the deprecated INCLUDES.
index 83dc437..0f55c10 100644 (file)
@@ -45,8 +45,7 @@ lib@LIBRARY@_la_SOURCES = freeglut_callbacks.c \
 lib@LIBRARY@_la_LIBADD  = $(LIBM) $(X_LIBS) $(GL_LIBS) $(LIBXXF86VM)
 lib@LIBRARY@_la_LDFLAGS = $(VERSION_INFO)
 lib@LIBRARY@_la_CFLAGS  = $(X_CFLAGS) $(EXPORT_FLAGS)
-
-INCLUDES = -I$(top_srcdir)/include
+lib@LIBRARY@_la_CPPFLAGS= -I$(top_srcdir)/include
 
 #
 # End of file