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