Use target-specific *_CPPFLAGS, not the deprecated INCLUDES.

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@687 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
spanne 2005-09-07 11:53:13 +00:00
parent c529daadc7
commit 0e76af92bb
2 changed files with 3 additions and 2 deletions

View File

@ -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 (298) Use -Wall for automake to catch some buglets, deprecated
stuff, etc. stuff, etc.
(299) Use target-specific *_CPPFLAGS, not the deprecated INCLUDES.

View 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_LIBADD = $(LIBM) $(X_LIBS) $(GL_LIBS) $(LIBXXF86VM)
lib@LIBRARY@_la_LDFLAGS = $(VERSION_INFO) lib@LIBRARY@_la_LDFLAGS = $(VERSION_INFO)
lib@LIBRARY@_la_CFLAGS = $(X_CFLAGS) $(EXPORT_FLAGS) lib@LIBRARY@_la_CFLAGS = $(X_CFLAGS) $(EXPORT_FLAGS)
lib@LIBRARY@_la_CPPFLAGS= -I$(top_srcdir)/include
INCLUDES = -I$(top_srcdir)/include
# #
# End of file # End of file