… | |
… | |
13 | man1ext = 1 |
13 | man1ext = 1 |
14 | man3dir = @mandir@/man3 |
14 | man3dir = @mandir@/man3 |
15 | man3ext = 3 |
15 | man3ext = 3 |
16 | man7dir = @mandir@/man7 |
16 | man7dir = @mandir@/man7 |
17 | man7ext = 7 |
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@ |
18 | PERL = @PERL@ |
30 | INSTALL = @INSTALL@ |
19 | INSTALL = @INSTALL@ |
31 | INSTALL_PROGRAM = @INSTALL@ -m 755 |
20 | INSTALL_PROGRAM = @INSTALL@ -m 755 |
32 | INSTALL_DATA = @INSTALL@ -m 644 |
21 | 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 | |
22 | |
45 | VERNAME = rxvt-unicode-$(VERSION) |
23 | VERNAME = rxvt-unicode-$(VERSION) |
46 | |
24 | |
47 | srcdir = @srcdir@ |
25 | srcdir = @srcdir@ |
48 | VPATH = @srcdir@ |
26 | VPATH = @srcdir@ |
49 | .PATH: @srcdir@ |
|
|
50 | |
27 | |
51 | first_rule: all |
28 | first_rule: all |
52 | dummy: |
29 | dummy: |
53 | |
30 | |
54 | subdirs = src doc |
31 | subdirs = src doc |
55 | allsubdirs = $(subdirs) |
|
|
56 | |
|
|
57 | DIST = INSTALL README.configure configure Makefile Makefile.in ChangeLog |
|
|
58 | |
|
|
59 | MKDIR = $(srcdir)/mkinstalldirs |
|
|
60 | |
32 | |
61 | #------------------------------------------------------------------------- |
33 | #------------------------------------------------------------------------- |
62 | |
34 | |
63 | all allbin alldoc tags: |
35 | all allbin alldoc tags: |
64 | @for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done |
36 | @for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done |
… | |
… | |
72 | # entry points for other programs |
44 | # entry points for other programs |
73 | # |
45 | # |
74 | rxvt: |
46 | rxvt: |
75 | (cd src; ${MAKE}) |
47 | (cd src; ${MAKE}) |
76 | |
48 | |
77 | tests: |
|
|
78 | (cd src/test; ${MAKE} tests) |
|
|
79 | |
|
|
80 | #------------------------------------------------------------------------- |
49 | #------------------------------------------------------------------------- |
81 | configure: configure.ac aclocal.m4 config.h.in |
50 | configure: configure.ac aclocal.m4 config.h.in |
82 | cd $(srcdir); ./autogen.sh |
51 | cd $(srcdir); ./autogen.sh |
83 | |
52 | |
84 | config.status: |
53 | config.status: |
… | |
… | |
86 | else $(SHELL) configure; fi |
55 | else $(SHELL) configure; fi |
87 | |
56 | |
88 | config.h.in: configure.ac |
57 | config.h.in: configure.ac |
89 | cd $(srcdir); ./autogen.sh |
58 | cd $(srcdir); ./autogen.sh |
90 | |
59 | |
91 | installdirs: |
60 | install: |
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 |
61 | @for I in $(subdirs); do (cd $$I; $(MAKE) DESTDIR=$(DESTDIR) $@) || exit 1; done |
97 | |
62 | |
98 | check: all |
63 | check: all |
99 | echo "no tests" |
64 | echo "no tests" |
100 | |
65 | |
101 | Makefiles: |
66 | Makefiles: |
102 | $(SHELL) config.status |
67 | $(SHELL) config.status |
103 | |
68 | |
104 | cleandir: realclean |
69 | cleandir: realclean |
105 | |
70 | |
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 | distclean-local: |
71 | distclean-local: |
112 | rm -f *~ config.cache config.h config.log config.status libtool |
72 | rm -f *~ config.cache config.h config.log config.status libtool |
113 | rm -f Makefile |
73 | rm -f Makefile |
114 | |
74 | |
115 | distdir: |
75 | distdir: |