summaryrefslogtreecommitdiff
path: root/src/glx/apple/Makefile
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@freedesktop.org>2010-01-02 00:03:53 -0500
committerJeremy Huddleston <jeremyhu@apple.com>2010-04-27 11:26:51 -0700
commitf5aa5377a52c50c94b6a6d6d48c0057dbe874692 (patch)
tree1a6376407eb458e855f9bdf2287ff94633486eb4 /src/glx/apple/Makefile
parentde96d063b1eba9137d96074c9434aafe858d3271 (diff)
apple: Use mesa gl.h rather than generating one.
Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
Diffstat (limited to 'src/glx/apple/Makefile')
-rw-r--r--src/glx/apple/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/glx/apple/Makefile b/src/glx/apple/Makefile
index 8fa5b01f28..279f7aded9 100644
--- a/src/glx/apple/Makefile
+++ b/src/glx/apple/Makefile
@@ -31,6 +31,7 @@ SOURCES = \
apple_glx_surface.c \
apple_visual.c \
apple_xgl_api.c \
+ apple_xgl_api_additional.c \
apple_xgl_api_read.c \
apple_xgl_api_stereo.c \
apple_xgl_api_viewport.c \
@@ -71,16 +72,13 @@ INCLUDES = -I. -Iinclude -I..\
##### RULES #####
-$(OBJECTS) : include/GL/gl.h apple_xgl_api.h
+$(OBJECTS) : apple_xgl_api.h
apple_xgl_api.c : apple_xgl_api.h
apple_xgl_api.h : gen_api_header.tcl gen_api_library.tcl gen_code.tcl gen_defs.tcl gen_exports.tcl gen_funcs.tcl gen_types.tcl
$(TCLSH) gen_code.tcl
-include/GL/gl.h: include/GL/gl.h.template gen_gl_h.sh
- ./gen_gl_h.sh include/GL/gl.h.template $@
-
.c.o:
$(CC) -c $(INCLUDES) $(CFLAGS) $(EXTRA_DEFINES) $< -o $@
@@ -115,10 +113,7 @@ install_headers: include/GL/gl.h
install_libraries: $(TOP)/$(LIB_DIR)/$(GL_LIB_NAME)
$(MAKE) -C $(TOP)/src/mesa install-libgl
-install: install_headers install_libraries
-
-#%.c : ../%.c
-# ln -s $<
+install: install_libraries
# Remove .o and backup files
clean: