Makefile.in 15 KB

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