432 lines
12 KiB
Makefile
432 lines
12 KiB
Makefile
# Makefile.in generated automatically by automake 1.4a from Makefile.am
|
|
|
|
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
|
|
# Free Software Foundation, Inc.
|
|
# This Makefile.in is free software; the Free Software Foundation
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
# with or without modifications, as long as this notice is preserved.
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
|
# PARTICULAR PURPOSE.
|
|
|
|
SHELL = @SHELL@
|
|
|
|
srcdir = @srcdir@
|
|
top_srcdir = @top_srcdir@
|
|
VPATH = @srcdir@
|
|
prefix = @prefix@
|
|
exec_prefix = @exec_prefix@
|
|
|
|
bindir = @bindir@
|
|
sbindir = @sbindir@
|
|
sysconfdir = @sysconfdir@
|
|
sharedstatedir = @sharedstatedir@
|
|
localstatedir = @localstatedir@
|
|
libdir = @libdir@
|
|
infodir = @infodir@
|
|
mandir = @mandir@
|
|
includedir = @includedir@
|
|
oldincludedir = /usr/include
|
|
|
|
pkgdatadir = $(datadir)/@PACKAGE@
|
|
pkglibdir = $(libdir)/@PACKAGE@
|
|
pkgincludedir = $(includedir)/@PACKAGE@
|
|
|
|
top_builddir = ..
|
|
|
|
ACLOCAL = @ACLOCAL@
|
|
AUTOCONF = @AUTOCONF@
|
|
AUTOMAKE = @AUTOMAKE@
|
|
AUTOHEADER = @AUTOHEADER@
|
|
|
|
INSTALL = @INSTALL@
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
|
INSTALL_STRIP_FLAG =
|
|
transform = @program_transform_name@
|
|
|
|
NORMAL_INSTALL = :
|
|
PRE_INSTALL = :
|
|
POST_INSTALL = :
|
|
NORMAL_UNINSTALL = :
|
|
PRE_UNINSTALL = :
|
|
POST_UNINSTALL = :
|
|
|
|
@SET_MAKE@
|
|
AMDEP = @AMDEP@
|
|
AMTAR = @AMTAR@
|
|
AWK = @AWK@
|
|
CATALOGS = @CATALOGS@
|
|
CATOBJEXT = @CATOBJEXT@
|
|
CC = @CC@
|
|
CFLAGS = @CFLAGS@
|
|
CPP = @CPP@
|
|
CXX = @CXX@
|
|
CXXCPP = @CXXCPP@
|
|
DATADIRNAME = @DATADIRNAME@
|
|
DEPDIR = @DEPDIR@
|
|
GENCAT = @GENCAT@
|
|
GMOFILES = @GMOFILES@
|
|
GMSGFMT = @GMSGFMT@
|
|
GT_NO = @GT_NO@
|
|
GT_YES = @GT_YES@
|
|
INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
|
|
INSTOBJEXT = @INSTOBJEXT@
|
|
INTLDEPS = @INTLDEPS@
|
|
INTLLIBS = @INTLLIBS@
|
|
INTLOBJS = @INTLOBJS@
|
|
LN_S = @LN_S@
|
|
MAKEINFO = @MAKEINFO@
|
|
MKINSTALLDIRS = @MKINSTALLDIRS@
|
|
MSGFMT = @MSGFMT@
|
|
PACKAGE = @PACKAGE@
|
|
POFILES = @POFILES@
|
|
POSUB = @POSUB@
|
|
RANLIB = @RANLIB@
|
|
SOCKET_LIBS = @SOCKET_LIBS@
|
|
U = @U@
|
|
USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
|
|
USE_NLS = @USE_NLS@
|
|
VERSION = @VERSION@
|
|
YACC = @YACC@
|
|
install_sh = @install_sh@
|
|
l = @l@
|
|
|
|
#
|
|
# awklib/Makefile.am --- automake input file for gawk
|
|
#
|
|
# Copyright (C) 1995-2001 the Free Software Foundation, Inc.
|
|
#
|
|
# This file is part of GAWK, the GNU implementation of the
|
|
# AWK Programming Language.
|
|
#
|
|
# GAWK 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 of the License, or
|
|
# (at your option) any later version.
|
|
#
|
|
# GAWK 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
|
#
|
|
|
|
|
|
EXTRA_DIST = ChangeLog extract.awk eg stamp-eg
|
|
|
|
datadir = @datadir@/awk
|
|
libexecdir = @libexecdir@/awk
|
|
|
|
bin_SCRIPTS = igawk
|
|
libexec_PROGRAMS = pwcat grcat
|
|
AUXAWK = passwd.awk group.awk
|
|
nodist_grcat_SOURCES = grcat.c
|
|
nodist_pwcat_SOURCES = pwcat.c
|
|
subdir = awklib
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
|
CONFIG_HEADER = ../config.h
|
|
CONFIG_CLEAN_FILES =
|
|
PROGRAMS = $(libexec_PROGRAMS)
|
|
|
|
|
|
DEFS = @DEFS@ -I. -I$(srcdir) -I..
|
|
CPPFLAGS = @CPPFLAGS@
|
|
LDFLAGS = @LDFLAGS@
|
|
LIBS = @LIBS@
|
|
nodist_grcat_OBJECTS = grcat.o
|
|
grcat_OBJECTS = $(nodist_grcat_OBJECTS)
|
|
grcat_LDADD = $(LDADD)
|
|
grcat_DEPENDENCIES =
|
|
grcat_LDFLAGS =
|
|
nodist_pwcat_OBJECTS = pwcat.o
|
|
pwcat_OBJECTS = $(nodist_pwcat_OBJECTS)
|
|
pwcat_LDADD = $(LDADD)
|
|
pwcat_DEPENDENCIES =
|
|
pwcat_LDFLAGS =
|
|
SCRIPTS = $(bin_SCRIPTS)
|
|
|
|
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
CCLD = $(CC)
|
|
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
|
DIST_SOURCES =
|
|
depcomp = $(SHELL) $(top_srcdir)/depcomp
|
|
DEP_FILES = @AMDEP@ $(DEPDIR)/grcat.Po $(DEPDIR)/pwcat.Po
|
|
DIST_COMMON = ChangeLog Makefile.am Makefile.in
|
|
|
|
|
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
|
|
|
GZIP_ENV = --best
|
|
SOURCES = $(nodist_grcat_SOURCES) $(nodist_pwcat_SOURCES)
|
|
OBJECTS = $(nodist_grcat_OBJECTS) $(nodist_pwcat_OBJECTS)
|
|
|
|
all: all-redirect
|
|
.SUFFIXES:
|
|
.SUFFIXES: .c .o
|
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
|
cd $(top_srcdir) && $(AUTOMAKE) --gnu awklib/Makefile
|
|
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
cd $(top_builddir) \
|
|
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
|
|
|
|
mostlyclean-libexecPROGRAMS:
|
|
|
|
clean-libexecPROGRAMS:
|
|
-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
|
|
|
|
distclean-libexecPROGRAMS:
|
|
|
|
maintainer-clean-libexecPROGRAMS:
|
|
|
|
install-libexecPROGRAMS: $(libexec_PROGRAMS)
|
|
@$(NORMAL_INSTALL)
|
|
$(mkinstalldirs) $(DESTDIR)$(libexecdir)
|
|
@list='$(libexec_PROGRAMS)'; for p in $$list; do \
|
|
if test -f $$p; then \
|
|
f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
|
|
echo " $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f"; \
|
|
$(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f; \
|
|
else :; fi; \
|
|
done
|
|
|
|
uninstall-libexecPROGRAMS:
|
|
@$(NORMAL_UNINSTALL)
|
|
@list='$(libexec_PROGRAMS)'; for p in $$list; do \
|
|
f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
|
|
echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
|
|
rm -f $(DESTDIR)$(libexecdir)/$$f; \
|
|
done
|
|
|
|
mostlyclean-compile:
|
|
-rm -f *.o core *.core
|
|
|
|
clean-compile:
|
|
|
|
distclean-compile:
|
|
-rm -f *.tab.c
|
|
|
|
maintainer-clean-compile:
|
|
|
|
install-binSCRIPTS: $(bin_SCRIPTS)
|
|
@$(NORMAL_INSTALL)
|
|
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
|
@list='$(bin_SCRIPTS)'; for p in $$list; do \
|
|
f="`echo $$p|sed '$(transform)'`"; \
|
|
if test -f $$p; then \
|
|
echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/$$f"; \
|
|
$(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/$$f; \
|
|
elif test -f $(srcdir)/$$p; then \
|
|
echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/$$f"; \
|
|
$(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/$$f; \
|
|
else :; fi; \
|
|
done
|
|
|
|
uninstall-binSCRIPTS:
|
|
@$(NORMAL_UNINSTALL)
|
|
@list='$(bin_SCRIPTS)'; for p in $$list; do \
|
|
f="`echo $$p|sed '$(transform)'`"; \
|
|
echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
|
|
rm -f $(DESTDIR)$(bindir)/$$f; \
|
|
done
|
|
|
|
tags: TAGS
|
|
|
|
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
|
list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
|
|
unique=`for i in $$list; do \
|
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
|
done | \
|
|
$(AWK) ' { files[$$0] = 1; } \
|
|
END { for (i in files) print i; }'`; \
|
|
mkid -fID $$unique $(LISP)
|
|
|
|
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
|
$(TAGS_FILES) $(LISP)
|
|
tags=; \
|
|
here=`pwd`; \
|
|
list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
|
|
unique=`for i in $$list; do \
|
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
|
done | \
|
|
$(AWK) ' { files[$$0] = 1; } \
|
|
END { for (i in files) print i; }'`; \
|
|
test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
|
|
|| etags $(ETAGS_ARGS) $$tags $$unique $(LISP)
|
|
|
|
mostlyclean-tags:
|
|
|
|
clean-tags:
|
|
|
|
distclean-tags:
|
|
-rm -f TAGS ID
|
|
|
|
maintainer-clean-tags:
|
|
|
|
@AMDEP@include $(DEPDIR)/grcat.Po
|
|
@AMDEP@include $(DEPDIR)/pwcat.Po
|
|
|
|
mostlyclean-depend:
|
|
|
|
clean-depend:
|
|
|
|
distclean-depend:
|
|
-rm -rf $(DEPDIR)
|
|
|
|
maintainer-clean-depend:
|
|
|
|
@AMDEP@CCDEPMODE = @CCDEPMODE@
|
|
|
|
.c.o:
|
|
@AMDEP@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
|
@AMDEP@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
|
@AMDEP@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
$(COMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
|
|
|
|
|
|
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
|
|
|
|
distdir: $(DISTFILES)
|
|
@for file in $(DISTFILES); do \
|
|
d=$(srcdir); \
|
|
if test -d $$d/$$file; then \
|
|
cp -pR $$d/$$file $(distdir) \
|
|
|| exit 1; \
|
|
else \
|
|
test -f $(distdir)/$$file \
|
|
|| cp -p $$d/$$file $(distdir)/$$file \
|
|
|| exit 1; \
|
|
fi; \
|
|
done
|
|
info-am:
|
|
info: info-am
|
|
dvi-am:
|
|
dvi: dvi-am
|
|
check-am: all-am
|
|
check: check-am
|
|
installcheck-am:
|
|
installcheck: installcheck-am
|
|
install-exec-am: install-libexecPROGRAMS install-binSCRIPTS
|
|
@$(NORMAL_INSTALL)
|
|
$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
|
|
install-exec: install-exec-am
|
|
|
|
install-data-am:
|
|
install-data: install-data-am
|
|
|
|
install-am: all-am
|
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
|
install: install-am
|
|
uninstall-am: uninstall-libexecPROGRAMS uninstall-binSCRIPTS \
|
|
uninstall-local
|
|
uninstall: uninstall-am
|
|
all-am: Makefile $(PROGRAMS) $(SCRIPTS)
|
|
all-redirect: all-am
|
|
install-strip:
|
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
|
|
installdirs:
|
|
$(mkinstalldirs) $(DESTDIR)$(libexecdir) $(DESTDIR)$(bindir)
|
|
|
|
|
|
mostlyclean-generic:
|
|
|
|
clean-generic:
|
|
|
|
distclean-generic:
|
|
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
|
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
|
|
|
maintainer-clean-generic:
|
|
-rm -f Makefile.in
|
|
mostlyclean-am: mostlyclean-libexecPROGRAMS mostlyclean-compile \
|
|
mostlyclean-tags mostlyclean-depend mostlyclean-generic
|
|
|
|
mostlyclean: mostlyclean-am
|
|
|
|
clean-am: clean-libexecPROGRAMS clean-compile clean-tags clean-depend \
|
|
clean-generic mostlyclean-am clean-local
|
|
|
|
clean: clean-am
|
|
|
|
distclean-am: distclean-libexecPROGRAMS distclean-compile \
|
|
distclean-tags distclean-depend distclean-generic \
|
|
clean-am
|
|
|
|
distclean: distclean-am
|
|
|
|
maintainer-clean-am: maintainer-clean-libexecPROGRAMS \
|
|
maintainer-clean-compile maintainer-clean-tags \
|
|
maintainer-clean-depend maintainer-clean-generic \
|
|
distclean-am
|
|
@echo "This command is intended for maintainers to use;"
|
|
@echo "it deletes files that may require special tools to rebuild."
|
|
|
|
maintainer-clean: maintainer-clean-am
|
|
|
|
.PHONY: mostlyclean-libexecPROGRAMS distclean-libexecPROGRAMS \
|
|
clean-libexecPROGRAMS maintainer-clean-libexecPROGRAMS \
|
|
uninstall-libexecPROGRAMS install-libexecPROGRAMS mostlyclean-compile \
|
|
distclean-compile clean-compile maintainer-clean-compile \
|
|
uninstall-binSCRIPTS install-binSCRIPTS tags mostlyclean-tags \
|
|
distclean-tags clean-tags maintainer-clean-tags mostlyclean-depend \
|
|
distclean-depend clean-depend maintainer-clean-depend distdir info-am \
|
|
info dvi-am dvi check check-am installcheck-am installcheck \
|
|
install-exec-am install-exec install-data-am install-data install-am \
|
|
install uninstall-local uninstall-am uninstall all-redirect all-am all \
|
|
install-strip installdirs mostlyclean-generic distclean-generic \
|
|
clean-generic maintainer-clean-generic clean mostlyclean distclean \
|
|
maintainer-clean
|
|
|
|
|
|
all: stamp-eg $(AUXPROGS) igawk $(AUXAWK)
|
|
|
|
install-exec-hook: $(AUXAWK)
|
|
$(mkinstalldirs) $(DESTDIR)$(datadir)
|
|
for i in $(AUXAWK) $(srcdir)/eg/lib/*.awk ; do \
|
|
progname=`echo $$i | sed 's;.*/;;'` ; \
|
|
$(INSTALL_DATA) $$i $(DESTDIR)$(datadir)/$$progname ; \
|
|
done
|
|
|
|
# libexecdir and datadir are removed in the top level Makefile's uninstall
|
|
uninstall-local:
|
|
rm -fr $(DESTDIR)$(libexecdir)/* $(DESTDIR)$(datadir)/*
|
|
rm -f $(DESTDIR)$(bindir)/igawk
|
|
|
|
clean-local:
|
|
rm -f $(AUXAWK) igawk
|
|
|
|
stamp-eg: $(srcdir)/../doc/gawk.texi $(srcdir)/../doc/gawkinet.texi
|
|
rm -fr eg stamp-eg
|
|
$(AWK) -f $(srcdir)/extract.awk $(srcdir)/../doc/gawk.texi $(srcdir)/../doc/gawkinet.texi
|
|
@echo 'some makes are stupid and will not check a directory' > stamp-eg
|
|
@echo 'against a file, so this file is a place holder. gack.' >> stamp-eg
|
|
|
|
pwcat: $(srcdir)/eg/lib/pwcat.c
|
|
$(CC) $(CFLAGS) $(srcdir)/eg/lib/pwcat.c $(LDFLAGS) -o $@
|
|
|
|
grcat: $(srcdir)/eg/lib/grcat.c
|
|
$(CC) $(CFLAGS) $(srcdir)/eg/lib/grcat.c $(LDFLAGS) -o $@
|
|
|
|
igawk: $(srcdir)/eg/prog/igawk.sh
|
|
cp $(srcdir)/eg/prog/igawk.sh $@ ; chmod 755 $@
|
|
|
|
passwd.awk: $(srcdir)/eg/lib/passwdawk.in
|
|
(cd $(srcdir)/eg/lib ; \
|
|
sed 's;/usr/local/libexec/awk;$(libexecdir);' < passwdawk.in) > passwd.awk
|
|
|
|
group.awk: $(srcdir)/eg/lib/groupawk.in
|
|
(cd $(srcdir)/eg/lib ; \
|
|
sed 's;/usr/local/libexec/awk;$(libexecdir);' < groupawk.in) > group.awk
|
|
|
|
# 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:
|