|
|
researchv9-SUN3(old)
#
# This makefile is automatically generated by imake... do not modify
# or you may lose your changes when imake generates makefiles again.
# Ignore this message if you are not using imake.
#
TOP = ./../..
AS = as
CC = cc
CPP = /lib/cpp
LD = ld
LINT = lint
MAKE = make
CDEBUGFLAGS = -O
DESTDIR =
INSTALL = install
TAGS = ctags
DEPEND = $(DEPENDSRC)/makedepend
IMAKE = $(IMAKESRC)/imake
RGB = $(RGBSRC)/rgb
CFLAGS = $(CDEBUGFLAGS) $(INCLUDES) $(DEFINES)
LDFLAGS = $(CDEBUGFLAGS) $(SYS_LIBRARIES)
INSTLIBFLAGS = -c -m 0664
USRLIBDIR = $(DESTDIR)/usr/lib
BINDIR = $(DESTDIR)/usr/bin/X11
LIBDIR = $(DESTDIR)/usr/lib/X11
INCDIR = $(DESTDIR)/usr/include/X11
FUTUREINCDIR = $(DESTDIR)/usr/include/X
FONTDIR = $(DESTDIR)$(LIBDIR)/fonts
MANDIR = $(DESTDIR)/usr/man/mann
CLIENTSRC = $(TOP)/clients
DEMOSRC = $(TOP)/demos
LIBSRC = $(TOP)/lib
FONTSRC = $(TOP)/fonts
INCLUDESRC = $(TOP)/include
SERVERSRC = $(TOP)/server
UTILSRC = $(TOP)/util
HACKSRC = $(TOP)/hacks
DOCSRC = $(TOP)/doc
DEPENDSRC = $(UTILSRC)/makedepend
IMAKESRC = $(UTILSRC)/imake
RGBSRC = $(UTILSRC)/rgb
XLIBSRC = $(LIBSRC)/X
XRMSRC = $(LIBSRC)/Xrm
TOOLKITSRC = $(LIBSRC)/Xtk
OLDXLIBSRC = $(LIBSRC)/oldX
OLDXMENUSRC = $(LIBSRC)/oldXMenu
OLDXRMSRC = $(LIBSRC)/oldXrm
OLDTOOLKITSRC = $(LIBSRC)/oldXtk
EXTENSIONSRC = $(TOP)/extensions
XMANSRC = $(DOCSRC)/Xlib/Xman
EXTENSIONLIB = $(EXTENSIONSRC)/lib/libXext.a
XLIB = $(XLIBSRC)/libX.a
OLDXLIB = $(OLDXLIBSRC)/liboldX.a
XTOOLLIB = $(TOOLKITSRC)/libXtk.a
OLDXTOOLLIB = $(OLDTOOLKITSRC)/liboldXtk.a
OLDXMENULIB = $(OLDXMENUSRC)/libXMenu.a
XRMLIB = $(XRMSRC)/libXrm.a
OLDXRMLIB = $(OLDXRMSRC)/liboldXrm.a
INCLUDES = -I$(TOP)
MACROFILE = Sunv9.macros
IMAKE_CMD = $(NEWTOP)$(IMAKE) -TImake.tmpl \
-I$(NEWTOP)$(UTILSRC)/imake.includes \
-s Makefile
RM_CMD = rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a \
tags TAGS make.log
SRCS = atom.c colormap.c cursor.c dispatch.c dixutils.c events.c \
extension.c fonts.c gc.c globals.c glyphcurs.c grabs.c \
initext.c main.c property.c resource.c swaprep.c swapreq.c \
tables.c window.c initatoms.c
OBJS = atom.o colormap.o cursor.o dispatch.o dixutils.o events.o \
extension.o fonts.o gc.o globals.o glyphcurs.o grabs.o \
initext.o main.o property.o resource.o swaprep.o swapreq.o \
tables.o window.o initatoms.o
CDEBUGFLAGS = -O
INCLUDES = -I. -I../include -I../../include
EXT_DEFINES =
.c.o:
$(CC) -c $(CFLAGS) $*.c
all:: libdix.a
libdix.a: $(OBJS)
rm -f $@
ar clq $@ $(OBJS)
ranlib $@
depend::
$(DEPEND) -s "# DO NOT DELETE" $(CFLAGS) $(SRCS)
#
# `specially made just for initext.o. If the Makefile changes, then
# we make a new initext.o because the extension list may have changed.
#
# XXX
# the dependency is on "./Makefile" because if it were just "Makefile",
# the the rule for building the Makefile would be invoked if it is out
# of date with respect to ./Imakefile or others.
#
initext.o: ./Makefile
$(CC) -c $(CFLAGS) $(EXT_DEFINES) initext.c
lint:
lint -Cdix $(INCLUDES) $(SRCS) > lint.out
../../include/Xatom.h initatoms.c: BuiltInAtoms buildatoms
sh buildatoms
clean::
$(RM_CMD) \#*
Makefile:: Imakefile \
$(UTILSRC)/imake.includes/Imake.tmpl \
$(UTILSRC)/imake.includes/Imake.rules \
$(UTILSRC)/imake.includes/$(MACROFILE)
-rm -f Makefile.bak; mv Makefile Makefile.bak
$(IMAKE_CMD) -DTOPDIR=$(TOP)
tags::
$(TAGS) -w *.[ch]
$(TAGS) -xw *.[ch] > TAGS
install::
@echo "install done"
Makefiles::
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.