|
|
1.1 root 1:
2: #
3: # This makefile is automatically generated by imake... do not modify
4: # or you may lose your changes when imake generates makefiles again.
5: # Ignore this message if you are not using imake.
6: #
7:
8: TOP = ./../..
9: AS = as
10: CC = cc
11: CPP = /lib/cpp
12: LD = ld
13: LINT = lint
14: MAKE = make
15: CDEBUGFLAGS = -O
16: DESTDIR =
17:
18: INSTALL = install
19: TAGS = ctags
20: DEPEND = $(DEPENDSRC)/makedepend
21: IMAKE = $(IMAKESRC)/imake
22: RGB = $(RGBSRC)/rgb
23: CFLAGS = $(CDEBUGFLAGS) $(INCLUDES) $(DEFINES)
24: LDFLAGS = $(CDEBUGFLAGS) $(SYS_LIBRARIES)
25: INSTLIBFLAGS = -c -m 0664
26: USRLIBDIR = $(DESTDIR)/usr/lib
27: BINDIR = $(DESTDIR)/usr/bin/X11
28: LIBDIR = $(DESTDIR)/usr/lib/X11
29: INCDIR = $(DESTDIR)/usr/include/X11
30: FUTUREINCDIR = $(DESTDIR)/usr/include/X
31: FONTDIR = $(DESTDIR)$(LIBDIR)/fonts
32: MANDIR = $(DESTDIR)/usr/man/mann
33: CLIENTSRC = $(TOP)/clients
34: DEMOSRC = $(TOP)/demos
35: LIBSRC = $(TOP)/lib
36: FONTSRC = $(TOP)/fonts
37: INCLUDESRC = $(TOP)/include
38: SERVERSRC = $(TOP)/server
39: UTILSRC = $(TOP)/util
40: HACKSRC = $(TOP)/hacks
41: DOCSRC = $(TOP)/doc
42: DEPENDSRC = $(UTILSRC)/makedepend
43: IMAKESRC = $(UTILSRC)/imake
44: RGBSRC = $(UTILSRC)/rgb
45: XLIBSRC = $(LIBSRC)/X
46: XRMSRC = $(LIBSRC)/Xrm
47: TOOLKITSRC = $(LIBSRC)/Xtk
48: OLDXLIBSRC = $(LIBSRC)/oldX
49: OLDXMENUSRC = $(LIBSRC)/oldXMenu
50: OLDXRMSRC = $(LIBSRC)/oldXrm
51: OLDTOOLKITSRC = $(LIBSRC)/oldXtk
52: EXTENSIONSRC = $(TOP)/extensions
53: XMANSRC = $(DOCSRC)/Xlib/Xman
54: EXTENSIONLIB = $(EXTENSIONSRC)/lib/libXext.a
55: XLIB = $(XLIBSRC)/libX.a
56: OLDXLIB = $(OLDXLIBSRC)/liboldX.a
57: XTOOLLIB = $(TOOLKITSRC)/libXtk.a
58: OLDXTOOLLIB = $(OLDTOOLKITSRC)/liboldXtk.a
59: OLDXMENULIB = $(OLDXMENUSRC)/libXMenu.a
60: XRMLIB = $(XRMSRC)/libXrm.a
61: OLDXRMLIB = $(OLDXRMSRC)/liboldXrm.a
62: INCLUDES = -I$(TOP)
63: MACROFILE = Sunv9.macros
64: IMAKE_CMD = $(NEWTOP)$(IMAKE) -TImake.tmpl \
65: -I$(NEWTOP)$(UTILSRC)/imake.includes \
66: -s Makefile
67: RM_CMD = rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a \
68: tags TAGS make.log
69:
70: SRCS = atom.c colormap.c cursor.c dispatch.c dixutils.c events.c \
71: extension.c fonts.c gc.c globals.c glyphcurs.c grabs.c \
72: initext.c main.c property.c resource.c swaprep.c swapreq.c \
73: tables.c window.c initatoms.c
74: OBJS = atom.o colormap.o cursor.o dispatch.o dixutils.o events.o \
75: extension.o fonts.o gc.o globals.o glyphcurs.o grabs.o \
76: initext.o main.o property.o resource.o swaprep.o swapreq.o \
77: tables.o window.o initatoms.o
78:
79: CDEBUGFLAGS = -O
80: INCLUDES = -I. -I../include -I../../include
81: EXT_DEFINES =
82:
83: .c.o:
84: $(CC) -c $(CFLAGS) $*.c
85:
86: all:: libdix.a
87:
88: libdix.a: $(OBJS)
89: rm -f $@
90: ar clq $@ $(OBJS)
91: ranlib $@
92:
93: depend::
94: $(DEPEND) -s "# DO NOT DELETE" $(CFLAGS) $(SRCS)
95:
96: #
97: # `specially made just for initext.o. If the Makefile changes, then
98: # we make a new initext.o because the extension list may have changed.
99: #
100: # XXX
101: # the dependency is on "./Makefile" because if it were just "Makefile",
102: # the the rule for building the Makefile would be invoked if it is out
103: # of date with respect to ./Imakefile or others.
104: #
105: initext.o: ./Makefile
106: $(CC) -c $(CFLAGS) $(EXT_DEFINES) initext.c
107:
108: lint:
109: lint -Cdix $(INCLUDES) $(SRCS) > lint.out
110:
111: ../../include/Xatom.h initatoms.c: BuiltInAtoms buildatoms
112: sh buildatoms
113:
114: clean::
115: $(RM_CMD) \#*
116:
117: Makefile:: Imakefile \
118: $(UTILSRC)/imake.includes/Imake.tmpl \
119: $(UTILSRC)/imake.includes/Imake.rules \
120: $(UTILSRC)/imake.includes/$(MACROFILE)
121: -rm -f Makefile.bak; mv Makefile Makefile.bak
122: $(IMAKE_CMD) -DTOPDIR=$(TOP)
123:
124: tags::
125: $(TAGS) -w *.[ch]
126: $(TAGS) -xw *.[ch] > TAGS
127:
128: install::
129: @echo "install done"
130:
131: Makefiles::
132:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.