*** empty log message ***
[dana/urxvt.git] / src / Makefile.in
1 @MCOMMON@
2
3 LINT = lint -DNARROWPROTO=1 $(XINC) -chapbxz
4
5 srcdir =        @srcdir@
6 VPATH =         @srcdir@
7 .PATH:          @srcdir@
8
9 top_builddir = ..
10 basedir = ..
11 thisdir = src
12 MKDIR = @top_srcdir@/autoconf/mkinstalldirs
13
14 # for developers: the following debug options may be used
15 #       -DDEBUG_CMD -DDEBUG_MAIN -DDEBUG_MENU -DDEBUG_MENUARROWS
16 #       -DDEBUG_MENUBAR_STACKING -DDEBUG_MENU_LAYOUT -DDEBUG_RESOURCES
17 #       -DDEBUG_SEARCH_PATH -DDEBUG_SIZE -DDEBUG_TTY -DDEBUG_TTYMODE
18 #       -DDEBUG_KEYBOARD
19 DEBUG=-DDEBUG_STRICT @DEBUG@
20
21 first_rule: all
22 dummy:
23
24 COMMON = \
25         command.o rxvtfont.o init.o logging.o \
26         main.o menubar.o misc.o netdisp.o ptytty.o screen.o \
27         scrollbar.o scrollbar-next.o scrollbar-rxvt.o scrollbar-xterm.o scrollbar-plain.o \
28         strings.o xdefaults.o xpm.o encoding.o rxvttoolkit.o rxvtutil.o iom.o keyboard.o
29
30 RXVT_BASENAME=`$(ECHO) $(RXVTNAME)|$(SED) 's/$(EXEEXT)$$//'|$(SED) '$(transform)'`
31 RXVT_BINNAME=$(DESTDIR)$(bindir)/$(RXVT_BASENAME)$(EXEEXT)
32 RXVTC_BINNAME=$(DESTDIR)$(bindir)/$(RXVT_BASENAME)c$(EXEEXT)
33 RXVTD_BINNAME=$(DESTDIR)$(bindir)/$(RXVT_BASENAME)d$(EXEEXT)
34 RXVT_OLDNAME=$(DESTDIR)$(bindir)/$(RXVT_BASENAME)-old$(EXEEXT)
35
36 #
37 # Distribution variables
38 #
39
40 .SUFFIXES:      .C .o
41
42 #-------------------------------------------------------------------------
43 # inference rules
44 .C.o:
45         $(COMPILE) -c $<
46
47 #.C.lo:
48 #       $(LIBTOOL) --mode=compile $(COMPILE) -c $<
49 #
50 #.s.lo:
51 #       $(LIBTOOL) --mode=compile $(COMPILE) -c $<
52 #
53 #.S.lo:
54 #       $(LIBTOOL) --mode=compile $(COMPILE) -c $<
55
56 #-------------------------------------------------------------------------
57
58 all: allbin
59
60 rxvt: rxvt.o $(COMMON)
61         $(LINK) -o $@ $^ $(LIBS) $(XLIB) $(DLIB)
62 #       $(LIBTOOL) --mode=link $(LINK) rxvt.o librxvt.la $(LIBS) $(XLIB) $(DLIB) -o $@
63
64 rxvtd: rxvtd.o rxvtdaemon.o $(COMMON)
65         $(LINK) -o $@ $^ $(LIBS) $(XLIB) $(DLIB)
66 #       $(LIBTOOL) --mode=link $(LINK) rxvtd.o rxvtdaemon.o librxvt.la $(LIBS) $(XLIB) $(DLIB) -o $@
67
68 rxvtc: rxvtc.o rxvtdaemon.o
69         $(LINK) -o $@ $^ $(LIBS) $(DLIB)
70 #       $(LIBTOOL) --mode=link $(LINK) rxvtc.o rxvtdaemon.o $(LIBS) $(DLIB) -o $@
71
72 #librxvt.la: $(LIBOBJS)
73 #       $(LIBTOOL) --mode=link $(LINK) -rpath $(libdir) -version-info $(LIBVERSION) $(LIBOBJS) $(LIBS) -o $@
74
75 #-------------------------------------------------------------------------
76
77 tags:
78         ctags *.h *.C
79
80 allbin: rxvt rxvtd rxvtc
81
82 alldoc:
83
84 clean:
85         $(RMF) rxvt rxvtc rxvtd core a.out *.o *.lo *.bak *~ *.intpro .libs/* librxvt.la tmpproto *.tmp
86
87 realclean: clean
88         $(RMF) tags librxvt.h
89
90 cleandir: realclean
91
92 distclean: realclean
93         (cd $(srcdir); $(RMF) Makefile)
94
95 install: allbin alldoc
96         $(MKDIR) $(DESTDIR)$(bindir)
97         $(RMF) $(RXVT_BINNAME)
98         $(RMF) $(RXVTC_BINNAME)
99         $(RMF) $(RXVTD_BINNAME)
100         $(INSTALL_PROGRAM) rxvt  $(RXVT_BINNAME)
101         $(INSTALL_PROGRAM) rxvtc $(RXVTC_BINNAME)
102         $(INSTALL_PROGRAM) rxvtd $(RXVTD_BINNAME)
103
104 depend:
105         makedepend -f Makefile.in -I. -Y *.C >/dev/null 2>&1
106         makedepend -f Makefile.in -I. -Y *.C -a -o .lo >/dev/null 2>&1
107
108 # DO NOT DELETE: nice dependency list follows
109
110 command.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
111 command.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
112 command.o: salloc.h menubar.h version.h command.h keyboard.h
113 encoding.o: ../config.h encoding.h table/iso8859_1.h table/iso8859_15.h
114 encoding.o: table/iso8859_2.h table/iso8859_3.h table/iso8859_4.h
115 encoding.o: table/iso8859_5.h table/iso8859_6.h table/iso8859_7.h
116 encoding.o: table/iso8859_8.h table/iso8859_9.h table/iso8859_10.h
117 encoding.o: table/iso8859_11.h table/iso8859_13.h table/iso8859_14.h
118 encoding.o: table/iso8859_16.h table/koi8_r.h table/koi8_u.h
119 encoding.o: table/ksc5601_1987_0.h table/big5.h table/gbk_0.h
120 encoding.o: table/gb2312_1980_0.h table/cns11643_1992_1.h
121 encoding.o: table/cns11643_1992_2.h table/cns11643_1992_3.h
122 encoding.o: table/cns11643_1992_4.h table/cns11643_1992_5.h
123 encoding.o: table/cns11643_1992_6.h table/cns11643_1992_7.h
124 encoding.o: table/cns11643_1992_f.h table/big5_ext.h table/big5_plus.h
125 encoding.o: table/viscii.h table/jis0201_1976_0.h table/jis0208_1990_0.h
126 encoding.o: table/jis0212_1990_0.h table/jis0213_1.h table/jis0213_2.h
127 encoding.o: table/compose.h table/category.h
128 init.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h rxvtfont.h
129 init.o: rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h salloc.h
130 init.o: menubar.h init.h
131 iom.o: iom.h iom_conf.h rxvtutil.h callback.h
132 keyboard.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
133 keyboard.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
134 keyboard.o: salloc.h menubar.h keyboard.h command.h
135 logging.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
136 logging.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
137 logging.o: salloc.h menubar.h logging.h
138 main.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h rxvtfont.h
139 main.o: rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h salloc.h
140 main.o: menubar.h keyboard.h
141 menubar.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
142 menubar.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
143 menubar.o: salloc.h menubar.h version.h
144 misc.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h rxvtfont.h
145 misc.o: rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h salloc.h
146 misc.o: menubar.h
147 netdisp.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
148 netdisp.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
149 netdisp.o: salloc.h menubar.h
150 ptytty.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
151 ptytty.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
152 ptytty.o: salloc.h menubar.h
153 rxvt.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h rxvtfont.h
154 rxvt.o: rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h salloc.h
155 rxvt.o: menubar.h
156 rxvtc.o: ../config.h rxvtdaemon.h rxvtutil.h rxvt.h rxvtlib.h ptytty.h
157 rxvtc.o: feature.h encoding.h rxvtfont.h rxvttoolkit.h iom.h iom_conf.h
158 rxvtc.o: callback.h salloc.h menubar.h
159 rxvtd.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
160 rxvtd.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
161 rxvtd.o: salloc.h menubar.h rxvtdaemon.h
162 rxvtdaemon.o: rxvtdaemon.h rxvtutil.h
163 rxvtfont.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
164 rxvtfont.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
165 rxvtfont.o: salloc.h menubar.h table/linedraw.h
166 rxvttoolkit.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
167 rxvttoolkit.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h
168 rxvttoolkit.o: callback.h salloc.h menubar.h
169 rxvtutil.o: rxvtutil.h
170 salloc.o: salloc.h
171 screen.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
172 screen.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
173 screen.o: salloc.h menubar.h salloc.C
174 scrollbar-next.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
175 scrollbar-next.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h
176 scrollbar-next.o: callback.h salloc.h menubar.h
177 scrollbar-plain.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
178 scrollbar-plain.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h
179 scrollbar-plain.o: callback.h salloc.h menubar.h
180 scrollbar-rxvt.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
181 scrollbar-rxvt.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h
182 scrollbar-rxvt.o: callback.h salloc.h menubar.h
183 scrollbar-xterm.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
184 scrollbar-xterm.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h
185 scrollbar-xterm.o: callback.h salloc.h menubar.h
186 scrollbar.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
187 scrollbar.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
188 scrollbar.o: salloc.h menubar.h
189 strings.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
190 strings.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
191 strings.o: salloc.h menubar.h
192 xdefaults.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
193 xdefaults.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
194 xdefaults.o: salloc.h menubar.h version.h keyboard.h
195 xpm.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h rxvtfont.h
196 xpm.o: rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h salloc.h
197 xpm.o: menubar.h
198
199 command.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
200 command.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
201 command.lo: salloc.h menubar.h version.h command.h keyboard.h
202 encoding.lo: ../config.h encoding.h table/iso8859_1.h table/iso8859_15.h
203 encoding.lo: table/iso8859_2.h table/iso8859_3.h table/iso8859_4.h
204 encoding.lo: table/iso8859_5.h table/iso8859_6.h table/iso8859_7.h
205 encoding.lo: table/iso8859_8.h table/iso8859_9.h table/iso8859_10.h
206 encoding.lo: table/iso8859_11.h table/iso8859_13.h table/iso8859_14.h
207 encoding.lo: table/iso8859_16.h table/koi8_r.h table/koi8_u.h
208 encoding.lo: table/ksc5601_1987_0.h table/big5.h table/gbk_0.h
209 encoding.lo: table/gb2312_1980_0.h table/cns11643_1992_1.h
210 encoding.lo: table/cns11643_1992_2.h table/cns11643_1992_3.h
211 encoding.lo: table/cns11643_1992_4.h table/cns11643_1992_5.h
212 encoding.lo: table/cns11643_1992_6.h table/cns11643_1992_7.h
213 encoding.lo: table/cns11643_1992_f.h table/big5_ext.h table/big5_plus.h
214 encoding.lo: table/viscii.h table/jis0201_1976_0.h table/jis0208_1990_0.h
215 encoding.lo: table/jis0212_1990_0.h table/jis0213_1.h table/jis0213_2.h
216 encoding.lo: table/compose.h table/category.h
217 init.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
218 init.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
219 init.lo: salloc.h menubar.h init.h
220 iom.lo: iom.h iom_conf.h rxvtutil.h callback.h
221 keyboard.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
222 keyboard.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
223 keyboard.lo: salloc.h menubar.h keyboard.h command.h
224 logging.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
225 logging.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
226 logging.lo: salloc.h menubar.h logging.h
227 main.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
228 main.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
229 main.lo: salloc.h menubar.h keyboard.h
230 menubar.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
231 menubar.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
232 menubar.lo: salloc.h menubar.h version.h
233 misc.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
234 misc.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
235 misc.lo: salloc.h menubar.h
236 netdisp.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
237 netdisp.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
238 netdisp.lo: salloc.h menubar.h
239 ptytty.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
240 ptytty.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
241 ptytty.lo: salloc.h menubar.h
242 rxvt.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
243 rxvt.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
244 rxvt.lo: salloc.h menubar.h
245 rxvtc.lo: ../config.h rxvtdaemon.h rxvtutil.h rxvt.h rxvtlib.h ptytty.h
246 rxvtc.lo: feature.h encoding.h rxvtfont.h rxvttoolkit.h iom.h iom_conf.h
247 rxvtc.lo: callback.h salloc.h menubar.h
248 rxvtd.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
249 rxvtd.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
250 rxvtd.lo: salloc.h menubar.h rxvtdaemon.h
251 rxvtdaemon.lo: rxvtdaemon.h rxvtutil.h
252 rxvtfont.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
253 rxvtfont.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
254 rxvtfont.lo: salloc.h menubar.h table/linedraw.h
255 rxvttoolkit.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
256 rxvttoolkit.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h
257 rxvttoolkit.lo: callback.h salloc.h menubar.h
258 rxvtutil.lo: rxvtutil.h
259 salloc.lo: salloc.h
260 screen.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
261 screen.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
262 screen.lo: salloc.h menubar.h salloc.C
263 scrollbar-next.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
264 scrollbar-next.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h
265 scrollbar-next.lo: callback.h salloc.h menubar.h
266 scrollbar-plain.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h
267 scrollbar-plain.lo: encoding.h rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h
268 scrollbar-plain.lo: iom_conf.h callback.h salloc.h menubar.h
269 scrollbar-rxvt.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
270 scrollbar-rxvt.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h
271 scrollbar-rxvt.lo: callback.h salloc.h menubar.h
272 scrollbar-xterm.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h
273 scrollbar-xterm.lo: encoding.h rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h
274 scrollbar-xterm.lo: iom_conf.h callback.h salloc.h menubar.h
275 scrollbar.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
276 scrollbar.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
277 scrollbar.lo: salloc.h menubar.h
278 strings.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
279 strings.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
280 strings.lo: salloc.h menubar.h
281 xdefaults.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
282 xdefaults.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
283 xdefaults.lo: salloc.h menubar.h version.h keyboard.h
284 xpm.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h rxvtfont.h
285 xpm.lo: rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h salloc.h
286 xpm.lo: menubar.h