Browse Source

new makefiles

tags/R300_DRIVER_0
Brian Paul 22 years ago
parent
commit
520ef4b5bc
3 changed files with 6 additions and 8 deletions
  1. 2
    4
      progs/miniglx/Makefile.solo
  2. 2
    2
      src/glut/mini/Makefile.solo
  3. 2
    2
      src/glx/mini/Makefile.solo

progs/miniglx/Makefile.X11 → progs/miniglx/Makefile.solo View File

@@ -1,6 +1,4 @@
# Simple makefile for compiling test programs on Linux
# These programs aren't intended to be included with the normal
# distro. They're not too interesting but they're good for testing.
# Makefile for miniglx demo programs

TOP = ../..

@@ -47,7 +45,7 @@ clean:
rm -f *.o


# Run 'make -f Makefile.X11 dep' to update the dependencies if you change
# Run 'make -f Makefile.solo dep' to update the dependencies if you change
# what's included by any source file.
depend: $(SOURCES)
makedepend -fdepend -Y $(INCLUDES) \

src/glut/mini/Makefile.X11 → src/glut/mini/Makefile.solo View File

@@ -49,7 +49,7 @@ LIBS = -L$(TOP)/lib -lGL -lGLU -lm

targets: depend libglut.so.3.7 install

libglut.so.3.7: $(OBJS) Makefile.X11
libglut.so.3.7: $(OBJS) Makefile.solo
gcc -shared -Wl,-soname,libglut.so -Wl,-Bsymbolic $(OBJS) $(LIBS) -o $@

install: libglut.so.3.7
@@ -58,7 +58,7 @@ install: libglut.so.3.7
ln -s libglut.so.3.7 $(TOP)/lib/libglut.so.3
ln -s libglut.so.3 $(TOP)/lib/libglut.so

# Run 'make -f Makefile.X11 dep' to update the dependencies if you change
# Run 'make -f Makefile.solo dep' to update the dependencies if you change
# what's included by any source file.
depend: $(SOURCES)
makedepend -fdepend -Y $(INCLUDES) \

src/glx/mini/Makefile.X11 → src/glx/mini/Makefile.solo View File

@@ -44,7 +44,7 @@ INCLUDE_DIRS = \

targets: depend libGL.so.1.2

libGL.so.1.2: $(OBJECTS) Makefile.X11
libGL.so.1.2: $(OBJECTS) Makefile.solo
rm -f $@ && gcc -shared -Wl,-soname,libGL.so -Wl,-Bsymbolic $(OBJECTS) $(LIBS) -o $@
rm -f $(TOP)/lib/libGL.so*
rm -f $(TOP)/lib/miniglx.conf
@@ -56,7 +56,7 @@ libGL.so.1.2: $(OBJECTS) Makefile.X11
drmtest: xf86drm.o drmtest.o
rm -f drmtest && $(CC) -o drmtest xf86drm.o drmtest.o

# Run 'make -f Makefile.X11 dep' to update the dependencies if you change
# Run 'make -f Makefile.solo dep' to update the dependencies if you change
# what's included by any source file.
depend: $(C_SOURCES) $(ASM_SOURCES)
makedepend -fdepend -Y $(INCLUDES) \

Loading…
Cancel
Save