"Fossies" - the Fresh Open Source Software Archive

Member "file-5.35/src/Makefile.am" (11 Sep 2018, 869 Bytes) of package /linux/misc/file-5.35.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "Makefile.am": 5.34_vs_5.35.

    1 MAGIC = $(pkgdatadir)/magic
    2 lib_LTLIBRARIES = libmagic.la
    3 nodist_include_HEADERS = magic.h
    4 
    5 bin_PROGRAMS = file
    6 
    7 AM_CPPFLAGS = -DMAGIC='"$(MAGIC)"'
    8 AM_CFLAGS = $(CFLAG_VISIBILITY) @WARNINGS@
    9 
   10 libmagic_la_SOURCES = buffer.c magic.c apprentice.c softmagic.c ascmagic.c \
   11 	encoding.c compress.c is_json.c is_tar.c readelf.c print.c fsmagic.c \
   12 	funcs.c file.h readelf.h tar.h apptype.c der.c der.h \
   13 	file_opts.h elfclass.h mygetopt.h cdf.c cdf_time.c readcdf.c cdf.h
   14 libmagic_la_LDFLAGS = -no-undefined -version-info 1:0:0
   15 if MINGW
   16 MINGWLIBS = -lgnurx -lshlwapi
   17 else
   18 MINGWLIBS =
   19 endif
   20 libmagic_la_LIBADD = $(LTLIBOBJS) $(MINGWLIBS)
   21 
   22 file_SOURCES = file.c seccomp.c
   23 file_LDADD = libmagic.la
   24 CLEANFILES = magic.h
   25 EXTRA_DIST = magic.h.in
   26 HDR= $(top_srcdir)/src/magic.h.in
   27 BUILT_SOURCES = magic.h
   28 
   29 magic.h:	${HDR}
   30 	sed -e "s/X.YY/$$(echo @VERSION@ | tr -d .)/" < ${HDR} > $@