Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
3998N/A#
2521N/A# CDDL HEADER START
2521N/A#
2521N/A# The contents of this file are subject to the terms of the
2521N/A# Common Development and Distribution License, Version 1.0 only
2521N/A# (the "License"). You may not use this file except in compliance
2521N/A# with the License.
2521N/A#
2521N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2521N/A# or http://www.opensolaris.org/os/licensing.
2521N/A# See the License for the specific language governing permissions
2521N/A# and limitations under the License.
2521N/A#
2521N/A# When distributing Covered Code, include this CDDL HEADER in each
2521N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2521N/A# If applicable, add the following below this CDDL HEADER, with the
2521N/A# fields enclosed by brackets "[]" replaced with your own identifying
2521N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2892N/A#
2892N/A# CDDL HEADER END
2521N/A#
2521N/A#
2521N/A# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
2521N/A# Use is subject to license terms.
2521N/A#
2521N/A#ident "%Z%%M% %I% %E% SMI"
2521N/A#
2521N/A
2521N/A.KEEP_STATE:
2521N/A
2521N/Ainclude ../../../../Makefile.cmd
2521N/Ainclude ../../Makefile.perlcfg
2521N/A
2521N/A# Add in the perl-specific flags (including largefile flags).
2521N/ACPPFLAGS += -DPERL_FOR_X2P $(PERL_LFFLAGS)
2521N/A
2521N/A# From the standard perl x2p Makefile.
2521N/APL_SRCS = find2perl.PL s2p.PL
2521N/APL_TARGS = $(PL_SRCS:%.PL=%)
3998N/APOD_SRCS = a2p.pod
2521N/APOD_TARGS = $(POD_SRCS:%=../pod/%)
2521N/A
2521N/A# a2p components.
2521N/AHDRS = a2p.h EXTERN.h hash.h INTERN.h str.h util.h ../config.h ../handy.h
2521N/ASRCS = hash.c str.c util.c walk.c a2p.c
2521N/AOBJS = $(SRCS:%.c=%.o)
2521N/ATARGS = a2p $(PL_TARGS) $(POD_TARGS)
2521N/A
2521N/ACLOBBERFILES= $(TARGS) psed
2521N/ACLEANFILES= $(OBJS)
2521N/A
2521N/Aall: $(TARGS)
2521N/A.PARALLEL: $(OBJS) $(TARGS)
2521N/A
2521N/Aa2p: $(OBJS)
2521N/A $(LINK.c) -o a2p $(OBJS) $(LDLIBS) $(PERL_LDLIBS)
2521N/A $(POST_PROCESS)
2521N/A
2521N/Aa2p.o: a2p.c a2py.c $(HDRS)
2521N/A
2521N/A# Use miniperl to build scripts.
2521N/A$(PL_TARGS): ../lib/Config.pm
2521N/A $(RUN_MINIPERL) $@.PL
2521N/A
2521N/A../pod/%.pod: %.pod ../lib/Config.pm
2521N/A $(CP) -f $< $@
2521N/A
2521N/Aclean:
2521N/A $(RM) $(CLEANFILES)
2521N/A
2521N/Ainclude ../../../../Makefile.targ
2521N/A