diff options
Diffstat (limited to 'Build/source/utils/psutils/psutils-1.21/Makefile.am')
-rw-r--r-- | Build/source/utils/psutils/psutils-1.21/Makefile.am | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/Build/source/utils/psutils/psutils-1.21/Makefile.am b/Build/source/utils/psutils/psutils-1.21/Makefile.am new file mode 100644 index 00000000000..a3d6f727979 --- /dev/null +++ b/Build/source/utils/psutils/psutils-1.21/Makefile.am @@ -0,0 +1,42 @@ +# Makefile for PS utilities +# +# Copyright (C) Reuben Thomas 2012 +# See LICENSE for license + +SUBDIRS = lib + +ACLOCAL_AMFLAGS = -I m4 + +AM_CFLAGS = $(WERROR_CFLAGS) $(WARN_CFLAGS) + +noinst_LIBRARIES = libpsutils.a +libpsutils_a_SOURCES = psutil.c psspec.c +libpsutils_a_LIBADD = $(LIBPAPER) +LDADD = libpsutils.a + +bin_PROGRAMS = psbook psselect pstops epsffit psnup psresize + +bin_SCRIPTS = psjoin extractres + +man_MANS = psutils.1 \ + psbook.1 psselect.1 pstops.1 epsffit.1 psnup.1 psresize.1 \ + psjoin.1 extractres.1 includeres.1 + +EXTRA_DIST = m4/gnulib-cache.m4 \ + psutil.h psspec.h \ + $(bin_SCRIPTS) \ + $(man_MANS) + +all: includeres + +includeres: extractres + $(RM) $@ && $(LN_S) extractres $@ + +install-exec-hook: + cd $(DESTDIR)$(bindir); $(RM) includeres; $(LN_S) extractres includeres + +uninstall-hook: + $(RM) $(DESTDIR)$(bindir)/includeres + +clean-local: + $(RM) includeres |