1# Makefile.in generated automatically by automake 1.4 from Makefile.am 2 3# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. 4# This Makefile.in is free software; the Free Software Foundation 5# gives unlimited permission to copy and/or distribute it, 6# with or without modifications, as long as this notice is preserved. 7 8# This program is distributed in the hope that it will be useful, 9# but WITHOUT ANY WARRANTY, to the extent permitted by law; without 10# even the implied warranty of MERCHANTABILITY or FITNESS FOR A 11# PARTICULAR PURPOSE. 12 13# don't enforce GNU packaging standards 14 15 16SHELL = @SHELL@ 17 18srcdir = @srcdir@ 19top_srcdir = @top_srcdir@ 20VPATH = @srcdir@ 21prefix = @prefix@ 22exec_prefix = @exec_prefix@ 23 24bindir = @bindir@ 25sbindir = @sbindir@ 26libexecdir = @libexecdir@ 27datadir = @datadir@ 28sysconfdir = @sysconfdir@ 29sharedstatedir = @sharedstatedir@ 30localstatedir = @localstatedir@ 31libdir = @libdir@ 32infodir = @infodir@ 33mandir = @mandir@ 34includedir = @includedir@ 35oldincludedir = /usr/include 36 37DESTDIR = 38 39pkgdatadir = $(datadir)/@PACKAGE@ 40pkglibdir = $(libdir)/@PACKAGE@ 41pkgincludedir = $(includedir)/@PACKAGE@ 42 43top_builddir = . 44 45ACLOCAL = @ACLOCAL@ 46AUTOCONF = @AUTOCONF@ 47AUTOMAKE = @AUTOMAKE@ 48AUTOHEADER = @AUTOHEADER@ 49 50INSTALL = @INSTALL@ 51INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) 52INSTALL_DATA = @INSTALL_DATA@ 53INSTALL_SCRIPT = @INSTALL_SCRIPT@ 54transform = @program_transform_name@ 55 56NORMAL_INSTALL = : 57PRE_INSTALL = : 58POST_INSTALL = : 59NORMAL_UNINSTALL = : 60PRE_UNINSTALL = : 61POST_UNINSTALL = : 62CC = @CC@ 63LN_S = @LN_S@ 64MAKEINFO = @MAKEINFO@ 65PACKAGE = @PACKAGE@ 66VERSION = @VERSION@ 67 68AUTOMAKE_OPTIONS = foreign no-dependencies 69 70bin_PROGRAMS = file 71 72data_DATA = magic magic.mime 73 74MAGIC = @datadir@/magic 75CPPFLAGS = -DMAGIC='"$(MAGIC)"' 76 77man_MANS = file.1 magic.4 78 79file_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 80 81 82EXTRA_DIST = LEGAL.NOTICE MAINT PORTING Makefile.std magic2mime Localstuff Header $(magic_FRAGMENTS) file.man magic.man 83 84 85CLEANFILES = $(man_MANS) magic 86 87magic_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/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/sgi 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 88 89ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 90mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 91CONFIG_HEADER = config.h 92CONFIG_CLEAN_FILES = 93PROGRAMS = $(bin_PROGRAMS) 94 95 96DEFS = @DEFS@ -I. -I$(srcdir) -I. 97LDFLAGS = @LDFLAGS@ 98LIBS = @LIBS@ 99file_OBJECTS = file.o apprentice.o fsmagic.o softmagic.o ascmagic.o \ 100compress.o is_tar.o readelf.o print.o 101file_LDADD = $(LDADD) 102file_DEPENDENCIES = 103file_LDFLAGS = 104CFLAGS = @CFLAGS@ 105COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 106CCLD = $(CC) 107LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ 108man1dir = $(mandir)/man1 109man4dir = $(mandir)/man4 110MANS = $(man_MANS) 111 112NROFF = nroff 113DATA = $(data_DATA) 114 115DIST_COMMON = README ./stamp-h.in Makefile.am Makefile.in acconfig.h \ 116acinclude.m4 aclocal.m4 config.h.in configure configure.in install-sh \ 117missing mkinstalldirs 118 119 120DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) 121 122TAR = tar 123GZIP_ENV = --best 124SOURCES = $(file_SOURCES) 125OBJECTS = $(file_OBJECTS) 126 127all: all-redirect 128.SUFFIXES: 129.SUFFIXES: .S .c .o .s 130$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 131 cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile 132 133Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 134 cd $(top_builddir) \ 135 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status 136 137$(ACLOCAL_M4): configure.in acinclude.m4 138 cd $(srcdir) && $(ACLOCAL) 139 140config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 141 $(SHELL) ./config.status --recheck 142$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) 143 cd $(srcdir) && $(AUTOCONF) 144 145config.h: stamp-h 146 @if test ! -f $@; then \ 147 rm -f stamp-h; \ 148 $(MAKE) stamp-h; \ 149 else :; fi 150stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status 151 cd $(top_builddir) \ 152 && CONFIG_FILES= CONFIG_HEADERS=config.h \ 153 $(SHELL) ./config.status 154 @echo timestamp > stamp-h 2> /dev/null 155$(srcdir)/config.h.in: $(srcdir)/stamp-h.in 156 @if test ! -f $@; then \ 157 rm -f $(srcdir)/stamp-h.in; \ 158 $(MAKE) $(srcdir)/stamp-h.in; \ 159 else :; fi 160$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h 161 cd $(top_srcdir) && $(AUTOHEADER) 162 @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null 163 164mostlyclean-hdr: 165 166clean-hdr: 167 168distclean-hdr: 169 -rm -f config.h 170 171maintainer-clean-hdr: 172 173mostlyclean-binPROGRAMS: 174 175clean-binPROGRAMS: 176 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) 177 178distclean-binPROGRAMS: 179 180maintainer-clean-binPROGRAMS: 181 182install-binPROGRAMS: $(bin_PROGRAMS) 183 @$(NORMAL_INSTALL) 184 $(mkinstalldirs) $(DESTDIR)$(bindir) 185 @list='$(bin_PROGRAMS)'; for p in $$list; do \ 186 if test -f $$p; then \ 187 echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ 188 $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ 189 else :; fi; \ 190 done 191 192uninstall-binPROGRAMS: 193 @$(NORMAL_UNINSTALL) 194 list='$(bin_PROGRAMS)'; for p in $$list; do \ 195 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ 196 done 197 198.c.o: 199 $(COMPILE) -c $< 200 201.s.o: 202 $(COMPILE) -c $< 203 204.S.o: 205 $(COMPILE) -c $< 206 207mostlyclean-compile: 208 -rm -f *.o core *.core 209 210clean-compile: 211 212distclean-compile: 213 -rm -f *.tab.c 214 215maintainer-clean-compile: 216 217file: $(file_OBJECTS) $(file_DEPENDENCIES) 218 @rm -f file 219 $(LINK) $(file_LDFLAGS) $(file_OBJECTS) $(file_LDADD) $(LIBS) 220 221install-man1: 222 $(mkinstalldirs) $(DESTDIR)$(man1dir) 223 @list='$(man1_MANS)'; \ 224 l2='$(man_MANS)'; for i in $$l2; do \ 225 case "$$i" in \ 226 *.1*) list="$$list $$i" ;; \ 227 esac; \ 228 done; \ 229 for i in $$list; do \ 230 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 231 else file=$$i; fi; \ 232 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 233 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ 234 inst=`echo $$inst | sed '$(transform)'`.$$ext; \ 235 echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \ 236 $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \ 237 done 238 239uninstall-man1: 240 @list='$(man1_MANS)'; \ 241 l2='$(man_MANS)'; for i in $$l2; do \ 242 case "$$i" in \ 243 *.1*) list="$$list $$i" ;; \ 244 esac; \ 245 done; \ 246 for i in $$list; do \ 247 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 248 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ 249 inst=`echo $$inst | sed '$(transform)'`.$$ext; \ 250 echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \ 251 rm -f $(DESTDIR)$(man1dir)/$$inst; \ 252 done 253 254install-man4: 255 $(mkinstalldirs) $(DESTDIR)$(man4dir) 256 @list='$(man4_MANS)'; \ 257 l2='$(man_MANS)'; for i in $$l2; do \ 258 case "$$i" in \ 259 *.4*) list="$$list $$i" ;; \ 260 esac; \ 261 done; \ 262 for i in $$list; do \ 263 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 264 else file=$$i; fi; \ 265 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 266 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ 267 inst=`echo $$inst | sed '$(transform)'`.$$ext; \ 268 echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man4dir)/$$inst"; \ 269 $(INSTALL_DATA) $$file $(DESTDIR)$(man4dir)/$$inst; \ 270 done 271 272uninstall-man4: 273 @list='$(man4_MANS)'; \ 274 l2='$(man_MANS)'; for i in $$l2; do \ 275 case "$$i" in \ 276 *.4*) list="$$list $$i" ;; \ 277 esac; \ 278 done; \ 279 for i in $$list; do \ 280 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 281 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ 282 inst=`echo $$inst | sed '$(transform)'`.$$ext; \ 283 echo " rm -f $(DESTDIR)$(man4dir)/$$inst"; \ 284 rm -f $(DESTDIR)$(man4dir)/$$inst; \ 285 done 286install-man: $(MANS) 287 @$(NORMAL_INSTALL) 288 $(MAKE) $(AM_MAKEFLAGS) install-man1 install-man4 289uninstall-man: 290 @$(NORMAL_UNINSTALL) 291 $(MAKE) $(AM_MAKEFLAGS) uninstall-man1 uninstall-man4 292 293install-dataDATA: $(data_DATA) 294 @$(NORMAL_INSTALL) 295 $(mkinstalldirs) $(DESTDIR)$(datadir) 296 @list='$(data_DATA)'; for p in $$list; do \ 297 if test -f $(srcdir)/$$p; then \ 298 echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(datadir)/$$p"; \ 299 $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(datadir)/$$p; \ 300 else if test -f $$p; then \ 301 echo " $(INSTALL_DATA) $$p $(DESTDIR)$(datadir)/$$p"; \ 302 $(INSTALL_DATA) $$p $(DESTDIR)$(datadir)/$$p; \ 303 fi; fi; \ 304 done 305 306uninstall-dataDATA: 307 @$(NORMAL_UNINSTALL) 308 list='$(data_DATA)'; for p in $$list; do \ 309 rm -f $(DESTDIR)$(datadir)/$$p; \ 310 done 311 312tags: TAGS 313 314ID: $(HEADERS) $(SOURCES) $(LISP) 315 list='$(SOURCES) $(HEADERS)'; \ 316 unique=`for i in $$list; do echo $$i; done | \ 317 awk ' { files[$$0] = 1; } \ 318 END { for (i in files) print i; }'`; \ 319 here=`pwd` && cd $(srcdir) \ 320 && mkid -f$$here/ID $$unique $(LISP) 321 322TAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP) 323 tags=; \ 324 here=`pwd`; \ 325 list='$(SOURCES) $(HEADERS)'; \ 326 unique=`for i in $$list; do echo $$i; done | \ 327 awk ' { files[$$0] = 1; } \ 328 END { for (i in files) print i; }'`; \ 329 test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \ 330 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS) 331 332mostlyclean-tags: 333 334clean-tags: 335 336distclean-tags: 337 -rm -f TAGS ID 338 339maintainer-clean-tags: 340 341distdir = $(PACKAGE)-$(VERSION) 342top_distdir = $(distdir) 343 344# This target untars the dist file and tries a VPATH configuration. Then 345# it guarantees that the distribution is self-contained by making another 346# tarfile. 347distcheck: dist 348 -rm -rf $(distdir) 349 GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz 350 mkdir $(distdir)/=build 351 mkdir $(distdir)/=inst 352 dc_install_base=`cd $(distdir)/=inst && pwd`; \ 353 cd $(distdir)/=build \ 354 && ../configure --srcdir=.. --prefix=$$dc_install_base \ 355 && $(MAKE) $(AM_MAKEFLAGS) \ 356 && $(MAKE) $(AM_MAKEFLAGS) dvi \ 357 && $(MAKE) $(AM_MAKEFLAGS) check \ 358 && $(MAKE) $(AM_MAKEFLAGS) install \ 359 && $(MAKE) $(AM_MAKEFLAGS) installcheck \ 360 && $(MAKE) $(AM_MAKEFLAGS) dist 361 -rm -rf $(distdir) 362 @banner="$(distdir).tar.gz is ready for distribution"; \ 363 dashes=`echo "$$banner" | sed s/./=/g`; \ 364 echo "$$dashes"; \ 365 echo "$$banner"; \ 366 echo "$$dashes" 367dist: distdir 368 -chmod -R a+r $(distdir) 369 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) 370 -rm -rf $(distdir) 371dist-all: distdir 372 -chmod -R a+r $(distdir) 373 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) 374 -rm -rf $(distdir) 375distdir: $(DISTFILES) 376 -rm -rf $(distdir) 377 mkdir $(distdir) 378 -chmod 777 $(distdir) 379 $(mkinstalldirs) $(distdir)/Magdir 380 @for file in $(DISTFILES); do \ 381 d=$(srcdir); \ 382 if test -d $$d/$$file; then \ 383 cp -pr $$/$$file $(distdir)/$$file; \ 384 else \ 385 test -f $(distdir)/$$file \ 386 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ 387 || cp -p $$d/$$file $(distdir)/$$file || :; \ 388 fi; \ 389 done 390info-am: 391info: info-am 392dvi-am: 393dvi: dvi-am 394check-am: all-am 395check: check-am 396installcheck-am: 397installcheck: installcheck-am 398all-recursive-am: config.h 399 $(MAKE) $(AM_MAKEFLAGS) all-recursive 400 401install-exec-am: install-binPROGRAMS 402install-exec: install-exec-am 403 404install-data-am: install-man install-dataDATA 405install-data: install-data-am 406 407install-am: all-am 408 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 409install: install-am 410uninstall-am: uninstall-binPROGRAMS uninstall-man uninstall-dataDATA 411uninstall: uninstall-am 412all-am: Makefile $(PROGRAMS) $(MANS) $(DATA) config.h 413all-redirect: all-am 414install-strip: 415 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install 416installdirs: 417 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1 \ 418 $(DESTDIR)$(mandir)/man4 $(DESTDIR)$(datadir) 419 420 421mostlyclean-generic: 422 423clean-generic: 424 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) 425 426distclean-generic: 427 -rm -f Makefile $(CONFIG_CLEAN_FILES) 428 -rm -f config.cache config.log stamp-h stamp-h[0-9]* 429 430maintainer-clean-generic: 431mostlyclean-am: mostlyclean-hdr mostlyclean-binPROGRAMS \ 432 mostlyclean-compile mostlyclean-tags \ 433 mostlyclean-generic 434 435mostlyclean: mostlyclean-am 436 437clean-am: clean-hdr clean-binPROGRAMS clean-compile clean-tags \ 438 clean-generic mostlyclean-am 439 440clean: clean-am 441 442distclean-am: distclean-hdr distclean-binPROGRAMS distclean-compile \ 443 distclean-tags distclean-generic clean-am 444 445distclean: distclean-am 446 -rm -f config.status 447 448maintainer-clean-am: maintainer-clean-hdr maintainer-clean-binPROGRAMS \ 449 maintainer-clean-compile maintainer-clean-tags \ 450 maintainer-clean-generic distclean-am 451 @echo "This command is intended for maintainers to use;" 452 @echo "it deletes files that may require special tools to rebuild." 453 454maintainer-clean: maintainer-clean-am 455 -rm -f config.status 456 457.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \ 458mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \ 459maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \ 460mostlyclean-compile distclean-compile clean-compile \ 461maintainer-clean-compile install-man1 uninstall-man1 install-man4 \ 462uninstall-man4 install-man uninstall-man uninstall-dataDATA \ 463install-dataDATA tags mostlyclean-tags distclean-tags clean-tags \ 464maintainer-clean-tags distdir info-am info dvi-am dvi check check-am \ 465installcheck-am installcheck all-recursive-am install-exec-am \ 466install-exec install-data-am install-data install-am install \ 467uninstall-am uninstall all-redirect all-am all installdirs \ 468mostlyclean-generic distclean-generic clean-generic \ 469maintainer-clean-generic clean mostlyclean distclean maintainer-clean 470 471 472magic: Header Localstuff $(magic_FRAGMENTS) 473 cat $(srcdir)/Header $(srcdir)/Localstuff > $@ 474 for frag in $(magic_FRAGMENTS); do \ 475 if test -f $(srcdir)/$$frag; then \ 476 f=$(srcdir)/$$frag; \ 477 else \ 478 f=$$frag; \ 479 fi; \ 480 cat $$f; \ 481 done >> $@ 482 483file.1: Makefile file.man 484 @rm -f $@ 485 sed -e s@__CSECTION__@1@g \ 486 -e s@__FSECTION__@4@g \ 487 -e s@__VERSION__@${VERSION}@g \ 488 -e s@__MAGIC__@${MAGIC}@g $(srcdir)/file.man > $@ 489 490magic.4: Makefile magic.man 491 @rm -f $@ 492 sed -e s@__CSECTION__@1@g \ 493 -e s@__FSECTION__@4@g \ 494 -e s@__VERSION__@${VERSION}@g \ 495 -e s@__MAGIC__@${MAGIC}@g $(srcdir)/magic.man > $@ 496 497# Tell versions [3.59,3.63) of GNU make to not export all variables. 498# Otherwise a system limit (for SysV at least) may be exceeded. 499.NOEXPORT: 500