2009-05-02 08:22:49 +00:00
|
|
|
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 \
|
2011-10-06 06:01:12 +00:00
|
|
|
funcs.c file.h names.h readelf.h tar.h apptype.c \
|
2009-05-02 08:22:49 +00:00
|
|
|
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
|
2011-10-06 06:01:12 +00:00
|
|
|
if MINGW
|
|
|
|
MINGWLIBS = -lgnurx -lshlwapi
|
|
|
|
else
|
|
|
|
MINGWLIBS =
|
|
|
|
endif
|
|
|
|
libmagic_la_LIBADD = $(LTLIBOBJS) $(MINGWLIBS)
|
2009-05-02 08:22:49 +00:00
|
|
|
|
|
|
|
file_SOURCES = file.c
|
|
|
|
file_LDADD = libmagic.la
|