1pkgdata_DATA = magic magic.mime magic.mgc magic.mime.mgc 2 3EXTRA_DIST = magic2mime Localstuff Header magic.mime $(magic_FRAGMENTS) 4 5CLEANFILES = magic magic.mgc magic.mime.mgc 6 7magic: Header Localstuff $(magic_FRAGMENTS) 8 cat $(srcdir)/Header $(srcdir)/Localstuff > $@ 9 for frag in $(magic_FRAGMENTS); do \ 10 if test -f $(srcdir)/$$frag; then \ 11 f=$(srcdir)/$$frag; \ 12 else \ 13 f=$$frag; \ 14 fi; \ 15 cat $$f; \ 16 done >> $@ 17 18if IS_CROSS_COMPILE 19FILE_COMPILE = file 20else 21FILE_COMPILE = $(top_builddir)/src/file 22endif 23 24magic.mgc: magic 25 $(FILE_COMPILE) -C -m magic 26 27magic.mime.mgc: magic.mime 28 $(FILE_COMPILE) -C -m $(srcdir)/magic.mime 29 30magic_FRAGMENTS = \ 31Magdir/acorn \ 32Magdir/adi \ 33Magdir/adventure \ 34Magdir/allegro \ 35Magdir/alliant \ 36Magdir/alpha \ 37Magdir/amanda \ 38Magdir/amigaos \ 39Magdir/animation \ 40Magdir/apl \ 41Magdir/apple \ 42Magdir/applix \ 43Magdir/archive \ 44Magdir/asterix \ 45Magdir/att3b \ 46Magdir/audio \ 47Magdir/basis \ 48Magdir/bflt \ 49Magdir/blender \ 50Magdir/blit \ 51Magdir/bout \ 52Magdir/bsdi \ 53Magdir/btsnoop \ 54Magdir/cad \ 55Magdir/cafebabe \ 56Magdir/c-lang \ 57Magdir/c64 \ 58Magdir/cddb \ 59Magdir/chord \ 60Magdir/cisco \ 61Magdir/citrus \ 62Magdir/claris \ 63Magdir/clipper \ 64Magdir/cracklib \ 65Magdir/spec \ 66Magdir/commands \ 67Magdir/communications \ 68Magdir/compress \ 69Magdir/console \ 70Magdir/convex \ 71Magdir/ctags \ 72Magdir/dact \ 73Magdir/database \ 74Magdir/diamond \ 75Magdir/diff \ 76Magdir/digital \ 77Magdir/dolby \ 78Magdir/dump \ 79Magdir/editors \ 80Magdir/efi \ 81Magdir/elf \ 82Magdir/encore \ 83Magdir/epoc \ 84Magdir/esri \ 85Magdir/fcs \ 86Magdir/filesystems \ 87Magdir/flash \ 88Magdir/fonts \ 89Magdir/fortran \ 90Magdir/frame \ 91Magdir/freebsd \ 92Magdir/fsav \ 93Magdir/games \ 94Magdir/geos \ 95Magdir/gcc \ 96Magdir/gimp \ 97Magdir/gnu \ 98Magdir/grace \ 99Magdir/gringotts \ 100Magdir/hitachi-sh \ 101Magdir/hp \ 102Magdir/human68k \ 103Magdir/ibm370 \ 104Magdir/ibm6000 \ 105Magdir/iff \ 106Magdir/images \ 107Magdir/intel \ 108Magdir/interleaf \ 109Magdir/island \ 110Magdir/ispell \ 111Magdir/java \ 112Magdir/jpeg \ 113Magdir/karma \ 114Magdir/lecter \ 115Magdir/lex \ 116Magdir/lif \ 117Magdir/linux \ 118Magdir/lisp \ 119Magdir/mach \ 120Magdir/macintosh \ 121Magdir/magic \ 122Magdir/mail.news \ 123Magdir/maple \ 124Magdir/mathematica \ 125Magdir/matroska \ 126Magdir/mcrypt \ 127Magdir/mime \ 128Magdir/mips \ 129Magdir/mirage \ 130Magdir/misctools \ 131Magdir/mkid \ 132Magdir/mlssa \ 133Magdir/mmdf \ 134Magdir/modem \ 135Magdir/motorola \ 136Magdir/msdos \ 137Magdir/msvc \ 138Magdir/mup \ 139Magdir/natinst \ 140Magdir/ncr \ 141Magdir/netbsd \ 142Magdir/netscape \ 143Magdir/news \ 144Magdir/nitpicker \ 145Magdir/ocaml \ 146Magdir/octave \ 147Magdir/olf \ 148Magdir/os2 \ 149Magdir/os400 \ 150Magdir/os9 \ 151Magdir/osf1 \ 152Magdir/palm \ 153Magdir/parix \ 154Magdir/pbm \ 155Magdir/pdf \ 156Magdir/pdp \ 157Magdir/perl \ 158Magdir/pgp \ 159Magdir/pkgadd \ 160Magdir/plan9 \ 161Magdir/plus5 \ 162Magdir/printer \ 163Magdir/project \ 164Magdir/psdbms \ 165Magdir/psion \ 166Magdir/pulsar \ 167Magdir/pyramid \ 168Magdir/python \ 169Magdir/revision \ 170Magdir/riff \ 171Magdir/rpm \ 172Magdir/rtf \ 173Magdir/sc \ 174Magdir/sccs \ 175Magdir/sendmail \ 176Magdir/sequent \ 177Magdir/sgi \ 178Magdir/sgml \ 179Magdir/sharc \ 180Magdir/sinclair \ 181Magdir/sketch \ 182Magdir/smalltalk \ 183Magdir/sniffer \ 184Magdir/dyadic \ 185Magdir/scientific \ 186Magdir/softquad \ 187Magdir/spectrum \ 188Magdir/sql \ 189Magdir/sun \ 190Magdir/sysex \ 191Magdir/teapot \ 192Magdir/terminfo \ 193Magdir/tex \ 194Magdir/tgif \ 195Magdir/ti-8x \ 196Magdir/timezone \ 197Magdir/troff \ 198Magdir/tuxedo \ 199Magdir/typeset \ 200Magdir/unknown \ 201Magdir/unicode \ 202Magdir/uuencode \ 203Magdir/varied.out \ 204Magdir/varied.script \ 205Magdir/vax \ 206Magdir/vicar \ 207Magdir/virtutech \ 208Magdir/visx \ 209Magdir/vms \ 210Magdir/vmware \ 211Magdir/vorbis \ 212Magdir/vxl \ 213Magdir/wordprocessors \ 214Magdir/xdelta \ 215Magdir/xenix \ 216Magdir/xo65 \ 217Magdir/xwindows \ 218Magdir/zilog \ 219Magdir/zyxel 220