- Fix for possible unset uid/gid in toproto
- Fix for default mtree style
- Update libelf
- Importing libexecinfo
- Resynchronize GCC, mpc, gmp, mpfr
- build.sh: Replace params with show-params.
This has been done as the make target has been renamed in the same
way, while a new target named params has been added. This new
target generates a file containing all the parameters, instead of
printing it on the console.
- Update test48 with new etc/services (Fix by Ben Gras <ben@minix3.org)
get getservbyport() out of the inner loop
Change-Id: Ie6ad5226fa2621ff9f0dee8782ea48f9443d2091
31 lines
822 B
Makefile
31 lines
822 B
Makefile
MAGIC = $(pkgdatadir)/magic
|
|
lib_LTLIBRARIES = libmagic.la
|
|
include_HEADERS = magic.h
|
|
|
|
bin_PROGRAMS = file
|
|
|
|
AM_CPPFLAGS = -DMAGIC='"$(MAGIC)"'
|
|
AM_CFLAGS = $(CFLAG_VISIBILITY) @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 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
|
|
if MINGW
|
|
MINGWLIBS = -lgnurx -lshlwapi
|
|
else
|
|
MINGWLIBS =
|
|
endif
|
|
libmagic_la_LIBADD = $(LTLIBOBJS) $(MINGWLIBS)
|
|
|
|
file_SOURCES = file.c
|
|
file_LDADD = libmagic.la
|
|
CLEANFILES = magic.h
|
|
EXTRA_DIST = magic.h.in
|
|
HDR= $(top_srcdir)/src/magic.h.in
|
|
BUILT_SOURCES = magic.h
|
|
|
|
magic.h: ${HDR}
|
|
sed -e "s/X.YY/$$(echo @VERSION@ | tr -d .)/" < ${HDR} > $@
|