1 # Makefile for SGI's OpenGL widgets
14 INCDIRS = -I$(TOP)/include -I/usr/include/Motif1.2 -I/usr/contrib/X11R6/include -I/usr/X11R6/include
17 # Use these sources for Motif (and Xt) support. Requires Motif header files.
18 #SOURCES = GLwDrawA.c GLwMDrawA.c
20 # OR, use these sources for non-Motif (Xt only) build:
24 OBJECTS = $(SOURCES:.c=.o)
31 $(CC) -c $(INCDIRS) $(CFLAGS) $<
38 @echo "Specify a target configuration"
43 targets: $(LIBDIR)/$(GLW_LIB) message
47 $(LIBDIR)/$(GLW_LIB): $(OBJECTS)
48 $(TOP)/bin/mklib -o GLw -major $(MAJOR) -minor $(MINOR) \
49 -patch $(TINY) $(GLW_LIB_DEPS) -install $(LIBDIR) \
50 $(MKLIB_OPTIONS) $(OBJECTS)
55 @echo "************************************************************************"
56 @echo "*** Edit widgets-sgi/Makefile.X11 to enable Motif support, if needed ***"
57 @echo "************************************************************************"
61 include $(TOP)/Make-config
68 # Run 'make depend' to update the dependencies if you change what's included
72 makedepend -fdepend -Y -I$(TOP)/include $(SOURCES)