diff --git a/freeglut/freeglut/ChangeLog b/freeglut/freeglut/ChangeLog index db3c3c1..fc48412 100644 --- a/freeglut/freeglut/ChangeLog +++ b/freeglut/freeglut/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. diff --git a/freeglut/freeglut/src/Makefile.am b/freeglut/freeglut/src/Makefile.am index 83dc437..0f55c10 100644 --- a/freeglut/freeglut/src/Makefile.am +++ b/freeglut/freeglut/src/Makefile.am @@ -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