Makefile revision 58
44N/A#
44N/A# CDDL HEADER START
44N/A#
44N/A# The contents of this file are subject to the terms of the
44N/A# Common Development and Distribution License (the "License").
44N/A# You may not use this file except in compliance with the License.
44N/A#
44N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
44N/A# or http://www.opensolaris.org/os/licensing.
44N/A# See the License for the specific language governing permissions
44N/A# and limitations under the License.
44N/A#
44N/A# When distributing Covered Code, include this CDDL HEADER in each
44N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
44N/A# If applicable, add the following below this CDDL HEADER, with the
44N/A# fields enclosed by brackets "[]" replaced with your own identifying
44N/A# information: Portions Copyright [yyyy] [name of copyright owner]
44N/A#
44N/A# CDDL HEADER END
44N/A#
58N/A# Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved.
44N/A#
44N/Ainclude ../../make-rules/shared-macros.mk
44N/A
44N/ACOMPONENT_NAME= a2ps
44N/ACOMPONENT_VERSION= 4.13
44N/AIPS_PKG_NAME= print/lp/filter/a2ps
44N/ACOMPONENT_DESCRIPTION= "GNU Any to PostScript filter"
44N/ACOMPONENT_CLASSIFICATION="System/Printing"
44N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
44N/ACOMPONENT_PROJECT_URL= http://http.gnu.org/software/a2ps/
44N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC)b.tar.gz
44N/ACOMPONENT_ARCHIVE_HASH= sha1:cfc79a3e54115e569f667fa3fd2c2ec16d22b31a
44N/ACOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/a2ps/$(COMPONENT_ARCHIVE)
44N/A
44N/Ainclude ../../make-rules/prep.mk
44N/Ainclude ../../make-rules/configure.mk
44N/Ainclude ../../make-rules/ips.mk
44N/A
44N/ACONFIGURE_OPTIONS += --enable-shared
44N/ACONFIGURE_OPTIONS += --disable-static
44N/ACONFIGURE_OPTIONS += --sysconfdir=/etc/gnu
58N/ACONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
44N/ACONFIGURE_OPTIONS += --with-medium=letter
44N/A
44N/A# because viewpathing isn't quite right in this version of a2ps
44N/ACOMPONENT_PREP_ACTION = \
44N/A (cd $(@D) ; ln -s auxdir/mkinstalldirs)
44N/ACOMPONENT_POST_CONFIGURE_ACTION = \
44N/A (cd $(@D)/doc ; \
44N/A ln -s ../../doc/make-authors.pl ; \
44N/A ln -s ../../doc/translators.txt)
44N/A
44N/ASFWPROGS = a2ps card composeglyphs fixnt fixps ogonkify pdiff psmandup \
44N/A psset texi2dvi4a2ps
44N/APROTOSFWLINKS = $(SFWPROGS:%=$(PROTOSFWBIN)/%)
44N/A
44N/A$(PROTOSFWLINKS): $(PROTOSFWBIN)
44N/A $(RM) $@ ; $(SYMLINK) ../../bin/$(@F) $@
44N/A
44N/APROTOETCLPFD = $(PROTO_DIR)/etc/lp/fd
44N/AFILTERDEFS = a2ps.fd
44N/APROTOFILTERDEFS = $(FILTERDEFS:%=$(PROTOETCLPFD)/%)
44N/A
44N/A$(PROTOFILTERDEFS): $(PROTOETCLPFD)
44N/A $(INSTALL) -m 444 $(@F) $(@D)
44N/A
44N/A$(PROTOSFWBIN) $(PROTOETCLPFD): $(INSTALL_32)
44N/A $(MKDIR) $@
44N/A
44N/A# common targets
44N/Abuild: $(BUILD_32)
44N/A
44N/Ainstall: $(INSTALL_32) $(PROTOFILTERDEFS) $(PROTOSFWLINKS)
44N/A
44N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
44N/A
44N/AREQUIRED_TOOL += $(CCC)
44N/AREQUIRED_TOOL += $(CC)
44N/AREQUIRED_TOOL += /sbin/uname
44N/AREQUIRED_TOOL += /usr/bin/$(MACH64)/ld
44N/AREQUIRED_TOOL += /usr/bin/$(MACH64)/nm
44N/AREQUIRED_TOOL += /usr/bin/$(MACH64)/sort
44N/AREQUIRED_TOOL += /usr/bin/basename
44N/AREQUIRED_TOOL += /usr/bin/bash
44N/AREQUIRED_TOOL += /usr/bin/cat
44N/AREQUIRED_TOOL += /usr/bin/chmod
44N/AREQUIRED_TOOL += /usr/bin/cmp
44N/AREQUIRED_TOOL += /usr/bin/cp
44N/AREQUIRED_TOOL += /usr/bin/date
44N/AREQUIRED_TOOL += /usr/bin/echo
44N/AREQUIRED_TOOL += /usr/bin/egrep
44N/AREQUIRED_TOOL += /usr/bin/emacs
44N/AREQUIRED_TOOL += /usr/bin/env
44N/AREQUIRED_TOOL += /usr/bin/expr
44N/AREQUIRED_TOOL += /usr/bin/fgrep
44N/AREQUIRED_TOOL += /usr/bin/file
44N/AREQUIRED_TOOL += /usr/bin/flex
44N/AREQUIRED_TOOL += /usr/bin/gfind
44N/AREQUIRED_TOOL += /usr/bin/ggrep
44N/AREQUIRED_TOOL += /usr/bin/ginstall
44N/AREQUIRED_TOOL += /usr/bin/gmake
44N/AREQUIRED_TOOL += /usr/bin/gpatch
44N/AREQUIRED_TOOL += /usr/bin/grep
44N/AREQUIRED_TOOL += /usr/bin/gsed
44N/AREQUIRED_TOOL += /usr/bin/gtar
44N/AREQUIRED_TOOL += /usr/bin/gzip
44N/AREQUIRED_TOOL += /usr/bin/hostname
44N/AREQUIRED_TOOL += /usr/bin/ksh93
44N/AREQUIRED_TOOL += /usr/bin/imake
44N/AREQUIRED_TOOL += /usr/bin/install-info
44N/AREQUIRED_TOOL += /usr/bin/ld
44N/AREQUIRED_TOOL += /usr/bin/ln
44N/AREQUIRED_TOOL += /usr/bin/ls
44N/AREQUIRED_TOOL += /usr/bin/make
44N/AREQUIRED_TOOL += /usr/bin/mkdir
44N/AREQUIRED_TOOL += /usr/bin/msgfmt
44N/AREQUIRED_TOOL += /usr/bin/mv
44N/AREQUIRED_TOOL += /usr/bin/nm
44N/AREQUIRED_TOOL += /usr/bin/psselect
44N/AREQUIRED_TOOL += /usr/bin/rm
44N/AREQUIRED_TOOL += /usr/bin/sed
44N/AREQUIRED_TOOL += /usr/bin/sleep
44N/AREQUIRED_TOOL += /usr/bin/sort
44N/AREQUIRED_TOOL += /usr/bin/touch
44N/AREQUIRED_TOOL += /usr/bin/tr
44N/AREQUIRED_TOOL += /usr/bin/uniq
44N/AREQUIRED_TOOL += /usr/bin/xgettext
44N/AREQUIRED_TOOL += /usr/bin/xmkmf
44N/AREQUIRED_TOOL += /usr/gnu/bin/echo
44N/AREQUIRED_TOOL += /usr/gnu/bin/m4
44N/AREQUIRED_TOOL += /usr/gnu/bin/pwd
44N/AREQUIRED_TOOL += /usr/gnu/bin/sort
44N/AREQUIRED_TOOL += /usr/gnu/bin/uname
44N/AREQUIRED_TOOL += /usr/lib/cpp
44N/AREQUIRED_TOOL += /usr/perl5/bin/perl
44N/A
44N/AREQUIRED_FILE += /lib/libc.so
44N/AREQUIRED_FILE += /lib/libm.so
44N/AREQUIRED_FILE += /usr/include/alloca.h
44N/AREQUIRED_FILE += /usr/include/assert.h
44N/AREQUIRED_FILE += /usr/include/ctype.h
44N/AREQUIRED_FILE += /usr/include/dirent.h
44N/AREQUIRED_FILE += /usr/include/errno.h
44N/AREQUIRED_FILE += /usr/include/fcntl.h
44N/AREQUIRED_FILE += /usr/include/fnmatch.h
44N/AREQUIRED_FILE += /usr/include/inttypes.h
44N/AREQUIRED_FILE += /usr/include/libintl.h
44N/AREQUIRED_FILE += /usr/include/limits.h
44N/AREQUIRED_FILE += /usr/include/locale.h
44N/AREQUIRED_FILE += /usr/include/malloc.h
44N/AREQUIRED_FILE += /usr/include/math.h
44N/AREQUIRED_FILE += /usr/include/memory.h
44N/AREQUIRED_FILE += /usr/include/nl_types.h
44N/AREQUIRED_FILE += /usr/include/pwd.h
44N/AREQUIRED_FILE += /usr/include/signal.h
44N/AREQUIRED_FILE += /usr/include/stdarg.h
44N/AREQUIRED_FILE += /usr/include/stdbool.h
44N/AREQUIRED_FILE += /usr/include/stddef.h
44N/AREQUIRED_FILE += /usr/include/stdio.h
44N/AREQUIRED_FILE += /usr/include/stdlib.h
44N/AREQUIRED_FILE += /usr/include/string.h
44N/AREQUIRED_FILE += /usr/include/strings.h
44N/AREQUIRED_FILE += /usr/include/sys/ioctl.h
44N/AREQUIRED_FILE += /usr/include/sys/mman.h
44N/AREQUIRED_FILE += /usr/include/sys/param.h
44N/AREQUIRED_FILE += /usr/include/sys/stat.h
44N/AREQUIRED_FILE += /usr/include/sys/time.h
44N/AREQUIRED_FILE += /usr/include/sys/types.h
44N/AREQUIRED_FILE += /usr/include/sys/wait.h
44N/AREQUIRED_FILE += /usr/include/termios.h
44N/AREQUIRED_FILE += /usr/include/time.h
44N/AREQUIRED_FILE += /usr/include/unistd.h
44N/AREQUIRED_FILE += /usr/include/varargs.h
44N/AREQUIRED_FILE += /usr/include/wchar.h
44N/AREQUIRED_FILE += /usr/share/lib/make
44N/A
44N/Ainclude ../../make-rules/depend.mk