2004-08-09 08:45:41 +00:00
|
|
|
pkgdata_DATA = magic magic.mime magic.mgc magic.mime.mgc
|
2000-11-05 08:33:55 +00:00
|
|
|
|
2004-08-09 08:45:41 +00:00
|
|
|
EXTRA_DIST = magic2mime Localstuff Header magic.mime $(magic_FRAGMENTS)
|
2000-11-05 08:33:55 +00:00
|
|
|
|
2004-08-09 08:45:41 +00:00
|
|
|
CLEANFILES = magic magic.mgc magic.mime.mgc
|
2000-11-05 08:33:55 +00:00
|
|
|
|
|
|
|
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 >> $@
|
|
|
|
|
2006-06-19 07:52:15 +00:00
|
|
|
if IS_CROSS_COMPILE
|
|
|
|
FILE_COMPILE = file
|
|
|
|
else
|
|
|
|
FILE_COMPILE = $(top_builddir)/src/file
|
|
|
|
endif
|
|
|
|
|
2004-08-09 08:45:41 +00:00
|
|
|
magic.mgc: magic
|
2006-06-19 07:52:15 +00:00
|
|
|
$(FILE_COMPILE) -C -m magic
|
2001-04-25 07:41:21 +00:00
|
|
|
|
2004-08-09 08:45:41 +00:00
|
|
|
magic.mime.mgc: magic.mime
|
2006-06-19 07:52:15 +00:00
|
|
|
$(FILE_COMPILE) -C -m $(srcdir)/magic.mime
|
2000-11-05 08:33:55 +00:00
|
|
|
|
2002-09-16 05:54:26 +00:00
|
|
|
magic_FRAGMENTS = \
|
|
|
|
Magdir/acorn \
|
|
|
|
Magdir/adi \
|
|
|
|
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 \
|
2006-06-19 07:52:15 +00:00
|
|
|
Magdir/basis \
|
|
|
|
Magdir/bflt \
|
2002-09-16 05:54:26 +00:00
|
|
|
Magdir/blender \
|
|
|
|
Magdir/blit \
|
2004-08-09 08:45:41 +00:00
|
|
|
Magdir/bout \
|
2002-09-16 05:54:26 +00:00
|
|
|
Magdir/bsdi \
|
2006-06-19 07:52:15 +00:00
|
|
|
Magdir/btsnoop \
|
2004-08-09 08:45:41 +00:00
|
|
|
Magdir/cad \
|
2007-05-24 16:12:23 +00:00
|
|
|
Magdir/cafebabe \
|
2002-09-16 05:54:26 +00:00
|
|
|
Magdir/c-lang \
|
2004-08-09 08:45:41 +00:00
|
|
|
Magdir/c64 \
|
2002-09-16 05:54:26 +00:00
|
|
|
Magdir/cddb \
|
2004-08-09 08:45:41 +00:00
|
|
|
Magdir/chord \
|
2002-09-16 05:54:26 +00:00
|
|
|
Magdir/cisco \
|
|
|
|
Magdir/citrus \
|
|
|
|
Magdir/claris \
|
|
|
|
Magdir/clipper \
|
2006-06-19 07:52:15 +00:00
|
|
|
Magdir/cracklib \
|
2004-08-09 08:45:41 +00:00
|
|
|
Magdir/spec \
|
2002-09-16 05:54:26 +00:00
|
|
|
Magdir/commands \
|
2004-08-09 08:45:41 +00:00
|
|
|
Magdir/communications \
|
2002-09-16 05:54:26 +00:00
|
|
|
Magdir/compress \
|
|
|
|
Magdir/console \
|
|
|
|
Magdir/convex \
|
|
|
|
Magdir/ctags \
|
2004-08-09 08:45:41 +00:00
|
|
|
Magdir/dact \
|
2002-09-16 05:54:26 +00:00
|
|
|
Magdir/database \
|
|
|
|
Magdir/diamond \
|
|
|
|
Magdir/diff \
|
|
|
|
Magdir/digital \
|
|
|
|
Magdir/dolby \
|
|
|
|
Magdir/dump \
|
|
|
|
Magdir/editors \
|
2008-01-13 20:35:16 +00:00
|
|
|
Magdir/efi \
|
2002-09-16 05:54:26 +00:00
|
|
|
Magdir/elf \
|
|
|
|
Magdir/encore \
|
|
|
|
Magdir/epoc \
|
2004-12-28 04:31:47 +00:00
|
|
|
Magdir/esri \
|
2004-08-09 08:45:41 +00:00
|
|
|
Magdir/fcs \
|
2002-09-16 05:54:26 +00:00
|
|
|
Magdir/filesystems \
|
|
|
|
Magdir/flash \
|
|
|
|
Magdir/fonts \
|
2008-01-13 20:35:16 +00:00
|
|
|
Magdir/fortran \
|
2002-09-16 05:54:26 +00:00
|
|
|
Magdir/frame \
|
|
|
|
Magdir/freebsd \
|
|
|
|
Magdir/fsav \
|
2004-08-09 08:45:41 +00:00
|
|
|
Magdir/games \
|
|
|
|
Magdir/geos \
|
|
|
|
Magdir/gcc \
|
2002-09-16 05:54:26 +00:00
|
|
|
Magdir/gimp \
|
|
|
|
Magdir/gnu \
|
|
|
|
Magdir/grace \
|
|
|
|
Magdir/gringotts \
|
|
|
|
Magdir/hitachi-sh \
|
|
|
|
Magdir/hp \
|
2004-08-09 08:45:41 +00:00
|
|
|
Magdir/human68k \
|
2002-09-16 05:54:26 +00:00
|
|
|
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 \
|
2004-08-09 08:45:41 +00:00
|
|
|
Magdir/matroska \
|
2002-09-16 05:54:26 +00:00
|
|
|
Magdir/mcrypt \
|
|
|
|
Magdir/mime \
|
|
|
|
Magdir/mips \
|
|
|
|
Magdir/mirage \
|
2004-08-09 08:45:41 +00:00
|
|
|
Magdir/misctools \
|
2002-09-16 05:54:26 +00:00
|
|
|
Magdir/mkid \
|
|
|
|
Magdir/mlssa \
|
2004-08-09 08:45:41 +00:00
|
|
|
Magdir/mmdf \
|
2002-09-16 05:54:26 +00:00
|
|
|
Magdir/modem \
|
|
|
|
Magdir/motorola \
|
|
|
|
Magdir/msdos \
|
|
|
|
Magdir/msvc \
|
2006-06-19 07:52:15 +00:00
|
|
|
Magdir/mup \
|
2002-09-16 05:54:26 +00:00
|
|
|
Magdir/natinst \
|
|
|
|
Magdir/ncr \
|
|
|
|
Magdir/netbsd \
|
|
|
|
Magdir/netscape \
|
|
|
|
Magdir/news \
|
|
|
|
Magdir/nitpicker \
|
2004-08-09 08:45:41 +00:00
|
|
|
Magdir/ocaml \
|
2002-09-16 05:54:26 +00:00
|
|
|
Magdir/octave \
|
|
|
|
Magdir/olf \
|
|
|
|
Magdir/os2 \
|
2007-05-24 16:12:23 +00:00
|
|
|
Magdir/os400 \
|
2002-09-16 05:54:26 +00:00
|
|
|
Magdir/os9 \
|
|
|
|
Magdir/osf1 \
|
|
|
|
Magdir/palm \
|
|
|
|
Magdir/parix \
|
|
|
|
Magdir/pbm \
|
|
|
|
Magdir/pdf \
|
|
|
|
Magdir/pdp \
|
|
|
|
Magdir/perl \
|
|
|
|
Magdir/pgp \
|
|
|
|
Magdir/pkgadd \
|
2004-08-09 08:45:41 +00:00
|
|
|
Magdir/plan9 \
|
2002-09-16 05:54:26 +00:00
|
|
|
Magdir/plus5 \
|
|
|
|
Magdir/printer \
|
|
|
|
Magdir/project \
|
|
|
|
Magdir/psdbms \
|
2004-08-09 08:45:41 +00:00
|
|
|
Magdir/psion \
|
2002-09-16 05:54:26 +00:00
|
|
|
Magdir/pulsar \
|
|
|
|
Magdir/pyramid \
|
|
|
|
Magdir/python \
|
2004-08-09 08:45:41 +00:00
|
|
|
Magdir/revision \
|
2002-09-16 05:54:26 +00:00
|
|
|
Magdir/riff \
|
|
|
|
Magdir/rpm \
|
|
|
|
Magdir/rtf \
|
|
|
|
Magdir/sc \
|
|
|
|
Magdir/sccs \
|
|
|
|
Magdir/sendmail \
|
|
|
|
Magdir/sequent \
|
2004-08-09 08:45:41 +00:00
|
|
|
Magdir/sgi \
|
2002-09-16 05:54:26 +00:00
|
|
|
Magdir/sgml \
|
|
|
|
Magdir/sharc \
|
2004-08-09 08:45:41 +00:00
|
|
|
Magdir/sinclair \
|
2002-09-16 05:54:26 +00:00
|
|
|
Magdir/sketch \
|
|
|
|
Magdir/smalltalk \
|
|
|
|
Magdir/sniffer \
|
2004-12-28 04:31:47 +00:00
|
|
|
Magdir/dyadic \
|
2006-06-19 07:52:15 +00:00
|
|
|
Magdir/scientific \
|
2002-09-16 05:54:26 +00:00
|
|
|
Magdir/softquad \
|
|
|
|
Magdir/spectrum \
|
2003-02-28 05:19:36 +00:00
|
|
|
Magdir/sql \
|
2002-09-16 05:54:26 +00:00
|
|
|
Magdir/sun \
|
|
|
|
Magdir/sysex \
|
|
|
|
Magdir/teapot \
|
|
|
|
Magdir/terminfo \
|
|
|
|
Magdir/tex \
|
|
|
|
Magdir/tgif \
|
|
|
|
Magdir/ti-8x \
|
|
|
|
Magdir/timezone \
|
|
|
|
Magdir/troff \
|
|
|
|
Magdir/tuxedo \
|
|
|
|
Magdir/typeset \
|
|
|
|
Magdir/unknown \
|
2007-05-24 16:12:23 +00:00
|
|
|
Magdir/unicode \
|
2002-09-16 05:54:26 +00:00
|
|
|
Magdir/uuencode \
|
|
|
|
Magdir/varied.out \
|
2004-08-09 08:45:41 +00:00
|
|
|
Magdir/varied.script \
|
2002-09-16 05:54:26 +00:00
|
|
|
Magdir/vax \
|
|
|
|
Magdir/vicar \
|
2004-12-28 04:31:47 +00:00
|
|
|
Magdir/virtutech \
|
2002-09-16 05:54:26 +00:00
|
|
|
Magdir/visx \
|
|
|
|
Magdir/vms \
|
|
|
|
Magdir/vmware \
|
|
|
|
Magdir/vorbis \
|
|
|
|
Magdir/vxl \
|
2004-08-09 08:45:41 +00:00
|
|
|
Magdir/wordprocessors \
|
2002-09-16 05:54:26 +00:00
|
|
|
Magdir/xdelta \
|
|
|
|
Magdir/xenix \
|
2004-12-28 04:31:47 +00:00
|
|
|
Magdir/xo65 \
|
2004-08-09 08:45:41 +00:00
|
|
|
Magdir/xwindows \
|
2002-09-16 05:54:26 +00:00
|
|
|
Magdir/zilog \
|
|
|
|
Magdir/zyxel
|