aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am-src
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2009-05-02 08:22:49 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2009-05-02 08:22:49 +0000
commit4f3dd34290f174adbda2b9668cc6b6c554ae9bb0 (patch)
tree7c9b7aee2424612b6dc946ca927b316448f0e54a /Makefile.am-src
parent1ff822f5fe04d966924a230d9fccdd2b16ce563c (diff)
downloadsrc-4f3dd34290f174adbda2b9668cc6b6c554ae9bb0.tar.gz
src-4f3dd34290f174adbda2b9668cc6b6c554ae9bb0.zip
Virgin import of Christos Zoulas's FILE 5.00.
Notes
Notes: svn path=/vendor/file/dist/; revision=191739
Diffstat (limited to 'Makefile.am-src')
-rw-r--r--Makefile.am-src18
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile.am-src b/Makefile.am-src
new file mode 100644
index 000000000000..db78d96e49d4
--- /dev/null
+++ b/Makefile.am-src
@@ -0,0 +1,18 @@
+MAGIC = $(pkgdatadir)/magic
+lib_LTLIBRARIES = libmagic.la
+include_HEADERS = magic.h
+
+bin_PROGRAMS = file
+
+AM_CPPFLAGS = -DMAGIC='"$(MAGIC)"'
+AM_CFLAGS = @WARNINGS@
+
+libmagic_la_SOURCES = magic.c apprentice.c softmagic.c ascmagic.c \
+ encoding.c compress.c is_tar.c readelf.c print.c fsmagic.c \
+ funcs.c file.h names.h patchlevel.h readelf.h tar.h apptype.c \
+ file_opts.h elfclass.h mygetopt.h cdf.c cdf_time.c readcdf.c cdf.h
+libmagic_la_LDFLAGS = -no-undefined -version-info 1:0:0
+libmagic_la_LIBADD = $(LTLIBOBJS)
+
+file_SOURCES = file.c
+file_LDADD = libmagic.la