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 |
ayin |
1.21 |
CXXFLAGS = @CXXFLAGS@ |
34 |
ayin |
1.15 |
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 |
ayin |
1.22 |
distclean realclean: distclean-local |
67 |
pcg |
1.1 |
|
68 |
ayin |
1.22 |
clean distclean realclean: |
69 |
pcg |
1.1 |
@for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done |
70 |
|
|
|
71 |
|
|
# |
72 |
|
|
# entry points for other programs |
73 |
|
|
# |
74 |
|
|
rxvt: |
75 |
|
|
(cd src; ${MAKE}) |
76 |
|
|
|
77 |
|
|
tests: |
78 |
|
|
(cd src/test; ${MAKE} tests) |
79 |
|
|
|
80 |
|
|
#------------------------------------------------------------------------- |
81 |
root |
1.17 |
configure: configure.ac aclocal.m4 config.h.in |
82 |
|
|
cd $(srcdir); ./autogen.sh |
83 |
pcg |
1.1 |
|
84 |
|
|
config.status: |
85 |
|
|
if test -x config.status; then config.status --recheck; \ |
86 |
|
|
else $(SHELL) configure; fi |
87 |
|
|
|
88 |
root |
1.17 |
config.h.in: configure.ac |
89 |
|
|
cd $(srcdir); ./autogen.sh |
90 |
pcg |
1.1 |
|
91 |
|
|
installdirs: |
92 |
|
|
$(MKDIR) $(DESTDIR)$(bindir) |
93 |
|
|
$(MKDIR) $(DESTDIR)$(mandir) |
94 |
|
|
|
95 |
|
|
install: installdirs |
96 |
|
|
@for I in $(subdirs); do (cd $$I; $(MAKE) DESTDIR=$(DESTDIR) $@) || exit 1; done |
97 |
|
|
|
98 |
root |
1.12 |
check: all |
99 |
|
|
echo "no tests" |
100 |
|
|
|
101 |
pcg |
1.1 |
Makefiles: |
102 |
|
|
$(SHELL) config.status |
103 |
|
|
|
104 |
|
|
cleandir: realclean |
105 |
|
|
|
106 |
|
|
# distclean goal is for making a clean source tree, but if you have run |
107 |
|
|
# configure from a different directory, then doesn't destroy all your |
108 |
|
|
# hardly compiled and linked stuff. That's why there is always $(srcdir)/ |
109 |
|
|
# In that case most of those commands do nothing, except cleaning *~ |
110 |
|
|
# and cleaning source links. |
111 |
ayin |
1.22 |
distclean-local: |
112 |
ayin |
1.20 |
rm -f *~ config.cache config.h config.log config.status libtool |
113 |
sasha |
1.19 |
rm -f Makefile |
114 |
ayin |
1.20 |
|
115 |
pcg |
1.3 |
distdir: |
116 |
root |
1.8 |
cd doc && $(MAKE) distdepend |
117 |
root |
1.13 |
cd src && $(MAKE) depend |
118 |
pcg |
1.3 |
rm -rf $(VERNAME) |
119 |
|
|
mkdir $(VERNAME) |
120 |
|
|
rsync -aR `cat MANIFEST` $(VERNAME)/. |
121 |
pcg |
1.1 |
|
122 |
pcg |
1.3 |
tar.gz: distdir |
123 |
|
|
tar cvf - $(VERNAME) | gzip -vf9 > $(VERNAME).tar.gz |
124 |
pcg |
1.4 |
rm -rf $(VERNAME) |
125 |
pcg |
1.1 |
|
126 |
pcg |
1.3 |
tar.bz2: distdir |
127 |
|
|
tar cvf - $(VERNAME) | bzip2 -vf9 > $(VERNAME).tar.bz2 |
128 |
pcg |
1.4 |
rm -rf $(VERNAME) |
129 |
pcg |
1.1 |
|
130 |
pcg |
1.3 |
dist: tar.bz2 |
131 |
pcg |
1.1 |
|
132 |
|
|
# ------------------------------------------------------------------------ |