|
|
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: SUBDIRS = xboxes xbuttonbox xclock xcommand xlabel xload xtext
71:
72: all::
73: @case '${MFLAGS}' in *[ik]*) set +e;; esac; \
74: for i in $(SUBDIRS) ;\
75: do \
76: (cd $$i ; echo "making $$i"; \
77: $(MAKE) 'CDEBUGFLAGS=$(CDEBUGFLAGS)' $(MFLAGS)); \
78: done
79:
80: depend::
81: @case '${MFLAGS}' in *[ik]*) set +e;; esac; \
82: for i in $(SUBDIRS) ;\
83: do \
84: (cd $$i ; echo "depending $$i"; \
85: $(MAKE) $(MFLAGS) depend ); \
86: done
87:
88: clean::
89: $(RM_CMD) \#*
90:
91: Makefile:: Imakefile \
92: $(UTILSRC)/imake.includes/Imake.tmpl \
93: $(UTILSRC)/imake.includes/Imake.rules \
94: $(UTILSRC)/imake.includes/$(MACROFILE)
95: -rm -f Makefile.bak; mv Makefile Makefile.bak
96: $(IMAKE_CMD) -DTOPDIR=$(TOP)
97:
98: tags::
99: $(TAGS) -w *.[ch]
100: $(TAGS) -xw *.[ch] > TAGS
101:
102: install::
103: @case '${MFLAGS}' in *[ik]*) set +e;; esac; \
104: for i in $(SUBDIRS) ;\
105: do \
106: (cd $$i ; echo "installing $$i"; \
107: INSTALL='$(INSTALL)' DESTDIR='$(DESTDIR)' \
108: $(MAKE) $(MFLAGS) install ); \
109: done
110:
111: clean::
112: @case '${MFLAGS}' in *[ik]*) set +e;; esac; \
113: for i in $(SUBDIRS) ;\
114: do \
115: (cd $$i ; echo "cleaning $$i"; \
116: RM_CMD='$(RM_CMD)' $(MAKE) $(MFLAGS) clean ); \
117: done
118:
119: tags::
120: @case '${MFLAGS}' in *[ik]*) set +e;; esac; \
121: for i in $(SUBDIRS) ;\
122: do \
123: (cd $$i ; echo "tagging $$i"; \
124: TAGS='$(TAGS)' $(MAKE) $(MFLAGS) tags ); \
125: done
126:
127: Makefiles::
128: @case '${MFLAGS}' in *[ik]*) set +e;; esac; \
129: for i in $(SUBDIRS) ;\
130: do \
131: echo "Making Makefiles in $$i..."; \
132: case "$$i" in \
133: ./?*/?*/?*) newtop=../../../ sub=subsubsub;; \
134: ./?*/?*) newtop=../../ sub=subsub;; \
135: ./?*) newtop=../ sub=sub;; \
136: */?*/?*) newtop=../../../ sub=subsubsub;; \
137: */?*) newtop=../../ sub=subsub;; \
138: *) newtop=../ sub=sub;; \
139: esac; \
140: NEWTOP=$$newtop MAKEFILE_SUBDIR=$$i \
141: $(MAKE) $${sub}dirMakefiles; \
142: done
143:
144: subdirMakefiles:
145: rm -f $(MAKEFILE_SUBDIR)/Makefile.bak
146: -mv $(MAKEFILE_SUBDIR)/Makefile $(MAKEFILE_SUBDIR)/Makefile.bak
147: cd $(MAKEFILE_SUBDIR); $(IMAKE_CMD) -DTOPDIR=$(TOP)/..; \
148: $(MAKE) $(MFLAGS) Makefiles
149:
150: subsubdirMakefiles:
151: rm -f $(MAKEFILE_SUBDIR)/Makefile.bak
152: -mv $(MAKEFILE_SUBDIR)/Makefile $(MAKEFILE_SUBDIR)/Makefile.bak
153: cd $(MAKEFILE_SUBDIR); $(IMAKE_CMD) -DTOPDIR=$(TOP)/../..; \
154: $(MAKE) $(MFLAGS) Makefiles
155:
156: subsubsubdirMakefiles:
157: rm -f $(MAKEFILE_SUBDIR)/Makefile.bak
158: -mv $(MAKEFILE_SUBDIR)/Makefile $(MAKEFILE_SUBDIR)/Makefile.bak
159: cd $(MAKEFILE_SUBDIR); $(IMAKE_CMD) -DTOPDIR=$(TOP)/../../..; \
160: $(MAKE) $(MFLAGS) Makefiles
161:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.