diff options
author | Brian Paul <[email protected]> | 2008-06-05 16:46:29 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-06-05 16:46:29 -0600 |
commit | eb189c856d5fa4e4b083a2b265e30aa7548d0613 (patch) | |
tree | c3fc16441e3347d87f45d16d9b4a88d233fc8619 /src/mesa/drivers/fbdev | |
parent | 949600b69356ac470d7df14e96e72c2333568ee1 (diff) |
sync up with Makefile changes on master
Diffstat (limited to 'src/mesa/drivers/fbdev')
-rw-r--r-- | src/mesa/drivers/fbdev/Makefile | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/mesa/drivers/fbdev/Makefile b/src/mesa/drivers/fbdev/Makefile new file mode 100644 index 00000000000..ac43dfdb676 --- /dev/null +++ b/src/mesa/drivers/fbdev/Makefile @@ -0,0 +1,36 @@ +# src/mesa/drivers/fbdev/Makefile for libGL.so + +TOP = ../../../.. + +include $(TOP)/configs/current + + +SOURCES = glfbdev.c + +OBJECTS = $(SOURCES:.c=.o) + +INCLUDE_DIRS = \ + -I$(TOP)/include \ + -I$(TOP)/src/mesa \ + -I$(TOP)/src/mesa/main + +CORE_MESA = $(TOP)/src/mesa/libmesa.a $(TOP)/src/mesa/libglapi.a + + +.c.o: + $(CC) -c $(INCLUDE_DIRS) $(CFLAGS) $< -o $@ + + +default: $(TOP)/$(LIB_DIR)/$(GL_LIB_NAME) + + +$(TOP)/$(LIB_DIR)/$(GL_LIB_NAME): $(CORE_OBJECTS) $(OBJECTS) + @ $(TOP)/bin/mklib -o $(GL_LIB) \ + -linker '$(CC)' -ldflags '$(LDFLAGS)' \ + -major $(MESA_MAJOR) -minor $(MESA_MINOR) -patch $(MESA_TINY) \ + -install $(TOP)/$(LIB_DIR) $(MKLIB_OPTIONS) \ + $(CORE_MESA) $(OBJECTS) $(GL_LIB_DEPS) + + +clean: + -rm -f $(OBJECTS) |