summaryrefslogtreecommitdiff
path: root/GL
diff options
context:
space:
mode:
Diffstat (limited to 'GL')
-rw-r--r--GL/Makefile.am8
-rw-r--r--GL/apple/Makefile.am11
2 files changed, 11 insertions, 8 deletions
diff --git a/GL/Makefile.am b/GL/Makefile.am
index 38cef7b39..29d03f2d6 100644
--- a/GL/Makefile.am
+++ b/GL/Makefile.am
@@ -1,7 +1,9 @@
-if XDARWIN
-DARWIN_SUBDIRS = apple
+if XQUARTZ
+XQUARTZ_SUBDIRS = apple
endif
-SUBDIRS = glx mesa $(DARWIN_SUBDIRS)
+
+SUBDIRS = glx mesa $(XQUARTZ_SUBDIRS)
+DIST_SUBDIRS = glx mesa apple
WINDOWS_EXTRAS = \
windows/ChangeLog \
diff --git a/GL/apple/Makefile.am b/GL/apple/Makefile.am
index 2b2d10cbc..6f0b68d5f 100644
--- a/GL/apple/Makefile.am
+++ b/GL/apple/Makefile.am
@@ -1,8 +1,9 @@
-AM_CFLAGS = -I$(top_srcdir) \
- -I$(top_srcdir)/hw/darwin/quartz \
- -I$(top_srcdir)/GL/glx \
- -I$(top_srcdir)/hw/darwin/quartz/cr \
- -I$(top_srcdir)/GL/include
+AM_CPPFLAGS = \
+ -I$(top_srcdir) \
+ -I$(top_srcdir)/GL/glx \
+ -I$(top_srcdir)/GL/include \
+ -I$(top_srcdir)/hw/darwin/quartz \
+ -I$(top_srcdir)/hw/darwin/quartz/cr
if HAVE_AGL_FRAMEWORK
noinst_LIBRARIES = libAGLcore.a