summaryrefslogtreecommitdiffstats
path: root/src/glw
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>1999-12-15 13:14:54 +0000
committerBrian Paul <[email protected]>1999-12-15 13:14:54 +0000
commit77e898629ecaecf257ee7f2d5c91469904aabb27 (patch)
tree4b6bf52b1b663c5a75a45a35033ad05f826018f3 /src/glw
parent95b305cc971fad3a17c959268ab1912660a8810f (diff)
initial rev
Diffstat (limited to 'src/glw')
-rw-r--r--src/glw/Makefile.X1159
1 files changed, 59 insertions, 0 deletions
diff --git a/src/glw/Makefile.X11 b/src/glw/Makefile.X11
new file mode 100644
index 00000000000..af55a1bf38f
--- /dev/null
+++ b/src/glw/Makefile.X11
@@ -0,0 +1,59 @@
+# Makefile for OpenGL widgets
+
+# NOTE: widget code is from SGI. See any of the .c or .h files for the
+# complete copyright. Mesa's GNU copyright DOES NOT apply to this widget
+# code.
+
+
+##### MACROS #####
+
+VPATH = RCS
+
+INCDIRS = -I../include -I/usr/include/Motif1.2 -I/usr/X11R6/include
+LIBDIR = ../lib
+
+SOURCES = GLwDrawA.c GLwMDrawA.c
+
+
+OBJECTS = $(SOURCES:.c=.o)
+
+
+
+##### RULES #####
+
+.c.o:
+ $(CC) -c $(INCDIRS) $(CFLAGS) $<
+
+
+
+##### TARGETS #####
+
+default:
+ @echo "Specify a target configuration"
+
+clean:
+ -rm *.o *~
+
+# The name of the library file comes from Make-config
+#XXX GLW_LIB = libGLw.a
+
+targets: $(LIBDIR)/$(GLW_LIB)
+
+
+# Make the library
+$(LIBDIR)/$(GLW_LIB): $(OBJECTS)
+ $(MAKELIB) $(GLW_LIB) $(MAJOR) $(MINOR) $(OBJECTS)
+ mv $(GLW_LIB)* $(LIBDIR)
+
+include ../Make-config
+
+include depend
+
+
+
+#
+# Run 'make depend' to update the dependencies if you change what's included
+# by any source file.
+#
+dep: $(SOURCES)
+ makedepend -fdepend -Y -I../include $(SOURCES)