|
|
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: EXPORTS = \
71: X.h \
72: XWDFile.h \
73: Xatom.h \
74: Xmd.h \
75: Xproto.h \
76: Xprotostr.h \
77: copyright.h \
78: keysym.h
79:
80: IMPORTS = \
81: $(OLDXMENUSRC)/XMenu.h \
82: $(OLDXLIBSRC)/X10.h \
83: $(XRMSRC)/Xresource.h \
84: $(XLIBSRC)/Xlib.h \
85: $(XLIBSRC)/Xutil.h \
86: $(FONTSRC)/cursorfont.h \
87: $(TOOLKITSRC)/Atoms.h \
88: $(TOOLKITSRC)/ButtonBox.h \
89: $(TOOLKITSRC)/Clock.h \
90: $(TOOLKITSRC)/Command.h \
91: $(TOOLKITSRC)/Intrinsic.h \
92: $(TOOLKITSRC)/Knob.h \
93: $(TOOLKITSRC)/Label.h \
94: $(TOOLKITSRC)/Load.h \
95: $(TOOLKITSRC)/Misc.h \
96: $(TOOLKITSRC)/Quarks.h \
97: $(TOOLKITSRC)/Scroll.h \
98: $(TOOLKITSRC)/TM.h \
99: $(TOOLKITSRC)/Text.h \
100: $(TOOLKITSRC)/TopLevel.h \
101: $(TOOLKITSRC)/VPane.h
102:
103: SUBIMPORTS = \
104: $(EXTENSIONSRC)/include/zoid.h \
105: $(EXTENSIONSRC)/include/bezier.h
106:
107: INSTALLFLAGS = -m 0444
108:
109: all: $(IMPORTS) $(SUBIMPORTS) extensions
110: @-(list=`echo $(IMPORTS) | sed -e 's/[^ ]*\///g'`; set -x; rm $$list)
111: ln -s $(IMPORTS) .
112: @-(list=`echo $(SUBIMPORTS) | sed -e 's/[^ ]*\///g'`; \
113: set -x; cd extensions; rm $$list)
114: @for i in $(SUBIMPORTS); do \
115: (set -x; ln -s ../$$i extensions); \
116: done
117:
118: extensions:
119: mkdir $@
120:
121: install:: $(EXPORTS)
122: @case '${MFLAGS}' in *[i]*) set +e;; esac; \
123: for i in $(EXPORTS); do \
124: (set -x; $(INSTALL) -c $(INSTALLFLAGS) $$i $(INCDIR)); \
125: done
126:
127: depend:
128: @echo "depend: skipping include"
129:
130: clean::
131: $(RM_CMD) \#*
132:
133: Makefile:: Imakefile \
134: $(UTILSRC)/imake.includes/Imake.tmpl \
135: $(UTILSRC)/imake.includes/Imake.rules \
136: $(UTILSRC)/imake.includes/$(MACROFILE)
137: -rm -f Makefile.bak; mv Makefile Makefile.bak
138: $(IMAKE_CMD) -DTOPDIR=$(TOP)
139:
140: tags::
141: $(TAGS) -w *.[ch]
142: $(TAGS) -xw *.[ch] > TAGS
143:
144: install::
145: @echo "install done"
146:
147: Makefiles::
148:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.