sed -n -f $am_rmnl ${am_makefile}.am |
sed -n "/^[ ]*${am_file}_SOURCES[ ]*=/{
s/SOURCES/OBJECTS/
+s/@[^@]*@//g
+s/\$([^)]*)//g
+s/\${[^}]*}//g
s/\\.cc/.o/g
s/\\.\${kr}c/.o/g
s/\\.\$(kr)c/.o/g
rm -f *.o *.krc *.krh core
clean: mostlyclean
- rm -f $(PROGRAMS) $(LIBRARIES) $(TEXFILES) $(CLEANFILES)
+ rm -f $(PROGRAMS) $(LIBFILES) $(TEXFILES) $(CLEANFILES)
distclean: clean
- rm -f Makefile
+ rm -f Makefile *.tab.c $(DISTCLEANFILES)
realclean: distclean
rm -f TAGS
+
-CC = @CC@
-LEX = @LEX@
-YACC = @YACC@
-ANSI2KNR = ./ansi2knr
-
-DEFS = @DEFS@
-CFLAGS = @CFLAGS@
-
.SUFFIXES: .c .o .krc .krh
.c.o:
- $(CC) -c $(DEFS) $(CPPFLAGS) $(CFLAGS) $<
+ $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $<
.c.krc:
$(ANSI2KNR) $< > $@
.h.krh:
$(ANSI2KNR) $< > $@
+
-dist: $(DISTFILES)
- mkdir ../`cat ../distname`/src; chmod 777 ../`cat ../distname`/src
+dist: $(DIST_FILES)
+ mkdir ../`cat ../distname`/src
@echo "Copying distribution files"
- @for file in $(DISTFILES); do \
+ @for file in $(DIST_FILES); do \
cp -p $(srcdir)/$$file ../`cat ../distname`/src; \
done
+
-dist: $(DISTFILES)
+dist: $(DIST_FILES)
rm -rf `cat distname`; mkdir `cat distname`
@echo "Copying distribution files"
- @for file in $(DISTFILES); do \
+ @for file in $(DIST_FILES); do \
cp -p $(srcdir)/$$file `cat distname`; \
done
if test -n "$(SUBDIRS)"; then \
chmod -R a+r `cat distname`
tar -chozf `cat distname`.tar.gz `cat distname`
rm -rf `cat distname` distname
+
-check:
+check::
-tags: TAGS
+tags:: TAGS
+
+TAGS::
+ cd $(srcdir); etags $(SOURCES)
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
-TAGS:
- cd $(srcdir); etags *.[chlyCm] *.cc
SHELL = /bin/sh
srcdir = @srcdir@
+top_srcdir = @top_srcdir@
VPATH = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
-# Makefile generated automatically by automake from Makefile.am.
-# Copyright (C) 1994 Free Software Foundation, Inc.
+all:: ${ALL}
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
-SHELL = /bin/sh
-
-srcdir = @srcdir@
-VPATH = @srcdir@
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-transform = @program_transform_name@
-
-ALL = ${PROGRAMS} ${LIBRARIES}
-
-all: ${ALL}
rm -f *.o *.krc *.krh core
clean: mostlyclean
- rm -f $(PROGRAMS) $(LIBRARIES) $(TEXFILES) $(CLEANFILES)
+ rm -f $(PROGRAMS) $(LIBFILES) $(TEXFILES) $(CLEANFILES)
distclean: clean
- rm -f Makefile
+ rm -f Makefile *.tab.c $(DISTCLEANFILES)
realclean: distclean
rm -f TAGS
+
-CC = @CC@
-LEX = @LEX@
-YACC = @YACC@
-ANSI2KNR = ./ansi2knr
-
-DEFS = @DEFS@
-CFLAGS = @CFLAGS@
-
.SUFFIXES: .c .o .krc .krh
.c.o:
- $(CC) -c $(DEFS) $(CPPFLAGS) $(CFLAGS) $<
+ $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $<
.c.krc:
$(ANSI2KNR) $< > $@
.h.krh:
$(ANSI2KNR) $< > $@
+
-check:
+check::
-tags: TAGS
+tags:: TAGS
+
+TAGS::
+ cd $(srcdir); etags $(SOURCES)
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
-TAGS:
- cd $(srcdir); etags *.[chlyCm] *.cc
SHELL = /bin/sh
srcdir = @srcdir@
+top_srcdir = @top_srcdir@
VPATH = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
-# Makefile generated automatically by automake from Makefile.am.
-# Copyright (C) 1994 Free Software Foundation, Inc.
+all:: ${ALL}
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
-SHELL = /bin/sh
-
-srcdir = @srcdir@
-VPATH = @srcdir@
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-transform = @program_transform_name@
-
-ALL = ${PROGRAMS} ${LIBRARIES}
-
-all: ${ALL}
-lib@LIBRARY@.a: $(@LIBRARY@_OBJECTS)
+lib@LIBRARY@.a: $(@LIBRARY@_OBJECTS) @LIBOBJS@ @ALLOCA@
rm -f lib@LIBRARY@.a
- $(AR) cru lib@LIBRARY@.a $(@LIBRARY@_OBJECTS)
+ $(AR) cru lib@LIBRARY@.a $(@LIBRARY@_OBJECTS) @LIBOBJS@ @ALLOCA@
$(RANLIB) lib@LIBRARY@.a
mandir = $(prefix)/man
-catdir = $(prefix)/cat
NROFF = nroff
-mandir = $(prefix)/man
-catdir = $(prefix)/cat
-
-NROFF = nroff
-
install:: install-man
install-man:
for man in $(MANS); do \
- sect=`echo $$man|sed 's%.*\(\.[0-9][a-z]*\)$$%\1%'; \
- inst=`basename $$man $sect|sed '$(transform)'`.$$sect; \
+ sect=`echo $$man|sed 's%.*\.\([0-9][a-z]*\)$$%\1%'`; \
+ inst=`basename $$man $$sect|sed '$(transform)'`$$sect; \
mdir=$(mandir)/man$$sect; \
+ $(top_srcdir)/mkinstalldirs $(mdir); \
echo installing $$man as $$mdir/$$inst; \
$(INSTALL_DATA) $(srcdir)/$$man $$mdir/$$inst; \
- if test -d $(catdir); then
- cdir=$(mandir)/cat$$sect; \
+ cdir=$(mandir)/cat$$sect; \
+ if test -d $$cdir; then \
echo formatting $$man as $$cdir/$$inst; \
$(NROFF) -man $(srcdir)/$$man > $$cdir/$$inst; \
fi; \
cdir=$(mandir)/cat$$sect; \
rm -f $$mdir/$$inst $$cdir/$$inst; \
done
+
stamp-h.in: configure.in ${ACLOCAL} ${ACCONFIG} ${CONFIG_TOP} ${CONFIG_BOT}
cd $(srcdir); autoheader
date > $(srcdir)/stamp-h.in
+
@SET_MAKE@
-all install install-info uninstall check tags TAGS info dvi:
+all install install-info uninstall check tags TAGS info dvi::
for subdir in $(SUBDIRS); do \
- echo making $@ in $$dir ; \
+ echo making $@ in $$subdir ; \
(cd $$subdir; $(MAKE) $@); \
done
rm -f ${CONFIG_H} stamp-h
realclean-local: distclean-local
+
-MAKEINFO = makeinfo
-TEXI2DVI = texi2dvi
-infodir = $(prefix)/info
-
-TEXFILES = *.aux *.cp *.cps *.dvi *.fn *.fns *.ky *.log *.pg *.toc *.tp *.vr
-
.SUFFIXES: .texi .info .dvi
.texi.info:
$(MAKEINFO) $<
install:: install-info
install-info:
+ $(top_srcdir)/mkinstalldirs $(infodir)
cd $(srcdir); for file in *.info*; do \
$(INSTALL_DATA) $$file $(infodir)/$$file; \
done
-libdir = $(exec_prefix)/lib
+install:: install-libraries
+
+install-libraries:
+
+uninstall:: uninstall-libraries
+
+uninstall-libraries:
-AR = ar
-RANLIB = @RANLIB@
-ALLOCA = @ALLOCA@
-LIBOBJS = @LIBOBJS@
-lib@LIBRARY@.a: $(@LIBRARY@_OBJECTS)
+lib@LIBRARY@.a: $(@LIBRARY@_OBJECTS) @LIBOBJS@ @ALLOCA@
rm -f lib@LIBRARY@.a
- $(AR) cru lib@LIBRARY@.a $(@LIBRARY@_OBJECTS)
+ $(AR) cru lib@LIBRARY@.a $(@LIBRARY@_OBJECTS) @LIBOBJS@ @ALLOCA@
$(RANLIB) lib@LIBRARY@.a
mandir = $(prefix)/man
-catdir = $(prefix)/cat
NROFF = nroff
-mandir = $(prefix)/man
-catdir = $(prefix)/cat
-
-NROFF = nroff
-
install:: install-man
install-man:
for man in $(MANS); do \
- sect=`echo $$man|sed 's%.*\(\.[0-9][a-z]*\)$$%\1%'; \
- inst=`basename $$man $sect|sed '$(transform)'`.$$sect; \
+ sect=`echo $$man|sed 's%.*\.\([0-9][a-z]*\)$$%\1%'`; \
+ inst=`basename $$man $$sect|sed '$(transform)'`$$sect; \
mdir=$(mandir)/man$$sect; \
+ $(top_srcdir)/mkinstalldirs $(mdir); \
echo installing $$man as $$mdir/$$inst; \
$(INSTALL_DATA) $(srcdir)/$$man $$mdir/$$inst; \
- if test -d $(catdir); then
- cdir=$(mandir)/cat$$sect; \
+ cdir=$(mandir)/cat$$sect; \
+ if test -d $$cdir; then \
echo formatting $$man as $$cdir/$$inst; \
$(NROFF) -man $(srcdir)/$$man > $$cdir/$$inst; \
fi; \
cdir=$(mandir)/cat$$sect; \
rm -f $$mdir/$$inst $$cdir/$$inst; \
done
+
-bindir = $(exec_prefix)/bin
-LDFLAGS = @LDFLAGS@
-LIBS = @LIBS@
-
install:: install-programs
install-programs: $(PROGRAMS)
- for p in $(PROGRAMS); do \
- $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
- done
+ $(top_srcdir)/mkinstalldirs $(bindir)
+ for p in $(PROGRAMS); do \
+ $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
+ done
uninstall:: uninstall-programs
uninstall-programs:
- for p in $(PROGRAMS); do \
- rm -f $(bindir)/`echo $$p|sed '$(transform)'`; \
- done
+ for p in $(PROGRAMS); do \
+ rm -f $(bindir)/`echo $$p|sed '$(transform)'`; \
+ done
+
stamp-h.in: configure.in ${ACLOCAL} ${ACCONFIG} ${CONFIG_TOP} ${CONFIG_BOT}
cd $(srcdir); autoheader
date > $(srcdir)/stamp-h.in
+
Makefile: ../config.status Makefile.in
cd ..; CONFIG_FILES=src/$@ CONFIG_HEADERS= ./config.status
+
./config.status --recheck
configure: configure.in ${ACLOCAL}
cd $(srcdir); autoconf
+
@SET_MAKE@
-all install install-info uninstall check tags TAGS info dvi:
+all install install-info uninstall check tags TAGS info dvi::
for subdir in $(SUBDIRS); do \
- echo making $@ in $$dir ; \
+ echo making $@ in $$subdir ; \
(cd $$subdir; $(MAKE) $@); \
done
rm -f ${CONFIG_H} stamp-h
realclean-local: distclean-local
+
-MAKEINFO = makeinfo
-TEXI2DVI = texi2dvi
-infodir = $(prefix)/info
-
-TEXFILES = *.aux *.cp *.cps *.dvi *.fn *.fns *.ky *.log *.pg *.toc *.tp *.vr
-
.SUFFIXES: .texi .info .dvi
.texi.info:
$(MAKEINFO) $<
install:: install-info
install-info:
+ $(top_srcdir)/mkinstalldirs $(infodir)
cd $(srcdir); for file in *.info*; do \
$(INSTALL_DATA) $$file $(infodir)/$$file; \
done