diff options
author | Brian Paul <[email protected]> | 2004-04-22 00:42:38 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2004-04-22 00:42:38 +0000 |
commit | 362f1df210d4142259f22d51c5269ed89dc396f3 (patch) | |
tree | 0b1ccc740290aead5c9d5c7f94479a6afcef3c4c /src/mesa/Makefile.X11 | |
parent | f959f6e1dc27c71fc0ccc56e09b29101b3bf3b97 (diff) |
obsolete
Diffstat (limited to 'src/mesa/Makefile.X11')
-rw-r--r-- | src/mesa/Makefile.X11 | 147 |
1 files changed, 0 insertions, 147 deletions
diff --git a/src/mesa/Makefile.X11 b/src/mesa/Makefile.X11 deleted file mode 100644 index 22708b5efa2..00000000000 --- a/src/mesa/Makefile.X11 +++ /dev/null @@ -1,147 +0,0 @@ -# Makefile for main Mesa library for Unix/X11-like systems - - -##### MACROS ##### - -TOP = ../.. - -GL_MAJOR = 1 -GL_MINOR = 5 -GL_TINY = 0$(MESA_MAJOR)0$(MESA_MINOR)0$(MESA_TINY) - -# These may be overridden in Make-config -GL_LIB_NAME = GL -OSMESA_LIB_NAME = OSMesa - -LIBDIR = $(TOP)/lib - - -include sources - - -# This will probably get set to $(X86_SOURCES) in Make-config: -ASM_SOURCES = - -# This should get set in Make-config someday: -DRIVER_SOURCES = \ - $(COMMON_DRIVER_SOURCES) \ - $(X11_DRIVER_SOURCES) \ - $(GLIDE_DRIVER_SOURCES) \ - $(SVGA_DRIVER_SOURCES) \ - $(FBDEV_DRIVER_SOURCES) - -# All the sources we care about: -SOURCES = \ - $(CORE_SOURCES) \ - $(ASM_SOURCES) \ - $(DRIVER_SOURCES) - - -ASM_OBJECTS = $(ASM_SOURCES:.S=.o) - -DRIVER_OBJECTS = $(DRIVER_SOURCES:.c=.o) - -OSMESA_OBJECTS = $(OSMESA_DRIVER_SOURCES:.c=.o) - -# All the objects we want to make: -OBJECTS = \ - $(CORE_OBJECTS) \ - $(ASM_OBJECTS) \ - $(DRIVER_OBJECTS) - - - -##### RULES ##### - -.c.o: - $(CC) -c $(INCLUDE_DIRS) $(CFLAGS) $< -o $@ - -.S.o: - $(CC) -c $(INCLUDE_DIRS) $(CFLAGS) $< -o $@ - - -# need some special rules here, unfortunately -x86/matypes.h: main/mtypes.h tnl/t_context.h x86/gen_matypes.c - $(CC) $(INCLUDE_DIRS) $(CFLAGS) x86/gen_matypes.c -o x86/gen_matypes - ./x86/gen_matypes > x86/matypes.h - #rm -f x86/gen_matypes x86/*.o - -x86/common_x86_asm.o: x86/matypes.h -x86/3dnow_normal.o: x86/matypes.h -x86/3dnow_xform1.o: x86/matypes.h -x86/3dnow_xform2.o: x86/matypes.h -x86/3dnow_xform3.o: x86/matypes.h -x86/3dnow_xform4.o: x86/matypes.h -x86/mmx_blend.o: x86/matypes.h -x86/sse_normal.o: x86/matypes.h -x86/sse_xform1.o: x86/matypes.h -x86/sse_xform2.o: x86/matypes.h -x86/sse_xform3.o: x86/matypes.h -x86/sse_xform4.o: x86/matypes.h -x86/x86_cliptest.o: x86/matypes.h -x86/x86_xform2.o: x86/matypes.h -x86/x86_xform3.o: x86/matypes.h -x86/x86_xform4.o: x86/matypes.h - - - -##### TARGETS ##### - -default: - @echo "Specify a target configuration" - - -targets: $(LIBDIR)/$(GL_LIB) $(LIBDIR)/$(OSMESA_LIB) - - -# Make the GL library -$(LIBDIR)/$(GL_LIB): $(OBJECTS) - $(TOP)/bin/mklib -o $(GL_LIB_NAME) -major $(GL_MAJOR) \ - -minor $(GL_MINOR) -patch $(GL_TINY) -install $(LIBDIR) \ - $(MKLIB_OPTIONS) $(GL_LIB_DEPS) $(OBJECTS) - - -# Make the OSMesa library -$(LIBDIR)/$(OSMESA_LIB): $(OSMESA_OBJECTS) - if [ ${OSMESA_LIB} ] ; then \ - $(TOP)/bin/mklib -o $(OSMESA_LIB_NAME) -major $(MESA_MAJOR) \ - -minor $(MESA_MINOR) -patch $(GL_TINY) \ - $(MKLIB_OPTIONS) -install $(LIBDIR) \ - $(OSMESA_LIB_DEPS) $(OSMESA_OBJECTS) ; \ - fi - - -# Make an optional library with _just_ core objects -# XXX this should probably be moved into a separate makefile -libmesa: $(LIBDIR)/$(MESA_LIB) - if [ ${MESA_LIB} ] ; then \ - $(MAKELIB) $(MESA_LIB) $(MESA_MAJOR) \ - $(MESA_MINOR) $(GL_TINY) $(CORE_OBJECTS) ; \ - fi - if [ ${MESA_LIB} ] ; then rm -f $(LIBDIR)/$(MESA_LIB)* ; fi - if [ ${MESA_LIB} ] ; then mv $(MESA_LIB)* $(LIBDIR) ; fi -$(LIBDIR)/$(MESA_LIB): $(CORE_OBJECTS) - - - -# Run 'make -f Makefile.X11 dep' to update the dependencies if you change -# what's included by any source file. -dep: $(SOURCES) - makedepend -fdepend -Y $(INCLUDE_DIRS) -DGGI -DSVGA -DFX $(SOURCES) - - -# Emacs tags -tags: - etags `find . -name \*.[ch]` `find ../include` - - -# Remove .o and backup files -clean: - -rm -f *.a - -rm -f */*.o */*~ */*.o */*~ - -rm -f drivers/*/*.o drivers/*/*/*.o - - -include $(TOP)/Make-config - -include depend |