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 |
|
|
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 |
root |
1.11 |
VERNAME = rxvt-unicode-$(VERSION) |
46 |
|
|
|
47 |
pcg |
1.1 |
srcdir = @srcdir@ |
48 |
|
|
VPATH = @srcdir@ |
49 |
|
|
.PATH: @srcdir@ |
50 |
|
|
|
51 |
|
|
first_rule: all |
52 |
|
|
dummy: |
53 |
|
|
|
54 |
root |
1.10 |
subdirs = src doc |
55 |
root |
1.9 |
allsubdirs = $(subdirs) |
56 |
pcg |
1.1 |
|
57 |
|
|
DIST = INSTALL README.configure configure Makefile Makefile.in ChangeLog |
58 |
|
|
|
59 |
root |
1.17 |
MKDIR = $(srcdir)/mkinstalldirs |
60 |
pcg |
1.1 |
|
61 |
|
|
#------------------------------------------------------------------------- |
62 |
|
|
|
63 |
|
|
all allbin alldoc tags: |
64 |
|
|
@for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done |
65 |
|
|
|
66 |
|
|
realclean: clean |
67 |
ayin |
1.18 |
rm -f config.h config.status config.log libtool |
68 |
pcg |
1.1 |
|
69 |
|
|
clean: |
70 |
ayin |
1.18 |
rm -f *~ config.cache |
71 |
|
|
rm -f -r autom4te.cache |
72 |
pcg |
1.1 |
@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 |
root |
1.17 |
configure: configure.ac aclocal.m4 config.h.in |
85 |
|
|
cd $(srcdir); ./autogen.sh |
86 |
pcg |
1.1 |
|
87 |
|
|
config.status: |
88 |
|
|
if test -x config.status; then config.status --recheck; \ |
89 |
|
|
else $(SHELL) configure; fi |
90 |
|
|
|
91 |
root |
1.17 |
config.h.in: configure.ac |
92 |
|
|
cd $(srcdir); ./autogen.sh |
93 |
pcg |
1.1 |
|
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 |
root |
1.12 |
check: all |
102 |
|
|
echo "no tests" |
103 |
|
|
|
104 |
pcg |
1.1 |
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 |
ayin |
1.18 |
(cd $(srcdir); rm -f *~ config.cache config.h config.log config.status libtool) |
116 |
pcg |
1.1 |
@for I in $(allsubdirs); do (cd $$I; $(MAKE) $@) || exit 1; done |
117 |
ayin |
1.18 |
(cd $(srcdir); rm -f Makefile) |
118 |
pcg |
1.1 |
|
119 |
pcg |
1.3 |
distdir: |
120 |
root |
1.8 |
cd doc && $(MAKE) distdepend |
121 |
root |
1.13 |
cd src && $(MAKE) depend |
122 |
pcg |
1.3 |
rm -rf $(VERNAME) |
123 |
|
|
mkdir $(VERNAME) |
124 |
|
|
rsync -aR `cat MANIFEST` $(VERNAME)/. |
125 |
pcg |
1.1 |
|
126 |
pcg |
1.3 |
tar.gz: distdir |
127 |
|
|
tar cvf - $(VERNAME) | gzip -vf9 > $(VERNAME).tar.gz |
128 |
pcg |
1.4 |
rm -rf $(VERNAME) |
129 |
pcg |
1.1 |
|
130 |
pcg |
1.3 |
tar.bz2: distdir |
131 |
|
|
tar cvf - $(VERNAME) | bzip2 -vf9 > $(VERNAME).tar.bz2 |
132 |
pcg |
1.4 |
rm -rf $(VERNAME) |
133 |
pcg |
1.1 |
|
134 |
pcg |
1.3 |
dist: tar.bz2 |
135 |
pcg |
1.1 |
|
136 |
|
|
# ------------------------------------------------------------------------ |