… | |
… | |
34 | |
34 | |
35 | first_rule: all |
35 | first_rule: all |
36 | dummy: |
36 | dummy: |
37 | |
37 | |
38 | COMMON = \ |
38 | COMMON = \ |
39 | background.o command.o rxvtfont.o init.o main.o misc.o \ |
39 | command.o rxvtfont.o init.o main.o misc.o \ |
40 | screen.o scrollbar.o scrollbar-next.o scrollbar-rxvt.o \ |
40 | screen.o scrollbar.o scrollbar-next.o scrollbar-rxvt.o \ |
41 | scrollbar-xterm.o scrollbar-plain.o xdefaults.o encoding.o \ |
41 | scrollbar-xterm.o scrollbar-plain.o xdefaults.o encoding.o \ |
42 | rxvttoolkit.o rxvtutil.o keyboard.o rxvtimg.o \ |
42 | rxvttoolkit.o rxvtutil.o keyboard.o rxvtimg.o \ |
43 | ev_cpp.o fdpass_wrapper.o ptytty_wrapper.o @PERL_O@ |
43 | ev_cpp.o fdpass_wrapper.o ptytty_wrapper.o @PERL_O@ |
44 | |
44 | |
45 | COMMON_DAEMON = rxvtdaemon.o |
45 | COMMON_DAEMON = rxvtdaemon.o |
46 | |
46 | |
47 | RXVT_BINNAME=$(DESTDIR)$(bindir)/$(RXVTNAME)$(EXEEXT) |
47 | RXVT_BINNAME=$(DESTDIR)$(bindir)/$(RXVTNAME)$(EXEEXT) |
48 | RXVTC_BINNAME=$(DESTDIR)$(bindir)/$(RXVTNAME)c$(EXEEXT) |
48 | RXVTC_BINNAME=$(DESTDIR)$(bindir)/$(RXVTNAME)c$(EXEEXT) |
49 | RXVTD_BINNAME=$(DESTDIR)$(bindir)/$(RXVTNAME)d$(EXEEXT) |
49 | RXVTD_BINNAME=$(DESTDIR)$(bindir)/$(RXVTNAME)d$(EXEEXT) |
|
|
50 | RCLOCK_BINNAME=$(DESTDIR)$(bindir)/$(RXVTNAME)clock$(EXEEXT) |
|
|
51 | |
|
|
52 | x: |
|
|
53 | echo $(RCLOCK_BINNAME) |
50 | |
54 | |
51 | # |
55 | # |
52 | # Distribution variables |
56 | # Distribution variables |
53 | # |
57 | # |
54 | |
58 | |
… | |
… | |
69 | rxvtd: rxvtd.o $(COMMON) $(COMMON_DAEMON) |
73 | rxvtd: rxvtd.o $(COMMON) $(COMMON_DAEMON) |
70 | $(LINK) -o $@ rxvtd.o $(COMMON) $(COMMON_DAEMON) $(LIBS) $(XLIB) $(PERLLIB) |
74 | $(LINK) -o $@ rxvtd.o $(COMMON) $(COMMON_DAEMON) $(LIBS) $(XLIB) $(PERLLIB) |
71 | |
75 | |
72 | rxvtc: rxvtc.o $(COMMON_DAEMON) fdpass_wrapper.o |
76 | rxvtc: rxvtc.o $(COMMON_DAEMON) fdpass_wrapper.o |
73 | $(LINK) -o $@ rxvtc.o $(COMMON_DAEMON) fdpass_wrapper.o $(LIBS) |
77 | $(LINK) -o $@ rxvtc.o $(COMMON_DAEMON) fdpass_wrapper.o $(LIBS) |
|
|
78 | |
|
|
79 | rclock: rclock.o |
|
|
80 | $(LINK) -o $@ rclock.o $(LIBS) $(XLIB) |
74 | |
81 | |
75 | #------------------------------------------------------------------------- |
82 | #------------------------------------------------------------------------- |
76 | |
83 | |
77 | #EXUBERANT_OPTS = -I NOTHROW -I THROW |
84 | #EXUBERANT_OPTS = -I NOTHROW -I THROW |
78 | |
85 | |
… | |
… | |
142 | $(COMPILE) $(PERLFLAGS) -DLIBDIR="\"$(libdir)/urxvt\"" -c $< |
149 | $(COMPILE) $(PERLFLAGS) -DLIBDIR="\"$(libdir)/urxvt\"" -c $< |
143 | |
150 | |
144 | depend: |
151 | depend: |
145 | makedepend -f Makefile.in -I. -I.. -I../libptytty/src -I../libev -Y *.C *.xs >/dev/null 2>&1 |
152 | makedepend -f Makefile.in -I. -I.. -I../libptytty/src -I../libev -Y *.C *.xs >/dev/null 2>&1 |
146 | |
153 | |
|
|
154 | # makedepend has trouble finding these |
|
|
155 | ev_cpp.o: ../libev/ev.c ../libev/ev_epoll.c ../libev/ev_kqueue.c ../libev/ev_linuxaio.c |
|
|
156 | ev_cpp.o: ../libev/ev_poll.c ../libev/ev_port.c ../libev/ev_select.c ../libev/ev_win32.c |
|
|
157 | |
|
|
158 | |
147 | # DO NOT DELETE: nice dependency list follows |
159 | # DO NOT DELETE: nice dependency list follows |
148 | |
160 | |
149 | background.o: ../config.h rxvt.h feature.h ../libptytty/src/ecb.h encoding.h |
|
|
150 | background.o: rxvtutil.h ../libptytty/src/estl.h emman.h rxvtfont.h |
|
|
151 | background.o: rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h |
|
|
152 | background.o: ../libev/ev.h callback.h rxvtimg.h scrollbar.h |
|
|
153 | background.o: ../libptytty/src/libptytty.h rxvtperl.h hookinc.h rsinc.h |
|
|
154 | background.o: optinc.h |
|
|
155 | command.o: ../config.h rxvt.h feature.h ../libptytty/src/ecb.h encoding.h |
161 | command.o: ../config.h rxvt.h feature.h ../libptytty/src/ecb.h encoding.h |
156 | command.o: rxvtutil.h ../libptytty/src/estl.h emman.h rxvtfont.h |
162 | command.o: rxvtutil.h ../libptytty/src/estl.h emman.h rxvtfont.h |
157 | command.o: rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h |
163 | command.o: rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h |
158 | command.o: callback.h rxvtimg.h scrollbar.h ../libptytty/src/libptytty.h |
164 | command.o: callback.h rxvtimg.h scrollbar.h ../libptytty/src/libptytty.h |
159 | command.o: rxvtperl.h hookinc.h rsinc.h optinc.h version.h command.h |
165 | command.o: rxvtperl.h hookinc.h rsinc.h optinc.h version.h command.h |
… | |
… | |
240 | rxvttoolkit.o: rxvtutil.h ../libptytty/src/estl.h emman.h rxvtfont.h |
246 | rxvttoolkit.o: rxvtutil.h ../libptytty/src/estl.h emman.h rxvtfont.h |
241 | rxvttoolkit.o: rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h |
247 | rxvttoolkit.o: rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h |
242 | rxvttoolkit.o: ../libev/ev.h callback.h rxvtimg.h scrollbar.h |
248 | rxvttoolkit.o: ../libev/ev.h callback.h rxvtimg.h scrollbar.h |
243 | rxvttoolkit.o: ../libptytty/src/libptytty.h rxvtperl.h hookinc.h rsinc.h |
249 | rxvttoolkit.o: ../libptytty/src/libptytty.h rxvtperl.h hookinc.h rsinc.h |
244 | rxvttoolkit.o: optinc.h |
250 | rxvttoolkit.o: optinc.h |
245 | rxvtutil.o: rxvtutil.h ../libptytty/src/ecb.h ../libptytty/src/estl.h emman.h |
251 | rxvtutil.o: emman.c emman.h ../libptytty/src/ecb.h rxvtutil.h |
246 | rxvtutil.o: emman.c |
252 | rxvtutil.o: ../libptytty/src/estl.h |
247 | screen.o: ../config.h rxvt.h feature.h ../libptytty/src/ecb.h encoding.h |
253 | screen.o: ../config.h rxvt.h feature.h ../libptytty/src/ecb.h encoding.h |
248 | screen.o: rxvtutil.h ../libptytty/src/estl.h emman.h rxvtfont.h rxvttoolkit.h |
254 | screen.o: rxvtutil.h ../libptytty/src/estl.h emman.h rxvtfont.h rxvttoolkit.h |
249 | screen.o: ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h callback.h |
255 | screen.o: ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h callback.h |
250 | screen.o: rxvtimg.h scrollbar.h ../libptytty/src/libptytty.h rxvtperl.h |
256 | screen.o: rxvtimg.h scrollbar.h ../libptytty/src/libptytty.h rxvtperl.h |
251 | screen.o: hookinc.h rsinc.h optinc.h |
257 | screen.o: hookinc.h rsinc.h optinc.h |