|
|
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: INCLUDES = -I$(TOP)
71: HEADERS = XMenu.h
72:
73: SRCS = Activate.c \
74: AddPane.c \
75: AddSel.c \
76: ChgPane.c \
77: ChgSel.c \
78: Create.c \
79: DelPane.c \
80: DelSel.c \
81: Destroy.c \
82: Error.c \
83: EvHand.c \
84: FindPane.c \
85: FindSel.c \
86: InsPane.c \
87: InsSel.c \
88: Internal.c \
89: Locate.c \
90: Post.c \
91: Recomp.c \
92: SetAEQ.c \
93: SetFrz.c \
94: SetPane.c \
95: SetSel.c
96:
97: OBJS = Activate.o \
98: AddPane.o \
99: AddSel.o \
100: ChgPane.o \
101: ChgSel.o \
102: Create.o \
103: DelPane.o \
104: DelSel.o \
105: Destroy.o \
106: Error.o \
107: EvHand.o \
108: FindPane.o \
109: FindSel.o \
110: InsPane.o \
111: InsSel.o \
112: Internal.o \
113: Locate.o \
114: Post.o \
115: Recomp.o \
116: SetAEQ.o \
117: SetFrz.o \
118: SetPane.o \
119: SetSel.o
120:
121: .c.o:
122: $(CC) -c $(CFLAGS) $*.c
123:
124: all:: libXMenu.a
125:
126: libXMenu.a: $(OBJS)
127: rm -f $@
128: ar clq $@ $(OBJS)
129: ranlib $@
130:
131: all:: libXMenu11.a
132: libXMenu11.a: libXMenu.a
133: rm -f $@
134: ln -s libXMenu.a $@
135:
136: lintlib:: llib-lXMenu.ln
137:
138: llib-lXMenu.ln: $(SRCS)
139: rm -f $@
140: $(LINT) -CXMenu $(DEFINES) ${INCLUDES} $(SRCS)
141:
142: install:: libXMenu.a
143: $(INSTALL) $(INSTLIBFLAGS) libXMenu.a $(USRLIBDIR)
144: ranlib $(USRLIBDIR)/libXMenu.a
145:
146: install::
147: rm -f $(USRLIBDIR)/libXMenu11.a
148: ln $(USRLIBDIR)/libXMenu.a $(USRLIBDIR)/libXMenu11.a
149:
150: install:: llib-lXMenu.ln
151: $(INSTALL) $(INSTLIBFLAGS) llib-lXMenu.ln $(USRLIBDIR)
152:
153: depend::
154: $(DEPEND) -s "# DO NOT DELETE" $(CFLAGS) $(SRCS)
155:
156: lint:
157: $(LINT) -buz ${INCLUDES} \
158: -DLIBDIR=\"${LIBDIR}\" \
159: ${SRCS} \
160: $(XLIBSRC)/llib-lX.ln
161:
162: clean::
163: $(RM_CMD) \#*
164:
165: Makefile:: Imakefile \
166: $(UTILSRC)/imake.includes/Imake.tmpl \
167: $(UTILSRC)/imake.includes/Imake.rules \
168: $(UTILSRC)/imake.includes/$(MACROFILE)
169: -rm -f Makefile.bak; mv Makefile Makefile.bak
170: $(IMAKE_CMD) -DTOPDIR=$(TOP)
171:
172: tags::
173: $(TAGS) -w *.[ch]
174: $(TAGS) -xw *.[ch] > TAGS
175:
176: install::
177: @echo "install done"
178:
179: Makefiles::
180:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.