aboutsummaryrefslogtreecommitdiffstats
path: root/src/glw/Makefile.X11
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2003-06-10 14:46:24 +0000
committerBrian Paul <[email protected]>2003-06-10 14:46:24 +0000
commitb953bebc250b36c9a01dbeafe420f808aa3522d6 (patch)
tree1e9be8007bd263e4d3650ac4978f684a3bf734fa /src/glw/Makefile.X11
parent9ac51f57efe07ed43a1e4224a7f5daddec401b36 (diff)
updated old-style makefiles for new tree
Diffstat (limited to 'src/glw/Makefile.X11')
-rw-r--r--src/glw/Makefile.X1115
1 files changed, 8 insertions, 7 deletions
diff --git a/src/glw/Makefile.X11 b/src/glw/Makefile.X11
index a494e357f91..90b7f9d35ff 100644
--- a/src/glw/Makefile.X11
+++ b/src/glw/Makefile.X11
@@ -7,10 +7,12 @@ MAJOR = 1
MINOR = 0
TINY = 0
+TOP = ../..
+
VPATH = RCS
-INCDIRS = -I../include -I/usr/include/Motif1.2 -I/usr/contrib/X11R6/include -I/usr/X11R6/include
-LIBDIR = ../lib
+INCDIRS = -I$(TOP)/include -I/usr/include/Motif1.2 -I/usr/contrib/X11R6/include -I/usr/X11R6/include
+LIBDIR = $(TOP)/lib
# Use these sources for Motif (and Xt) support. Requires Motif header files.
#SOURCES = GLwDrawA.c GLwMDrawA.c
@@ -43,9 +45,8 @@ targets: $(LIBDIR)/$(GLW_LIB) message
# Make the library
$(LIBDIR)/$(GLW_LIB): $(OBJECTS)
- $(MAKELIB) $(GLW_LIB) $(MAJOR) $(MINOR) $(TINY) $(OBJECTS)
- mv $(GLW_LIB)* $(LIBDIR)
- -mv *.a $(LIBDIR)
+ $(TOP)/bin/mklib -o GLw -major $(MAJOR) -minor $(MINOR) \
+ -patch $(TINY) $(GLW_LIB_DEPS) -install $(LIBDIR) $(OBJECTS)
message:
@@ -56,7 +57,7 @@ message:
@echo
-include ../Make-config
+include $(TOP)/Make-config
include depend
@@ -67,4 +68,4 @@ include depend
# by any source file.
#
dep: $(SOURCES)
- makedepend -fdepend -Y -I../include $(SOURCES)
+ makedepend -fdepend -Y -I$(TOP)/include $(SOURCES)