Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
1117N/A#
1117N/A# CDDL HEADER START
1117N/A#
1117N/A# The contents of this file are subject to the terms of the
1515N/A# Common Development and Distribution License (the "License").
1117N/A# You may not use this file except in compliance with the License.
1117N/A#
1117N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1117N/A# or http://www.opensolaris.org/os/licensing.
1117N/A# See the License for the specific language governing permissions
1117N/A# and limitations under the License.
1117N/A#
1117N/A# When distributing Covered Code, include this CDDL HEADER in each
1117N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1117N/A# If applicable, add the following below this CDDL HEADER, with the
1117N/A# fields enclosed by brackets "[]" replaced with your own identifying
1117N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1117N/A#
1117N/A# CDDL HEADER END
1117N/A#
1117N/A#
1117N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
1117N/A# Use is subject to license terms.
1117N/A#
1117N/A
1117N/APROG= ikeadm ipsecalgs ipsecconf ipseckey ikecert
1117N/ASOCKETPROG= ipsecalgs ipsecconf ipseckey
1117N/ATSOLPROG= ipseckey
1117N/ASRCS= ikeadm.c ipsecalgs.c ipsecconf.c ipseckey.c
1117N/A
1117N/Ainclude ../../../Makefile.cmd
1117N/A
1117N/AMANIFEST= ipsecalgs.xml policy.xml manual-key.xml
1117N/A
1392N/AROOTMANIFESTDIR= $(ROOTSVCNETWORKIPSEC)
1392N/A$(ROOTMANIFEST) := FILEMODE= 444
1392N/Ainclude ../../Makefile.cmd-inet
1392N/A
1392N/ACOMMONSRCS= $(CMDINETCOMMONDIR)/$(COMMONOBJS:.o=.c)
1392N/ASRCS+= $(COMMONSRCS)
1515N/A
1392N/A#
1117N/A# Message catalog
1117N/A#
1117N/APOFILES= ikeadm.po ipsecalgs.po ipsecconf.po ipseckey.po
1117N/APOFILE= ipsecutils.po
1117N/A
1117N/Aall:= TARGET= all
1117N/Ainstall:= TARGET= install
1117N/Aclean:= TARGET= clean
1117N/Aclobber:= TARGET= clobber
1117N/Alint:= TARGET= lint
1466N/A
1466N/ACLOBBERFILES += $(PROG) $(POFILES)
1466N/ACLEANFILES += $(PROG) $(POFILES)
1466N/A
1117N/ACPPFLAGS += -DSYSV -DBSD_COMP -I$(CMDINETCOMMONDIR) -I.
1117N/ACERRWARN += -_gcc=-Wno-parentheses
1117N/ACERRWARN += -_gcc=-Wno-uninitialized
1117N/ACERRWARN += -_gcc=-Wno-switch
1466N/A
1466N/ACFLAGS += $(XSTRCONST)
1117N/ALDLIBS += -lipsecutil -lnsl
1117N/A
1117N/ALAZYLIBS = $(ZLAZYLOAD) -ltsol $(ZNOLAZYLOAD)
1466N/Alint := LAZYLIBS = -ltsol
1476N/A
1117N/A$(TSOLPROG) := LDLIBS += $(LAZYLIBS)
1425N/A$(SOCKETPROG) := LDLIBS += -lsocket
1425N/A
1425N/A.KEEP_STATE:
1117N/A
1117N/A.PARALLEL:
1117N/A
1269N/A.NO_PARALLEL: $(CHKMANIFEST)
1117N/A
1117N/Aall: $(PROG)
1117N/A
1117N/A#
1117N/A# message catalog
1117N/A#
1117N/A
1117N/A$(POFILE): $(POFILES)
1117N/A $(RM) $@
1117N/A cat $(POFILES) >> $@
1117N/A
1117N/A$(COMMONOBJS): $(COMMONSRCS)
1117N/A $(COMPILE.c) $(COMMONSRCS)
1117N/A
1117N/A$(ROOTUSRSBINLINKS):
1117N/A -$(RM) $@; $(SYMLINK) ../../sbin/$(@F) $@
1117N/A
1117N/Ainstall: $(PROG) $(ROOTFS_PROG) .WAIT $(ROOTUSRSBINPROG) \
1117N/A $(ROOTUSRSBINLINKS) $(ROOTETCDEFAULTFILES) $(ROOTMANIFEST)
1269N/A
1117N/Alint:
1392N/A $(LINT.c) -erroff=E_NAME_USED_NOT_DEF2 \
1392N/A -erroff=E_NAME_MULTIPLY_DEF2 $(SRCS) $(LDLIBS)
1392N/A
1117N/Acheck: $(CHKMANIFEST)
1394N/A
1394N/Aclean:
1394N/A -$(RM) $(CLEANFILES)
1392N/A
1392N/A
1392N/Ainclude ../../../Makefile.targ
1515N/A
1515N/A