1 |
pcg |
1.1 |
# ./Makefile.in -*- Makefile -*- |
2 |
|
|
|
3 |
ayin |
1.15 |
DATE=@DATE@ |
4 |
|
|
VERSION=@VERSION@ |
5 |
|
|
RXVTNAME=@RXVTNAME@ |
6 |
|
|
SHELL = /bin/sh |
7 |
|
|
prefix = @prefix@ |
8 |
|
|
exec_prefix = @exec_prefix@ |
9 |
|
|
bindir = @bindir@ |
10 |
|
|
libdir = @libdir@ |
11 |
|
|
includedir = @includedir@ |
12 |
|
|
man1dir = @mandir@/man1 |
13 |
|
|
man1ext = 1 |
14 |
|
|
man3dir = @mandir@/man3 |
15 |
|
|
man3ext = 3 |
16 |
|
|
man7dir = @mandir@/man7 |
17 |
|
|
man7ext = 7 |
18 |
|
|
CC = @CC@ |
19 |
|
|
CXX = @CXX@ |
20 |
|
|
CPP = @CPP@ |
21 |
|
|
MV = @MV@ |
22 |
|
|
RM = @RM@ |
23 |
|
|
RMF = @RM@ -f |
24 |
|
|
CP = @CP@ |
25 |
|
|
LN = @LN@ |
26 |
|
|
SED = @SED@ |
27 |
|
|
AWK = @AWK@ |
28 |
|
|
ECHO = @ECHO@ |
29 |
|
|
CMP = @CMP@ |
30 |
|
|
TBL = @TBL@ |
31 |
|
|
PERL = @PERL@ |
32 |
|
|
INSTALL = @INSTALL@ |
33 |
|
|
INSTALL_PROGRAM = @INSTALL@ -m 755 |
34 |
|
|
INSTALL_DATA = @INSTALL@ -m 644 |
35 |
|
|
CXXFLAGS = @CXXFLAGS@ |
36 |
|
|
CPPFLAGS = @CPPFLAGS@ @XPM_CPPFLAGS@ |
37 |
|
|
LDFLAGS = @LDFLAGS@ |
38 |
|
|
DEFS = @DEFS@ |
39 |
|
|
LIBS = @LIBS@ |
40 |
|
|
DINCLUDE = @DINCLUDE@ |
41 |
|
|
DLIB = @DLIB@ |
42 |
|
|
XINC = @X_CFLAGS@ @XPM_CFLAGS@ |
43 |
|
|
XLIB = @X_LIBS@ @XPM_LIBS@ -lX11 @X_EXTRA_LIBS@ |
44 |
|
|
COMPILE = $(CXX) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS) $(DEBUG) $(DINCLUDE) $(XINC) -I$(basedir) -I$(srcdir) -I. |
45 |
|
|
LINK = @LINKER@ $(LDFLAGS) |
46 |
|
|
|
47 |
root |
1.11 |
VERNAME = rxvt-unicode-$(VERSION) |
48 |
|
|
|
49 |
pcg |
1.1 |
srcdir = @srcdir@ |
50 |
|
|
VPATH = @srcdir@ |
51 |
|
|
.PATH: @srcdir@ |
52 |
|
|
|
53 |
|
|
first_rule: all |
54 |
|
|
dummy: |
55 |
|
|
|
56 |
root |
1.10 |
subdirs = src doc |
57 |
root |
1.9 |
allsubdirs = $(subdirs) |
58 |
pcg |
1.1 |
|
59 |
|
|
DIST = INSTALL README.configure configure Makefile Makefile.in ChangeLog |
60 |
|
|
|
61 |
|
|
MKDIR = $(srcdir)/autoconf/mkinstalldirs |
62 |
|
|
|
63 |
|
|
#------------------------------------------------------------------------- |
64 |
|
|
|
65 |
|
|
all allbin alldoc tags: |
66 |
|
|
@for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done |
67 |
|
|
|
68 |
|
|
realclean: clean |
69 |
|
|
$(RMF) config.h config.status config.log libtool |
70 |
|
|
|
71 |
|
|
clean: |
72 |
|
|
$(RMF) *~ config.cache |
73 |
|
|
$(RMF) -r autom4te.cache |
74 |
|
|
@for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done |
75 |
|
|
|
76 |
|
|
# |
77 |
|
|
# entry points for other programs |
78 |
|
|
# |
79 |
|
|
rxvt: |
80 |
|
|
(cd src; ${MAKE}) |
81 |
|
|
|
82 |
|
|
tests: |
83 |
|
|
(cd src/test; ${MAKE} tests) |
84 |
|
|
|
85 |
|
|
#------------------------------------------------------------------------- |
86 |
|
|
configure: autoconf/configure.in autoconf/aclocal.m4 autoconf/config.h.in |
87 |
|
|
cd $(srcdir); |
88 |
|
|
./.prebuild |
89 |
|
|
|
90 |
|
|
config.status: |
91 |
|
|
if test -x config.status; then config.status --recheck; \ |
92 |
|
|
else $(SHELL) configure; fi |
93 |
|
|
|
94 |
|
|
autoconf/config.h.in: autoconf/configure.in |
95 |
|
|
cd $(srcdir); |
96 |
|
|
./.prebuild |
97 |
|
|
|
98 |
|
|
installdirs: |
99 |
|
|
$(MKDIR) $(DESTDIR)$(bindir) |
100 |
|
|
$(MKDIR) $(DESTDIR)$(mandir) |
101 |
|
|
|
102 |
|
|
install: installdirs |
103 |
|
|
@for I in $(subdirs); do (cd $$I; $(MAKE) DESTDIR=$(DESTDIR) $@) || exit 1; done |
104 |
|
|
|
105 |
root |
1.12 |
check: all |
106 |
|
|
echo "no tests" |
107 |
|
|
|
108 |
pcg |
1.1 |
Makefiles: |
109 |
|
|
$(SHELL) config.status |
110 |
|
|
|
111 |
|
|
cleandir: realclean |
112 |
|
|
|
113 |
|
|
# distclean goal is for making a clean source tree, but if you have run |
114 |
|
|
# configure from a different directory, then doesn't destroy all your |
115 |
|
|
# hardly compiled and linked stuff. That's why there is always $(srcdir)/ |
116 |
|
|
# In that case most of those commands do nothing, except cleaning *~ |
117 |
|
|
# and cleaning source links. |
118 |
|
|
distclean: |
119 |
|
|
(cd $(srcdir); $(RMF) *~ config.cache config.h config.log config.status libtool) |
120 |
|
|
@for I in $(allsubdirs); do (cd $$I; $(MAKE) $@) || exit 1; done |
121 |
ayin |
1.14 |
(cd $(srcdir); $(RMF) Makefile) |
122 |
pcg |
1.1 |
|
123 |
pcg |
1.3 |
distdir: |
124 |
root |
1.8 |
cd doc && $(MAKE) distdepend |
125 |
root |
1.13 |
cd src && $(MAKE) depend |
126 |
pcg |
1.3 |
rm -rf $(VERNAME) |
127 |
|
|
mkdir $(VERNAME) |
128 |
|
|
rsync -aR `cat MANIFEST` $(VERNAME)/. |
129 |
pcg |
1.1 |
|
130 |
pcg |
1.3 |
tar.gz: distdir |
131 |
|
|
tar cvf - $(VERNAME) | gzip -vf9 > $(VERNAME).tar.gz |
132 |
pcg |
1.4 |
rm -rf $(VERNAME) |
133 |
pcg |
1.1 |
|
134 |
pcg |
1.3 |
tar.bz2: distdir |
135 |
|
|
tar cvf - $(VERNAME) | bzip2 -vf9 > $(VERNAME).tar.bz2 |
136 |
pcg |
1.4 |
rm -rf $(VERNAME) |
137 |
pcg |
1.1 |
|
138 |
pcg |
1.3 |
dist: tar.bz2 |
139 |
pcg |
1.1 |
|
140 |
|
|
# ------------------------------------------------------------------------ |