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-01 12:33:47 -0700
commit69ea4e7718efb60b6b0d795a355cebd6712ceac1 (patch)
tree89735e8dcb2ab2ee18e82408e148d8bcceb48250 /src/glx/apple/Makefile
parentdbe8b013936d977ec63d6607bfd2fc6772d29787 (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: