503 lines
16 KiB
Makefile
503 lines
16 KiB
Makefile
# Makefile.in generated automatically by automake 1.4 from Makefile.am
|
|
|
|
# Copyright (C) 1994, 1995-8, 1999 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.
|
|
|
|
# don't enforce GNU packaging standards
|
|
|
|
|
|
SHELL = @SHELL@
|
|
|
|
srcdir = @srcdir@
|
|
top_srcdir = @top_srcdir@
|
|
VPATH = @srcdir@
|
|
prefix = @prefix@
|
|
exec_prefix = @exec_prefix@
|
|
|
|
bindir = @bindir@
|
|
sbindir = @sbindir@
|
|
libexecdir = @libexecdir@
|
|
datadir = @datadir@
|
|
sysconfdir = @sysconfdir@
|
|
sharedstatedir = @sharedstatedir@
|
|
localstatedir = @localstatedir@
|
|
libdir = @libdir@
|
|
infodir = @infodir@
|
|
mandir = @mandir@
|
|
includedir = @includedir@
|
|
oldincludedir = /usr/include
|
|
|
|
DESTDIR =
|
|
|
|
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@ $(AM_INSTALL_PROGRAM_FLAGS)
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
|
transform = @program_transform_name@
|
|
|
|
NORMAL_INSTALL = :
|
|
PRE_INSTALL = :
|
|
POST_INSTALL = :
|
|
NORMAL_UNINSTALL = :
|
|
PRE_UNINSTALL = :
|
|
POST_UNINSTALL = :
|
|
CC = @CC@
|
|
LN_S = @LN_S@
|
|
MAKEINFO = @MAKEINFO@
|
|
PACKAGE = @PACKAGE@
|
|
VERSION = @VERSION@
|
|
|
|
AUTOMAKE_OPTIONS = foreign no-dependencies
|
|
|
|
bin_PROGRAMS = file
|
|
|
|
data_DATA = magic magic.mime magic.mgc
|
|
|
|
MAGIC = @datadir@/magic
|
|
CPPFLAGS = -DMAGIC='"$(MAGIC)"' -DQUICK
|
|
|
|
man_MANS = file.1 magic.4
|
|
|
|
file_SOURCES = file.c apprentice.c fsmagic.c softmagic.c ascmagic.c compress.c is_tar.c readelf.c print.c file.h names.h patchlevel.h readelf.h tar.h
|
|
|
|
|
|
EXTRA_DIST = LEGAL.NOTICE MAINT PORTING Makefile.std magic2mime Localstuff Header $(magic_FRAGMENTS) file.man magic.man
|
|
|
|
|
|
CLEANFILES = $(man_MANS) magic magic.mgc
|
|
|
|
magic_FRAGMENTS = Magdir/adventure Magdir/allegro Magdir/alliant Magdir/alpha Magdir/amanda Magdir/amigaos Magdir/animation Magdir/apl Magdir/apple Magdir/applix Magdir/archive Magdir/asterix Magdir/att3b Magdir/audio Magdir/blender Magdir/blit Magdir/bsdi Magdir/c-lang Magdir/chi Magdir/cisco Magdir/claris Magdir/clipper Magdir/commands Magdir/compress Magdir/console Magdir/convex Magdir/database Magdir/diamond Magdir/diff Magdir/digital Magdir/dump Magdir/elf Magdir/encore Magdir/epoc Magdir/filesystems Magdir/flash Magdir/fonts Magdir/frame Magdir/freebsd Magdir/fsav Magdir/gimp Magdir/gnu Magdir/grace Magdir/hp Magdir/ibm370 Magdir/ibm6000 Magdir/iff Magdir/images Magdir/intel Magdir/interleaf Magdir/island Magdir/ispell Magdir/java Magdir/jpeg Magdir/karma Magdir/lecter Magdir/lex Magdir/lif Magdir/linux Magdir/lisp Magdir/mach Magdir/macintosh Magdir/magic Magdir/mail.news Magdir/maple Magdir/mathematica Magdir/mcrypt Magdir/mime Magdir/mips Magdir/mirage Magdir/mkid Magdir/mmdf Magdir/modem Magdir/motorola Magdir/msdos Magdir/msvc Magdir/ncr Magdir/netbsd Magdir/netscape Magdir/news Magdir/octave Magdir/olf Magdir/os2 Magdir/os9 Magdir/osf1 Magdir/palm Magdir/pbm Magdir/pdf Magdir/pdp Magdir/pgp Magdir/pkgadd Magdir/plus5 Magdir/printer Magdir/project Magdir/psdbms Magdir/pyramid Magdir/python Magdir/riff Magdir/rpm Magdir/rtf Magdir/sc Magdir/sccs Magdir/sendmail Magdir/sequent Magdir/sgml Magdir/sniffer Magdir/softquad Magdir/spectrum Magdir/sun Magdir/teapot Magdir/terminfo Magdir/tex Magdir/ti-8x Magdir/timezone Magdir/troff Magdir/typeset Magdir/unknown Magdir/uuencode Magdir/varied.out Magdir/vax Magdir/vicar Magdir/visx Magdir/vms Magdir/vmware Magdir/wordperfect Magdir/xdelta Magdir/xenix Magdir/zilog Magdir/zyxel
|
|
|
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
|
CONFIG_HEADER = config.h
|
|
CONFIG_CLEAN_FILES =
|
|
PROGRAMS = $(bin_PROGRAMS)
|
|
|
|
|
|
DEFS = @DEFS@ -I. -I$(srcdir) -I.
|
|
LDFLAGS = @LDFLAGS@
|
|
LIBS = @LIBS@
|
|
file_OBJECTS = file.o apprentice.o fsmagic.o softmagic.o ascmagic.o \
|
|
compress.o is_tar.o readelf.o print.o
|
|
file_LDADD = $(LDADD)
|
|
file_DEPENDENCIES =
|
|
file_LDFLAGS =
|
|
CFLAGS = @CFLAGS@
|
|
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
CCLD = $(CC)
|
|
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
|
|
man1dir = $(mandir)/man1
|
|
man4dir = $(mandir)/man4
|
|
MANS = $(man_MANS)
|
|
|
|
NROFF = nroff
|
|
DATA = $(data_DATA)
|
|
|
|
DIST_COMMON = README ./stamp-h.in Makefile.am Makefile.in acconfig.h \
|
|
acinclude.m4 aclocal.m4 config.h.in configure configure.in install-sh \
|
|
missing mkinstalldirs
|
|
|
|
|
|
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
|
|
|
TAR = gtar
|
|
GZIP_ENV = --best
|
|
SOURCES = $(file_SOURCES)
|
|
OBJECTS = $(file_OBJECTS)
|
|
|
|
all: all-redirect
|
|
.SUFFIXES:
|
|
.SUFFIXES: .S .c .o .s
|
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
|
cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile
|
|
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
cd $(top_builddir) \
|
|
&& CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
|
|
$(ACLOCAL_M4): configure.in acinclude.m4
|
|
cd $(srcdir) && $(ACLOCAL)
|
|
|
|
config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
|
$(SHELL) ./config.status --recheck
|
|
$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
|
|
cd $(srcdir) && $(AUTOCONF)
|
|
|
|
config.h: stamp-h
|
|
@if test ! -f $@; then \
|
|
rm -f stamp-h; \
|
|
$(MAKE) stamp-h; \
|
|
else :; fi
|
|
stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
|
|
cd $(top_builddir) \
|
|
&& CONFIG_FILES= CONFIG_HEADERS=config.h \
|
|
$(SHELL) ./config.status
|
|
@echo timestamp > stamp-h 2> /dev/null
|
|
$(srcdir)/config.h.in: $(srcdir)/stamp-h.in
|
|
@if test ! -f $@; then \
|
|
rm -f $(srcdir)/stamp-h.in; \
|
|
$(MAKE) $(srcdir)/stamp-h.in; \
|
|
else :; fi
|
|
$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
|
|
cd $(top_srcdir) && $(AUTOHEADER)
|
|
@echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
|
|
|
|
mostlyclean-hdr:
|
|
|
|
clean-hdr:
|
|
|
|
distclean-hdr:
|
|
-rm -f config.h
|
|
|
|
maintainer-clean-hdr:
|
|
|
|
mostlyclean-binPROGRAMS:
|
|
|
|
clean-binPROGRAMS:
|
|
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
|
|
|
|
distclean-binPROGRAMS:
|
|
|
|
maintainer-clean-binPROGRAMS:
|
|
|
|
install-binPROGRAMS: $(bin_PROGRAMS)
|
|
@$(NORMAL_INSTALL)
|
|
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
|
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
|
if test -f $$p; then \
|
|
echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
|
|
$(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
|
|
else :; fi; \
|
|
done
|
|
|
|
uninstall-binPROGRAMS:
|
|
@$(NORMAL_UNINSTALL)
|
|
list='$(bin_PROGRAMS)'; for p in $$list; do \
|
|
rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
|
|
done
|
|
|
|
.c.o:
|
|
$(COMPILE) -c $<
|
|
|
|
.s.o:
|
|
$(COMPILE) -c $<
|
|
|
|
.S.o:
|
|
$(COMPILE) -c $<
|
|
|
|
mostlyclean-compile:
|
|
-rm -f *.o core *.core
|
|
|
|
clean-compile:
|
|
|
|
distclean-compile:
|
|
-rm -f *.tab.c
|
|
|
|
maintainer-clean-compile:
|
|
|
|
file: $(file_OBJECTS) $(file_DEPENDENCIES)
|
|
@rm -f file
|
|
$(LINK) $(file_LDFLAGS) $(file_OBJECTS) $(file_LDADD) $(LIBS)
|
|
|
|
install-man1:
|
|
$(mkinstalldirs) $(DESTDIR)$(man1dir)
|
|
@list='$(man1_MANS)'; \
|
|
l2='$(man_MANS)'; for i in $$l2; do \
|
|
case "$$i" in \
|
|
*.1*) list="$$list $$i" ;; \
|
|
esac; \
|
|
done; \
|
|
for i in $$list; do \
|
|
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
|
|
else file=$$i; fi; \
|
|
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
|
|
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
|
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
|
|
echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
|
|
$(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
|
|
done
|
|
|
|
uninstall-man1:
|
|
@list='$(man1_MANS)'; \
|
|
l2='$(man_MANS)'; for i in $$l2; do \
|
|
case "$$i" in \
|
|
*.1*) list="$$list $$i" ;; \
|
|
esac; \
|
|
done; \
|
|
for i in $$list; do \
|
|
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
|
|
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
|
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
|
|
echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
|
|
rm -f $(DESTDIR)$(man1dir)/$$inst; \
|
|
done
|
|
|
|
install-man4:
|
|
$(mkinstalldirs) $(DESTDIR)$(man4dir)
|
|
@list='$(man4_MANS)'; \
|
|
l2='$(man_MANS)'; for i in $$l2; do \
|
|
case "$$i" in \
|
|
*.4*) list="$$list $$i" ;; \
|
|
esac; \
|
|
done; \
|
|
for i in $$list; do \
|
|
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
|
|
else file=$$i; fi; \
|
|
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
|
|
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
|
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
|
|
echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man4dir)/$$inst"; \
|
|
$(INSTALL_DATA) $$file $(DESTDIR)$(man4dir)/$$inst; \
|
|
done
|
|
|
|
uninstall-man4:
|
|
@list='$(man4_MANS)'; \
|
|
l2='$(man_MANS)'; for i in $$l2; do \
|
|
case "$$i" in \
|
|
*.4*) list="$$list $$i" ;; \
|
|
esac; \
|
|
done; \
|
|
for i in $$list; do \
|
|
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
|
|
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
|
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
|
|
echo " rm -f $(DESTDIR)$(man4dir)/$$inst"; \
|
|
rm -f $(DESTDIR)$(man4dir)/$$inst; \
|
|
done
|
|
install-man: $(MANS)
|
|
@$(NORMAL_INSTALL)
|
|
$(MAKE) $(AM_MAKEFLAGS) install-man1 install-man4
|
|
uninstall-man:
|
|
@$(NORMAL_UNINSTALL)
|
|
$(MAKE) $(AM_MAKEFLAGS) uninstall-man1 uninstall-man4
|
|
|
|
install-dataDATA: $(data_DATA)
|
|
@$(NORMAL_INSTALL)
|
|
$(mkinstalldirs) $(DESTDIR)$(datadir)
|
|
@list='$(data_DATA)'; for p in $$list; do \
|
|
if test -f $(srcdir)/$$p; then \
|
|
echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(datadir)/$$p"; \
|
|
$(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(datadir)/$$p; \
|
|
else if test -f $$p; then \
|
|
echo " $(INSTALL_DATA) $$p $(DESTDIR)$(datadir)/$$p"; \
|
|
$(INSTALL_DATA) $$p $(DESTDIR)$(datadir)/$$p; \
|
|
fi; fi; \
|
|
done
|
|
|
|
uninstall-dataDATA:
|
|
@$(NORMAL_UNINSTALL)
|
|
list='$(data_DATA)'; for p in $$list; do \
|
|
rm -f $(DESTDIR)$(datadir)/$$p; \
|
|
done
|
|
|
|
tags: TAGS
|
|
|
|
ID: $(HEADERS) $(SOURCES) $(LISP)
|
|
list='$(SOURCES) $(HEADERS)'; \
|
|
unique=`for i in $$list; do echo $$i; done | \
|
|
awk ' { files[$$0] = 1; } \
|
|
END { for (i in files) print i; }'`; \
|
|
here=`pwd` && cd $(srcdir) \
|
|
&& mkid -f$$here/ID $$unique $(LISP)
|
|
|
|
TAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
|
|
tags=; \
|
|
here=`pwd`; \
|
|
list='$(SOURCES) $(HEADERS)'; \
|
|
unique=`for i in $$list; do echo $$i; done | \
|
|
awk ' { files[$$0] = 1; } \
|
|
END { for (i in files) print i; }'`; \
|
|
test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
|
|
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS)
|
|
|
|
mostlyclean-tags:
|
|
|
|
clean-tags:
|
|
|
|
distclean-tags:
|
|
-rm -f TAGS ID
|
|
|
|
maintainer-clean-tags:
|
|
|
|
distdir = $(PACKAGE)-$(VERSION)
|
|
top_distdir = $(distdir)
|
|
|
|
# This target untars the dist file and tries a VPATH configuration. Then
|
|
# it guarantees that the distribution is self-contained by making another
|
|
# tarfile.
|
|
distcheck: dist
|
|
-rm -rf $(distdir)
|
|
GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
|
|
mkdir $(distdir)/=build
|
|
mkdir $(distdir)/=inst
|
|
dc_install_base=`cd $(distdir)/=inst && pwd`; \
|
|
cd $(distdir)/=build \
|
|
&& ../configure --srcdir=.. --prefix=$$dc_install_base \
|
|
&& $(MAKE) $(AM_MAKEFLAGS) \
|
|
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
|
|
&& $(MAKE) $(AM_MAKEFLAGS) check \
|
|
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
|
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
|
&& $(MAKE) $(AM_MAKEFLAGS) dist
|
|
-rm -rf $(distdir)
|
|
@banner="$(distdir).tar.gz is ready for distribution"; \
|
|
dashes=`echo "$$banner" | sed s/./=/g`; \
|
|
echo "$$dashes"; \
|
|
echo "$$banner"; \
|
|
echo "$$dashes"
|
|
dist: distdir
|
|
-chmod -R a+r $(distdir)
|
|
GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
|
|
-rm -rf $(distdir)
|
|
dist-all: distdir
|
|
-chmod -R a+r $(distdir)
|
|
GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
|
|
-rm -rf $(distdir)
|
|
distdir: $(DISTFILES)
|
|
-rm -rf $(distdir)
|
|
mkdir $(distdir)
|
|
-chmod 777 $(distdir)
|
|
$(mkinstalldirs) $(distdir)/Magdir
|
|
@for file in $(DISTFILES); do \
|
|
d=$(srcdir); \
|
|
if test -d $$d/$$file; then \
|
|
cp -pr $$/$$file $(distdir)/$$file; \
|
|
else \
|
|
test -f $(distdir)/$$file \
|
|
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
|
|| cp -p $$d/$$file $(distdir)/$$file || :; \
|
|
fi; \
|
|
done
|
|
info-am:
|
|
info: info-am
|
|
dvi-am:
|
|
dvi: dvi-am
|
|
check-am: all-am
|
|
check: check-am
|
|
installcheck-am:
|
|
installcheck: installcheck-am
|
|
all-recursive-am: config.h
|
|
$(MAKE) $(AM_MAKEFLAGS) all-recursive
|
|
|
|
install-exec-am: install-binPROGRAMS
|
|
install-exec: install-exec-am
|
|
|
|
install-data-am: install-man install-dataDATA
|
|
install-data: install-data-am
|
|
|
|
install-am: all-am
|
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
|
install: install-am
|
|
uninstall-am: uninstall-binPROGRAMS uninstall-man uninstall-dataDATA
|
|
uninstall: uninstall-am
|
|
all-am: Makefile $(PROGRAMS) $(MANS) $(DATA) config.h
|
|
all-redirect: all-am
|
|
install-strip:
|
|
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
|
|
installdirs:
|
|
$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1 \
|
|
$(DESTDIR)$(mandir)/man4 $(DESTDIR)$(datadir)
|
|
|
|
|
|
mostlyclean-generic:
|
|
|
|
clean-generic:
|
|
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
|
|
|
distclean-generic:
|
|
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
|
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
|
|
|
maintainer-clean-generic:
|
|
mostlyclean-am: mostlyclean-hdr mostlyclean-binPROGRAMS \
|
|
mostlyclean-compile mostlyclean-tags \
|
|
mostlyclean-generic
|
|
|
|
mostlyclean: mostlyclean-am
|
|
|
|
clean-am: clean-hdr clean-binPROGRAMS clean-compile clean-tags \
|
|
clean-generic mostlyclean-am
|
|
|
|
clean: clean-am
|
|
|
|
distclean-am: distclean-hdr distclean-binPROGRAMS distclean-compile \
|
|
distclean-tags distclean-generic clean-am
|
|
|
|
distclean: distclean-am
|
|
-rm -f config.status
|
|
|
|
maintainer-clean-am: maintainer-clean-hdr maintainer-clean-binPROGRAMS \
|
|
maintainer-clean-compile maintainer-clean-tags \
|
|
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
|
|
-rm -f config.status
|
|
|
|
.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
|
|
mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
|
|
maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
|
|
mostlyclean-compile distclean-compile clean-compile \
|
|
maintainer-clean-compile install-man1 uninstall-man1 install-man4 \
|
|
uninstall-man4 install-man uninstall-man uninstall-dataDATA \
|
|
install-dataDATA tags mostlyclean-tags distclean-tags clean-tags \
|
|
maintainer-clean-tags distdir info-am info dvi-am dvi check check-am \
|
|
installcheck-am installcheck all-recursive-am install-exec-am \
|
|
install-exec install-data-am install-data install-am install \
|
|
uninstall-am uninstall all-redirect all-am all installdirs \
|
|
mostlyclean-generic distclean-generic clean-generic \
|
|
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
|
|
|
|
|
|
magic: Header Localstuff $(magic_FRAGMENTS)
|
|
cat $(srcdir)/Header $(srcdir)/Localstuff > $@
|
|
for frag in $(magic_FRAGMENTS); do \
|
|
if test -f $(srcdir)/$$frag; then \
|
|
f=$(srcdir)/$$frag; \
|
|
else \
|
|
f=$$frag; \
|
|
fi; \
|
|
cat $$f; \
|
|
done >> $@
|
|
|
|
magic.mgc: magic file
|
|
./file -C -m magic
|
|
|
|
file.1: Makefile file.man
|
|
@rm -f $@
|
|
sed -e s@__CSECTION__@1@g \
|
|
-e s@__FSECTION__@4@g \
|
|
-e s@__VERSION__@${VERSION}@g \
|
|
-e s@__MAGIC__@${MAGIC}@g $(srcdir)/file.man > $@
|
|
|
|
magic.4: Makefile magic.man
|
|
@rm -f $@
|
|
sed -e s@__CSECTION__@1@g \
|
|
-e s@__FSECTION__@4@g \
|
|
-e s@__VERSION__@${VERSION}@g \
|
|
-e s@__MAGIC__@${MAGIC}@g $(srcdir)/magic.man > $@
|
|
|
|
# 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:
|