… | |
… | |
17 | man7ext = 7 |
17 | man7ext = 7 |
18 | CC = @CC@ |
18 | CC = @CC@ |
19 | CXX = @CXX@ |
19 | CXX = @CXX@ |
20 | CPP = @CPP@ |
20 | CPP = @CPP@ |
21 | MV = @MV@ |
21 | MV = @MV@ |
22 | RM = @RM@ |
|
|
23 | RMF = @RM@ -f |
|
|
24 | CP = @CP@ |
22 | CP = @CP@ |
25 | LN = @LN@ |
23 | LN = @LN@ |
26 | SED = @SED@ |
24 | SED = @SED@ |
27 | AWK = @AWK@ |
25 | AWK = @AWK@ |
28 | ECHO = @ECHO@ |
26 | ECHO = @ECHO@ |
… | |
… | |
30 | TBL = @TBL@ |
28 | TBL = @TBL@ |
31 | PERL = @PERL@ |
29 | PERL = @PERL@ |
32 | INSTALL = @INSTALL@ |
30 | INSTALL = @INSTALL@ |
33 | INSTALL_PROGRAM = @INSTALL@ -m 755 |
31 | INSTALL_PROGRAM = @INSTALL@ -m 755 |
34 | INSTALL_DATA = @INSTALL@ -m 644 |
32 | INSTALL_DATA = @INSTALL@ -m 644 |
35 | CXXFLAGS = @CXXFLAGS@ |
33 | CXXFLAGS = @CXXFLAGS@ |
36 | CPPFLAGS = @CPPFLAGS@ @XPM_CPPFLAGS@ |
34 | CPPFLAGS = @CPPFLAGS@ @XPM_CPPFLAGS@ |
37 | LDFLAGS = @LDFLAGS@ |
35 | LDFLAGS = @LDFLAGS@ |
38 | DEFS = @DEFS@ |
36 | DEFS = @DEFS@ |
39 | LIBS = @LIBS@ |
37 | LIBS = @LIBS@ |
40 | DINCLUDE = @DINCLUDE@ |
38 | DINCLUDE = @DINCLUDE@ |
… | |
… | |
56 | subdirs = src doc |
54 | subdirs = src doc |
57 | allsubdirs = $(subdirs) |
55 | allsubdirs = $(subdirs) |
58 | |
56 | |
59 | DIST = INSTALL README.configure configure Makefile Makefile.in ChangeLog |
57 | DIST = INSTALL README.configure configure Makefile Makefile.in ChangeLog |
60 | |
58 | |
61 | DIST_CFG = autoconf/aclocal.m4 autoconf/xpm.m4 autoconf/libtool.m4 \ |
|
|
62 | autoconf/configure.in autoconf/config.h.in \ |
|
|
63 | autoconf/install-sh autoconf/mkinstalldirs \ |
|
|
64 | autoconf/config.guess autoconf/config.sub \ |
|
|
65 | autoconf/ltmain.sh \ |
|
|
66 | |
|
|
67 | MKDIR = $(srcdir)/autoconf/mkinstalldirs |
59 | MKDIR = $(srcdir)/mkinstalldirs |
68 | |
60 | |
69 | #------------------------------------------------------------------------- |
61 | #------------------------------------------------------------------------- |
70 | |
62 | |
71 | all allbin alldoc tags: |
63 | all allbin alldoc tags: |
72 | @for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done |
64 | @for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done |
73 | |
65 | |
74 | realclean: clean |
66 | distclean realclean: distclean-local |
75 | $(RMF) config.h config.status config.log libtool |
|
|
76 | |
67 | |
77 | clean: |
68 | clean distclean realclean: |
78 | $(RMF) *~ config.cache |
|
|
79 | $(RMF) -r autom4te.cache |
|
|
80 | @for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done |
69 | @for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done |
81 | |
70 | |
82 | # |
71 | # |
83 | # entry points for other programs |
72 | # entry points for other programs |
84 | # |
73 | # |
… | |
… | |
87 | |
76 | |
88 | tests: |
77 | tests: |
89 | (cd src/test; ${MAKE} tests) |
78 | (cd src/test; ${MAKE} tests) |
90 | |
79 | |
91 | #------------------------------------------------------------------------- |
80 | #------------------------------------------------------------------------- |
92 | configure: autoconf/configure.in autoconf/aclocal.m4 autoconf/config.h.in |
81 | configure: configure.ac aclocal.m4 config.h.in |
93 | cd $(srcdir); |
82 | cd $(srcdir); ./autogen.sh |
94 | ./.prebuild |
|
|
95 | |
83 | |
96 | config.status: |
84 | config.status: |
97 | if test -x config.status; then config.status --recheck; \ |
85 | if test -x config.status; then config.status --recheck; \ |
98 | else $(SHELL) configure; fi |
86 | else $(SHELL) configure; fi |
99 | |
87 | |
100 | autoconf/config.h.in: autoconf/configure.in |
88 | config.h.in: configure.ac |
101 | cd $(srcdir); |
89 | cd $(srcdir); ./autogen.sh |
102 | ./.prebuild |
|
|
103 | |
90 | |
104 | installdirs: |
91 | installdirs: |
105 | $(MKDIR) $(DESTDIR)$(bindir) |
92 | $(MKDIR) $(DESTDIR)$(bindir) |
106 | $(MKDIR) $(DESTDIR)$(mandir) |
93 | $(MKDIR) $(DESTDIR)$(mandir) |
107 | |
94 | |
… | |
… | |
119 | # distclean goal is for making a clean source tree, but if you have run |
106 | # distclean goal is for making a clean source tree, but if you have run |
120 | # configure from a different directory, then doesn't destroy all your |
107 | # configure from a different directory, then doesn't destroy all your |
121 | # hardly compiled and linked stuff. That's why there is always $(srcdir)/ |
108 | # hardly compiled and linked stuff. That's why there is always $(srcdir)/ |
122 | # In that case most of those commands do nothing, except cleaning *~ |
109 | # In that case most of those commands do nothing, except cleaning *~ |
123 | # and cleaning source links. |
110 | # and cleaning source links. |
124 | distclean: |
111 | distclean-local: |
125 | (cd $(srcdir); $(RMF) *~ config.cache config.h config.log config.status libtool) |
112 | rm -f *~ config.cache config.h config.log config.status libtool |
126 | @for I in $(allsubdirs); do (cd $$I; $(MAKE) $@) || exit 1; done |
113 | rm -f Makefile |
127 | (cd $(srcdir); $(RMF) Makefile) |
|
|
128 | |
114 | |
129 | distdir: |
115 | distdir: |
130 | cd doc && $(MAKE) distdepend |
116 | cd doc && $(MAKE) distdepend |
131 | cd src && $(MAKE) depend |
117 | cd src && $(MAKE) depend |
132 | rm -rf $(VERNAME) |
118 | rm -rf $(VERNAME) |