ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/Makefile.in
(Generate patch)

Comparing rxvt-unicode/src/Makefile.in (file contents):
Revision 1.25 by root, Mon Feb 14 10:44:50 2005 UTC vs.
Revision 1.26 by root, Wed Feb 16 20:32:05 2005 UTC

19DEBUG=-DDEBUG_STRICT @DEBUG@ 19DEBUG=-DDEBUG_STRICT @DEBUG@
20 20
21first_rule: all 21first_rule: all
22dummy: 22dummy:
23 23
24LIBSRCS = command.C rxvtfont.C init.C logging.C \ 24COMMON = \
25 main.C menubar.C misc.C netdisp.C ptytty.C screen.C scrollbar.C \
26 scrollbar-rxvt.C scrollbar-next.C scrollbar-xterm.C strings.C \
27 xdefaults.C xpm.C encoding.C rxvttoolkit.C rxvtutil.C iom.C \
28 scrollbar-plain.C keyboard.C
29
30SRCS = rxvt.C $(LIBSRCS)
31
32HDRS = command.h rxvtfont.h feature.h init.h logging.h \
33 menubar.h netdisp.h rxvt.h rxvtgrx.h version.h encoding.h \
34 rxvtutil.h iom.h iom_conf.h keyboard.h
35
36EXTRAHDRS = rxvtlib.h rxvtdaemon.h
37
38OBJS = command.o rxvtfont.o init.o logging.o \ 25 command.o rxvtfont.o init.o logging.o \
39 main.o menubar.o misc.o netdisp.o ptytty.o screen.o \ 26 main.o menubar.o misc.o netdisp.o ptytty.o screen.o \
40 scrollbar.o scrollbar-next.o scrollbar-rxvt.o scrollbar-xterm.o scrollbar-plain.o \ 27 scrollbar.o scrollbar-next.o scrollbar-rxvt.o scrollbar-xterm.o scrollbar-plain.o \
41 strings.o xdefaults.o xpm.o rxvt.o encoding.o rxvttoolkit.o rxvtutil.o iom.o keyboard.o 28 strings.o xdefaults.o xpm.o encoding.o rxvttoolkit.o rxvtutil.o iom.o keyboard.o
42LIBOBJS = command.lo rxvtfont.lo init.lo logging.lo \
43 main.lo menubar.lo misc.lo netdisp.lo ptytty.lo screen.lo \
44 scrollbar.lo scrollbar-next.lo scrollbar-rxvt.lo scrollbar-xterm.lo scrollbar-plain.lo \
45 strings.lo xdefaults.lo xpm.lo encoding.lo rxvt.lo rxvttoolkit.lo rxvtutil.lo iom.lo keyboard.lo
46
47LIBVERSION = @LIBVERSION@
48INSTALL_LIBRXVT = @INSTALL_LIBRXVT@
49 29
50RXVT_BASENAME=`$(ECHO) $(RXVTNAME)|$(SED) 's/$(EXEEXT)$$//'|$(SED) '$(transform)'` 30RXVT_BASENAME=`$(ECHO) $(RXVTNAME)|$(SED) 's/$(EXEEXT)$$//'|$(SED) '$(transform)'`
51RXVT_BINNAME=$(DESTDIR)$(bindir)/$(RXVT_BASENAME)$(EXEEXT) 31RXVT_BINNAME=$(DESTDIR)$(bindir)/$(RXVT_BASENAME)$(EXEEXT)
52RXVTC_BINNAME=$(DESTDIR)$(bindir)/$(RXVT_BASENAME)c$(EXEEXT) 32RXVTC_BINNAME=$(DESTDIR)$(bindir)/$(RXVT_BASENAME)c$(EXEEXT)
53RXVTD_BINNAME=$(DESTDIR)$(bindir)/$(RXVT_BASENAME)d$(EXEEXT) 33RXVTD_BINNAME=$(DESTDIR)$(bindir)/$(RXVT_BASENAME)d$(EXEEXT)
54RXVT_OLDNAME=$(DESTDIR)$(bindir)/$(RXVT_BASENAME)-old$(EXEEXT) 34RXVT_OLDNAME=$(DESTDIR)$(bindir)/$(RXVT_BASENAME)-old$(EXEEXT)
55 35
56INTPROS = rxvtfont.intpro logging.intpro main.intpro misc.intpro \
57 ptytty.intpro xpm.intpro
58
59# 36#
60# Distribution variables 37# Distribution variables
61# 38#
62 39
63DIST = $(HDRS) $(SRCS) Makefile.in gcc-Wall rxvtlib.h.in $(INTPROS) 40.SUFFIXES: .C .o
64
65.SUFFIXES: .C .o .intpro .lo
66 41
67#------------------------------------------------------------------------- 42#-------------------------------------------------------------------------
68# inference rules 43# inference rules
69.C.o: 44.C.o:
70 $(COMPILE) -c $< 45 $(COMPILE) -c $<
71 46
72.C.lo: 47#.C.lo:
73 $(LIBTOOL) --mode=compile $(COMPILE) -c $< 48# $(LIBTOOL) --mode=compile $(COMPILE) -c $<
74 49#
75.s.lo: 50#.s.lo:
76 $(LIBTOOL) --mode=compile $(COMPILE) -c $< 51# $(LIBTOOL) --mode=compile $(COMPILE) -c $<
77 52#
78.S.lo: 53#.S.lo:
79 $(LIBTOOL) --mode=compile $(COMPILE) -c $< 54# $(LIBTOOL) --mode=compile $(COMPILE) -c $<
80
81.C.intpro:
82 @$(RMF) $@.tmp
83 @$(AWK) -f $(srcdir)/makeintprotos-awk $< > $@.tmp
84 @if $(CMP) -s $@ $@.tmp ; then : ; else $(ECHO) "$(AWK) -f $(srcdir)/makeintprotos-awk $< > $@"; $(CP) $@.tmp $@; fi
85 @$(RMF) $@.tmp
86 55
87#------------------------------------------------------------------------- 56#-------------------------------------------------------------------------
88 57
89all: allbin 58all: allbin
90 59
91rxvt: version.h rxvt.o librxvt.la 60rxvt: rxvt.o $(COMMON)
61 $(LINK) -o $@ $^ $(LIBS) $(XLIB) $(DLIB)
92 $(LIBTOOL) --mode=link $(LINK) rxvt.o librxvt.la $(LIBS) $(XLIB) $(DLIB) -o $@ 62# $(LIBTOOL) --mode=link $(LINK) rxvt.o librxvt.la $(LIBS) $(XLIB) $(DLIB) -o $@
93 63
94rxvtd: version.h rxvtd.o librxvt.la rxvtdaemon.o 64rxvtd: rxvtd.o rxvtdaemon.o $(COMMON)
65 $(LINK) -o $@ $^ $(LIBS) $(XLIB) $(DLIB)
95 $(LIBTOOL) --mode=link $(LINK) rxvtd.o rxvtdaemon.o librxvt.la $(LIBS) $(XLIB) $(DLIB) -o $@ 66# $(LIBTOOL) --mode=link $(LINK) rxvtd.o rxvtdaemon.o librxvt.la $(LIBS) $(XLIB) $(DLIB) -o $@
96 67
97rxvtc: version.h rxvtc.o rxvtdaemon.o 68rxvtc: rxvtc.o rxvtdaemon.o
69 $(LINK) -o $@ $^ $(LIBS) $(DLIB)
98 $(LIBTOOL) --mode=link $(LINK) rxvtc.o rxvtdaemon.o $(LIBS) $(DLIB) -o $@ 70# $(LIBTOOL) --mode=link $(LINK) rxvtc.o rxvtdaemon.o $(LIBS) $(DLIB) -o $@
99 71
100librxvt.la: $(LIBOBJS) 72#librxvt.la: $(LIBOBJS)
101 $(LIBTOOL) --mode=link $(LINK) -rpath $(libdir) -version-info $(LIBVERSION) $(LIBOBJS) $(LIBS) -o $@ 73# $(LIBTOOL) --mode=link $(LINK) -rpath $(libdir) -version-info $(LIBVERSION) $(LIBOBJS) $(LIBS) -o $@
102 74
103#------------------------------------------------------------------------- 75#-------------------------------------------------------------------------
104 76
105tags: $(SRCS) $(HDRS) $(EXTRAHDRS) 77tags:
106 ctags $(SRCS) $(HDRS) $(EXTRAHDRS) 78 ctags *.h *.C
107 79
108allbin: rxvt rxvtd rxvtc 80allbin: rxvt rxvtd rxvtc
109 81
110alldoc: 82alldoc:
111 83
119 91
120distclean: realclean 92distclean: realclean
121 (cd $(srcdir); $(RMF) Makefile) 93 (cd $(srcdir); $(RMF) Makefile)
122 94
123install: allbin alldoc 95install: allbin alldoc
124 $(MKDIR) $(DESTDIR)$(includedir) $(DESTDIR)$(libdir) $(DESTDIR)$(bindir) 96 $(MKDIR) $(DESTDIR)$(bindir)
125 @if test x$(INSTALL_LIBRXVT) = xyes; then \
126 $(ECHO) "$(LIBTOOL) --mode=install $(INSTALL_DATA) rxvtlib.h $(DESTDIR)$(includedir)/rxvtlib.h"; \
127 $(LIBTOOL) --mode=install $(INSTALL_DATA) rxvtlib.h $(DESTDIR)$(includedir)/rxvtlib.h; \
128 $(ECHO) "$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) librxvt.la $(DESTDIR)$(libdir)/librxvt.la"; \
129 $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) librxvt.la $(DESTDIR)$(libdir)/librxvt.la; \
130 fi
131 $(RMF) $(RXVT_BINNAME) 97 $(RMF) $(RXVT_BINNAME)
132 $(RMF) $(RXVTC_BINNAME) 98 $(RMF) $(RXVTC_BINNAME)
133 $(RMF) $(RXVTD_BINNAME) 99 $(RMF) $(RXVTD_BINNAME)
134 $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) rxvt $(RXVT_BINNAME) 100 $(INSTALL_PROGRAM) rxvt $(RXVT_BINNAME)
135 $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) rxvtc $(RXVTC_BINNAME) 101 $(INSTALL_PROGRAM) rxvtc $(RXVTC_BINNAME)
136 $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) rxvtd $(RXVTD_BINNAME) 102 $(INSTALL_PROGRAM) rxvtd $(RXVTD_BINNAME)
137
138uninstall:
139 @$(ECHO) $(RMF) $(RXVT_VERNAME)
140 @$(RMF) $(RXVT_VERNAME)
141 @$(ECHO) "$(LIBTOOL) --mode=uninstall $(RMF) $(RXVT_BINNAME)"
142 @$(LIBTOOL) --mode=uninstall $(RMF) $(RXVT_BINNAME)
143 @if test x$(INSTALL_LIBRXVT) = xyes; then \
144 $(ECHO) "$(LIBTOOL) --mode=uninstall $(RMF) $(DESTDIR)$(libdir)/librxvt.la"; \
145 $(LIBTOOL) --mode=uninstall $(RMF) $(DESTDIR)$(libdir)/librxvt.la; \
146 $(ECHO) "$(LIBTOOL) --mode=uninstall $(RMF) $(DESTDIR)$(includedir)/rxvtlib.h"; \
147 $(LIBTOOL) --mode=uninstall $(RMF) $(DESTDIR)$(includedir)/rxvtlib.h; \
148 fi
149 103
150distdirs: 104distdirs:
151 mkdir $(basedir)/../$(VERNAME)/$(thisdir) 105 mkdir $(basedir)/../$(VERNAME)/$(thisdir)
152 106
153distcopy: $(INTPROS) 107distcopy: $(INTPROS)
184keyboard.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h 138keyboard.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
185keyboard.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h 139keyboard.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
186keyboard.o: salloc.h menubar.h keyboard.h command.h 140keyboard.o: salloc.h menubar.h keyboard.h command.h
187logging.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h 141logging.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
188logging.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h 142logging.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
189logging.o: salloc.h menubar.h logging.h logging.intpro 143logging.o: salloc.h menubar.h logging.h
190main.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h rxvtfont.h 144main.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h rxvtfont.h
191main.o: rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h salloc.h 145main.o: rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h salloc.h
192main.o: menubar.h main.intpro keyboard.h 146main.o: menubar.h keyboard.h
193menubar.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h 147menubar.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
194menubar.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h 148menubar.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
195menubar.o: salloc.h menubar.h version.h 149menubar.o: salloc.h menubar.h version.h
196misc.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h rxvtfont.h 150misc.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h rxvtfont.h
197misc.o: rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h salloc.h 151misc.o: rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h salloc.h
198misc.o: menubar.h misc.intpro 152misc.o: menubar.h
199netdisp.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h 153netdisp.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
200netdisp.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h 154netdisp.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
201netdisp.o: salloc.h menubar.h 155netdisp.o: salloc.h menubar.h
202ptytty.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h 156ptytty.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
203ptytty.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h 157ptytty.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
244xdefaults.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h 198xdefaults.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
245xdefaults.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h 199xdefaults.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
246xdefaults.o: salloc.h menubar.h version.h keyboard.h 200xdefaults.o: salloc.h menubar.h version.h keyboard.h
247xpm.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h rxvtfont.h 201xpm.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h rxvtfont.h
248xpm.o: rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h salloc.h 202xpm.o: rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h salloc.h
249xpm.o: menubar.h xpm.intpro 203xpm.o: menubar.h
250 204
251command.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h 205command.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
252command.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h 206command.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
253command.lo: salloc.h menubar.h version.h command.h keyboard.h 207command.lo: salloc.h menubar.h version.h command.h keyboard.h
254encoding.lo: ../config.h encoding.h table/iso8859_1.h table/iso8859_15.h 208encoding.lo: ../config.h encoding.h table/iso8859_1.h table/iso8859_15.h
273keyboard.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h 227keyboard.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
274keyboard.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h 228keyboard.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
275keyboard.lo: salloc.h menubar.h keyboard.h command.h 229keyboard.lo: salloc.h menubar.h keyboard.h command.h
276logging.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h 230logging.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
277logging.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h 231logging.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
278logging.lo: salloc.h menubar.h logging.h logging.intpro 232logging.lo: salloc.h menubar.h logging.h
279main.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h 233main.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
280main.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h 234main.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
281main.lo: salloc.h menubar.h main.intpro keyboard.h 235main.lo: salloc.h menubar.h keyboard.h
282menubar.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h 236menubar.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
283menubar.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h 237menubar.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
284menubar.lo: salloc.h menubar.h version.h 238menubar.lo: salloc.h menubar.h version.h
285misc.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h 239misc.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
286misc.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h 240misc.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
287misc.lo: salloc.h menubar.h misc.intpro 241misc.lo: salloc.h menubar.h
288netdisp.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h 242netdisp.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
289netdisp.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h 243netdisp.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
290netdisp.lo: salloc.h menubar.h 244netdisp.lo: salloc.h menubar.h
291ptytty.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h 245ptytty.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
292ptytty.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h 246ptytty.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
333xdefaults.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h 287xdefaults.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
334xdefaults.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h 288xdefaults.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
335xdefaults.lo: salloc.h menubar.h version.h keyboard.h 289xdefaults.lo: salloc.h menubar.h version.h keyboard.h
336xpm.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h rxvtfont.h 290xpm.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h rxvtfont.h
337xpm.lo: rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h salloc.h 291xpm.lo: rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h salloc.h
338xpm.lo: menubar.h xpm.intpro 292xpm.lo: menubar.h

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines