1 |
# ./Makefile.in -*- Makefile -*- |
2 |
|
3 |
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 |
VERNAME = rxvt-unicode-$(VERSION) |
48 |
|
49 |
srcdir = @srcdir@ |
50 |
VPATH = @srcdir@ |
51 |
.PATH: @srcdir@ |
52 |
|
53 |
first_rule: all |
54 |
dummy: |
55 |
|
56 |
subdirs = src doc |
57 |
allsubdirs = $(subdirs) |
58 |
|
59 |
DIST = INSTALL README.configure configure Makefile Makefile.in ChangeLog |
60 |
|
61 |
MKDIR = $(srcdir)/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: configure.ac aclocal.m4 config.h.in |
87 |
cd $(srcdir); ./autogen.sh |
88 |
|
89 |
config.status: |
90 |
if test -x config.status; then config.status --recheck; \ |
91 |
else $(SHELL) configure; fi |
92 |
|
93 |
config.h.in: configure.ac |
94 |
cd $(srcdir); ./autogen.sh |
95 |
|
96 |
installdirs: |
97 |
$(MKDIR) $(DESTDIR)$(bindir) |
98 |
$(MKDIR) $(DESTDIR)$(mandir) |
99 |
|
100 |
install: installdirs |
101 |
@for I in $(subdirs); do (cd $$I; $(MAKE) DESTDIR=$(DESTDIR) $@) || exit 1; done |
102 |
|
103 |
check: all |
104 |
echo "no tests" |
105 |
|
106 |
Makefiles: |
107 |
$(SHELL) config.status |
108 |
|
109 |
cleandir: realclean |
110 |
|
111 |
# distclean goal is for making a clean source tree, but if you have run |
112 |
# configure from a different directory, then doesn't destroy all your |
113 |
# hardly compiled and linked stuff. That's why there is always $(srcdir)/ |
114 |
# In that case most of those commands do nothing, except cleaning *~ |
115 |
# and cleaning source links. |
116 |
distclean: |
117 |
(cd $(srcdir); $(RMF) *~ config.cache config.h config.log config.status libtool) |
118 |
@for I in $(allsubdirs); do (cd $$I; $(MAKE) $@) || exit 1; done |
119 |
(cd $(srcdir); $(RMF) Makefile) |
120 |
|
121 |
distdir: |
122 |
cd doc && $(MAKE) distdepend |
123 |
cd src && $(MAKE) depend |
124 |
rm -rf $(VERNAME) |
125 |
mkdir $(VERNAME) |
126 |
rsync -aR `cat MANIFEST` $(VERNAME)/. |
127 |
|
128 |
tar.gz: distdir |
129 |
tar cvf - $(VERNAME) | gzip -vf9 > $(VERNAME).tar.gz |
130 |
rm -rf $(VERNAME) |
131 |
|
132 |
tar.bz2: distdir |
133 |
tar cvf - $(VERNAME) | bzip2 -vf9 > $(VERNAME).tar.bz2 |
134 |
rm -rf $(VERNAME) |
135 |
|
136 |
dist: tar.bz2 |
137 |
|
138 |
# ------------------------------------------------------------------------ |