mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
358 lines
9.2 KiB
Makefile
358 lines
9.2 KiB
Makefile
# Makefile.in generated automatically by automake 1.2 from Makefile.am
|
|
|
|
# Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
|
|
# This Makefile.in is free software; the Free Software Foundation
|
|
# gives unlimited permission to copy, distribute and modify it.
|
|
|
|
|
|
SHELL = /bin/sh
|
|
|
|
srcdir = @srcdir@
|
|
top_srcdir = @top_srcdir@
|
|
VPATH = @srcdir@
|
|
prefix = @prefix@
|
|
exec_prefix = @exec_prefix@
|
|
|
|
bindir = @bindir@
|
|
sbindir = @sbindir@
|
|
libexecdir = @libexecdir@
|
|
datadir = @datadir@
|
|
sysconfdir = @sysconfdir@
|
|
sharedstatedir = @sharedstatedir@
|
|
localstatedir = @localstatedir@
|
|
libdir = @libdir@
|
|
infodir = @infodir@
|
|
mandir = @mandir@
|
|
includedir = @includedir@
|
|
oldincludedir = /usr/include
|
|
|
|
DISTDIR =
|
|
|
|
pkgdatadir = $(datadir)/@PACKAGE@
|
|
pkglibdir = $(libdir)/@PACKAGE@
|
|
pkgincludedir = $(includedir)/@PACKAGE@
|
|
|
|
top_builddir = .
|
|
|
|
ACLOCAL = @ACLOCAL@
|
|
AUTOCONF = @AUTOCONF@
|
|
AUTOMAKE = @AUTOMAKE@
|
|
AUTOHEADER = @AUTOHEADER@
|
|
|
|
INSTALL = @INSTALL@
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
|
transform = @program_transform_name@
|
|
|
|
NORMAL_INSTALL = :
|
|
PRE_INSTALL = :
|
|
POST_INSTALL = :
|
|
NORMAL_UNINSTALL = :
|
|
PRE_UNINSTALL = :
|
|
POST_UNINSTALL = :
|
|
CC = @CC@
|
|
EXEEXT = @EXEEXT@
|
|
MAKEINFO = @MAKEINFO@
|
|
PACKAGE = @PACKAGE@
|
|
PNG_INCLUDE = @PNG_INCLUDE@
|
|
VERSION = @VERSION@
|
|
ZLIB_INCLUDE = @ZLIB_INCLUDE@
|
|
|
|
INCLUDES=-I$(PNG_INCLUDE) -I$(ZLIB_INCLUDE)
|
|
|
|
bin_PROGRAMS = pngmeta
|
|
|
|
AUTOMAKE_OPTIONS=foreign no-dependencies
|
|
|
|
EXTRA_DIST=test1 test2 test3 test4\
|
|
test1.xpt test2.xpt test3.xpt test4.xpt\
|
|
8859.png ctzn0g04.png ct1n0g04.png\
|
|
pngmeta.1 Makefile.old pngmeta.spec
|
|
|
|
man_MANS=pngmeta.1
|
|
|
|
TESTS=test1 test2 test3 test4
|
|
|
|
MAINTAINERCLEANFILES=test1.xpt test2.xpt test3.xpt test4.xpt
|
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
|
CONFIG_CLEAN_FILES =
|
|
PROGRAMS = $(bin_PROGRAMS)
|
|
|
|
|
|
DEFS = @DEFS@ -I. -I$(srcdir)
|
|
CPPFLAGS = @CPPFLAGS@
|
|
LDFLAGS = @LDFLAGS@
|
|
LIBS = @LIBS@
|
|
pngmeta_SOURCES = pngmeta.c
|
|
pngmeta_OBJECTS = pngmeta.o
|
|
pngmeta_LDADD = $(LDADD)
|
|
pngmeta_LDFLAGS =
|
|
CFLAGS = @CFLAGS@
|
|
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
|
|
LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@
|
|
MANS = pngmeta.1
|
|
|
|
NROFF = nroff
|
|
DIST_COMMON = README Makefile.am Makefile.in NEWS aclocal.m4 configure \
|
|
configure.in install-sh missing mkinstalldirs
|
|
|
|
|
|
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
|
|
|
TAR = gnutar
|
|
GZIP = --best
|
|
SOURCES = pngmeta.c
|
|
OBJECTS = pngmeta.o
|
|
|
|
default: all
|
|
|
|
.SUFFIXES:
|
|
.SUFFIXES: .c .o
|
|
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
|
cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile
|
|
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
cd $(top_builddir) \
|
|
&& CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
|
|
$(ACLOCAL_M4): configure.in
|
|
cd $(srcdir) && $(ACLOCAL)
|
|
|
|
config.status: $(srcdir)/configure
|
|
$(SHELL) ./config.status --recheck
|
|
$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
|
|
cd $(srcdir) && $(AUTOCONF)
|
|
|
|
mostlyclean-binPROGRAMS:
|
|
|
|
clean-binPROGRAMS:
|
|
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
|
|
|
|
distclean-binPROGRAMS:
|
|
|
|
maintainer-clean-binPROGRAMS:
|
|
|
|
install-binPROGRAMS: $(bin_PROGRAMS)
|
|
@$(NORMAL_INSTALL)
|
|
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
|
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
|
if test -f $$p; then \
|
|
echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
|
|
$(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
|
|
else :; fi; \
|
|
done
|
|
|
|
uninstall-binPROGRAMS:
|
|
@$(NORMAL_UNINSTALL)
|
|
list='$(bin_PROGRAMS)'; for p in $$list; do \
|
|
rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
|
|
done
|
|
|
|
.c.o:
|
|
$(COMPILE) -c $<
|
|
|
|
.s.o:
|
|
$(COMPILE) -c $<
|
|
|
|
.S.o:
|
|
$(COMPILE) -c $<
|
|
|
|
mostlyclean-compile:
|
|
-rm -f *.o core *.core
|
|
|
|
clean-compile:
|
|
|
|
distclean-compile:
|
|
-rm -f *.tab.c
|
|
|
|
maintainer-clean-compile:
|
|
|
|
pngmeta: $(pngmeta_OBJECTS) $(pngmeta_DEPENDENCIES)
|
|
@rm -f pngmeta
|
|
$(LINK) $(pngmeta_LDFLAGS) $(pngmeta_OBJECTS) $(pngmeta_LDADD) $(LIBS)
|
|
install-man: $(MANS)
|
|
$(NORMAL_INSTALL)
|
|
$(mkinstalldirs) $(mandir)/man1
|
|
@sect=1; \
|
|
inst=`echo "pngmeta" | sed '$(transform)'`.1; \
|
|
if test -f $(srcdir)/pngmeta.1; then file=$(srcdir)/pngmeta.1; \
|
|
else file=pngmeta.1; fi; \
|
|
echo " $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst"; \
|
|
$(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst
|
|
|
|
uninstall-man:
|
|
$(NORMAL_UNINSTALL)
|
|
inst=`echo "pngmeta" | sed '$(transform)'`.1; \
|
|
rm -f $(mandir)/man1/$$inst
|
|
|
|
|
|
tags: TAGS
|
|
|
|
ID: $(HEADERS) $(SOURCES) $(LISP)
|
|
here=`pwd` && cd $(srcdir) \
|
|
&& mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
|
|
|
|
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
|
|
tags=; \
|
|
here=`pwd`; \
|
|
list='$(SOURCES) $(HEADERS)'; \
|
|
unique=`for i in $$list; do echo $$i; done | \
|
|
awk ' { files[$$0] = 1; } \
|
|
END { for (i in files) print i; }'`; \
|
|
test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
|
|
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
|
|
|
|
mostlyclean-tags:
|
|
|
|
clean-tags:
|
|
|
|
distclean-tags:
|
|
-rm -f TAGS ID
|
|
|
|
maintainer-clean-tags:
|
|
|
|
distdir = $(PACKAGE)-$(VERSION)
|
|
top_distdir = $(distdir)
|
|
|
|
# This target untars the dist file and tries a VPATH configuration. Then
|
|
# it guarantees that the distribution is self-contained by making another
|
|
# tarfile.
|
|
distcheck: dist
|
|
rm -rf $(distdir)
|
|
GZIP=$(GZIP) $(TAR) zxf $(distdir).tar.gz
|
|
mkdir $(distdir)/=build
|
|
mkdir $(distdir)/=inst
|
|
dc_install_base=`cd $(distdir)/=inst && pwd`; \
|
|
cd $(distdir)/=build \
|
|
&& ../configure --srcdir=.. --prefix=$$dc_install_base \
|
|
&& $(MAKE) \
|
|
&& $(MAKE) dvi \
|
|
&& $(MAKE) check \
|
|
&& $(MAKE) install \
|
|
&& $(MAKE) installcheck \
|
|
&& $(MAKE) dist
|
|
rm -rf $(distdir)
|
|
@echo "========================"; \
|
|
echo "$(distdir).tar.gz is ready for distribution"; \
|
|
echo "========================"
|
|
dist: distdir
|
|
-chmod -R a+r $(distdir)
|
|
GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
|
|
rm -rf $(distdir)
|
|
dist-all: distdir
|
|
-chmod -R a+r $(distdir)
|
|
GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
|
|
rm -rf $(distdir)
|
|
distdir: $(DISTFILES)
|
|
rm -rf $(distdir)
|
|
mkdir $(distdir)
|
|
-chmod 777 $(distdir)
|
|
@for file in $(DISTFILES); do \
|
|
d=$(srcdir); \
|
|
test -f $(distdir)/$$file \
|
|
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
|
|| cp -p $$d/$$file $(distdir)/$$file; \
|
|
done
|
|
check-TESTS: $(TESTS)
|
|
@failed=0; all=0; \
|
|
srcdir=$(srcdir); export srcdir; \
|
|
for tst in $(TESTS); do \
|
|
if test -f $$tst; then dir=.; \
|
|
else dir="$(srcdir)"; fi; \
|
|
if $(TESTS_ENVIRONMENT) $$dir/$$tst; then \
|
|
all=`expr $$all + 1`; \
|
|
echo "PASS: $$tst"; \
|
|
elif test $$? -ne 77; then \
|
|
all=`expr $$all + 1`; \
|
|
failed=`expr $$failed + 1`; \
|
|
echo "FAIL: $$tst"; \
|
|
fi; \
|
|
done; \
|
|
if test "$$failed" -eq 0; then \
|
|
banner="All $$all tests passed"; \
|
|
else \
|
|
banner="$$failed of $$all tests failed"; \
|
|
fi; \
|
|
dashes=`echo "$$banner" | sed s/./=/g`; \
|
|
echo "$$dashes"; \
|
|
echo "$$banner"; \
|
|
echo "$$dashes"; \
|
|
test "$$failed" -eq 0
|
|
info:
|
|
dvi:
|
|
check: all
|
|
$(MAKE) check-TESTS
|
|
installcheck:
|
|
install-exec: install-binPROGRAMS
|
|
@$(NORMAL_INSTALL)
|
|
|
|
install-data: install-man
|
|
@$(NORMAL_INSTALL)
|
|
|
|
install: install-exec install-data all
|
|
@:
|
|
|
|
uninstall: uninstall-binPROGRAMS uninstall-man
|
|
|
|
all: Makefile $(PROGRAMS) $(MANS)
|
|
|
|
install-strip:
|
|
$(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
|
|
installdirs:
|
|
$(mkinstalldirs) $(bindir) $(mandir)/man1
|
|
|
|
|
|
mostlyclean-generic:
|
|
-test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
|
|
|
|
clean-generic:
|
|
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
|
|
|
distclean-generic:
|
|
-rm -f Makefile $(DISTCLEANFILES)
|
|
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
|
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
|
|
|
maintainer-clean-generic:
|
|
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
|
|
-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
|
|
mostlyclean: mostlyclean-binPROGRAMS mostlyclean-compile \
|
|
mostlyclean-tags mostlyclean-generic
|
|
|
|
clean: clean-binPROGRAMS clean-compile clean-tags clean-generic \
|
|
mostlyclean
|
|
|
|
distclean: distclean-binPROGRAMS distclean-compile distclean-tags \
|
|
distclean-generic clean
|
|
rm -f config.status
|
|
|
|
maintainer-clean: maintainer-clean-binPROGRAMS maintainer-clean-compile \
|
|
maintainer-clean-tags maintainer-clean-generic \
|
|
distclean
|
|
@echo "This command is intended for maintainers to use;"
|
|
@echo "it deletes files that may require special tools to rebuild."
|
|
rm -f config.status
|
|
|
|
.PHONY: default mostlyclean-binPROGRAMS distclean-binPROGRAMS \
|
|
clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \
|
|
install-binPROGRAMS mostlyclean-compile distclean-compile clean-compile \
|
|
maintainer-clean-compile install-man uninstall-man tags \
|
|
mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
|
|
distdir check-TESTS info dvi installcheck install-exec install-data \
|
|
install uninstall all installdirs mostlyclean-generic distclean-generic \
|
|
clean-generic maintainer-clean-generic clean mostlyclean distclean \
|
|
maintainer-clean
|
|
|
|
|
|
test-results: pngmeta
|
|
./pngmeta -quiet ct1n0g04.png > test1.xpt
|
|
./pngmeta -soif -quiet ctzn0g04.png > test2.xpt
|
|
./pngmeta -html -quiet 8859.png > test3.xpt
|
|
./pngmeta -xrdf ct1n0g04.png > test4.xpt
|
|
|
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
|
.NOEXPORT:
|