Makefile.com revision fb9f9b975cb9214fec5dab37d461199adab9b964
1N/A#
1N/A# CDDL HEADER START
1N/A#
1N/A# The contents of this file are subject to the terms of the
1N/A# Common Development and Distribution License, Version 1.0 only
1N/A# (the "License"). You may not use this file except in compliance
1N/A# with the License.
1N/A#
1N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1N/A# or http://www.opensolaris.org/os/licensing.
1N/A# See the License for the specific language governing permissions
1N/A# and limitations under the License.
1N/A#
1N/A# When distributing Covered Code, include this CDDL HEADER in each
1N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1N/A# If applicable, add the following below this CDDL HEADER, with the
1N/A# fields enclosed by brackets "[]" replaced with your own identifying
1N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1N/A#
1N/A# CDDL HEADER END
1N/A#
1N/A#
1N/A# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
1N/A# Use is subject to license terms.
1N/A#
1N/A# ident "%Z%%M% %I% %E% SMI"
1N/A#
1N/A# lib/gss_mechs/mech_dh/dh640.so
1N/A#
1N/A# This make file will build dh640.so.1. This shared object
1N/A# contains the functionality needed to initialize the Diffie-Hellman GSS-API
1N/A# mechanism with 640 bit key length. This library, in turn, loads the
1N/A# generic Diffie-Hellman GSS-API backend, dhmech.so
1N/A#
1N/A
1N/ALIBRARY= dh640-0.a
1N/AVERS = .1
1N/A
1N/ADH640= dh640.o dh_common.o generic_key.o
1N/A
1N/AOBJECTS= $(DH640)
1N/A
1N/A# include library definitions
1N/Ainclude ../../../../Makefile.lib
1N/A
1N/AMAKEFILE_EXPORT = $(CLOSED)/lib/gss_mechs/mech_dh/dh640/Makefile.export
1N/A$(EXPORT_RELEASE_BUILD)include $(MAKEFILE_EXPORT)
1N/A
1N/ACPPFLAGS += -I../../backend/mech -I../../backend/crypto
1N/ACPPFLAGS += -I$(SRC)/lib/libnsl/include
1N/ACPPFLAGS += -I$(SRC)/uts/common/gssapi/include
1N/A
1N/A$(PICS) := CFLAGS += $(XFFLAG)
1N/A$(PICS) := CCFLAGS += $(XFFLAG)
1N/A$(PICS) := CFLAGS64 += $(XFFLAG)
1N/A$(PICS) := CCFLAGS64 += $(XFFLAG)
1N/A
1N/ALIBS = $(DYNLIB)
1N/ALIBNAME = $(LIBRARY:%.a=%)
1N/A
1N/AMAPFILE = ../mapfile-vers
1N/A
1N/A$(EXPORT_RELEASE_BUILD)MAPFILE = $(CLOSED)/lib/gss_mechs/mech_dh/dh640/mapfile-vers-export
1N/A
1N/ADYNFLAGS += -M$(MAPFILE)
1N/A
1N/ALDLIBS += -lnsl -lmp -lc
1N/A
1N/A.KEEP_STATE:
1N/A
1N/ASRCS= ../dh640.c ../../dh_common/dh_common.c ../../dh_common/generic_key.c
1N/A
1N/AROOTLIBDIR = $(ROOT)/usr/lib/gss
1N/AROOTLIBDIR64 = $(ROOT)/usr/lib/$(MACH64)/gss
1N/A
1N/A#LINTFLAGS += -errfmt=simple
1N/A#LINTFLAGS64 += -errfmt=simple
1N/ALINTOUT = lint.out
1N/ALINTSRC = $(LINTLIB:%.ln=%)
1N/AROOTLINTDIR = $(ROOTLIBDIR)
1N/A#ROOTLINT = $(LINTSRC:%=$(ROOTLINTDIR)/%)
1N/A
1N/ACLEANFILES += $(LINTOUT) $(LINTLIB)
1N/A
1N/Alint: lintcheck
1N/A
1N/A$(ROOTLIBDIR):
1N/A $(INS.dir)
1N/A
1N/A$(ROOTLIBDIR64):
1N/A $(INS.dir)
1N/A
1N/A# include library targets
1N/Ainclude ../../../../Makefile.targ
1N/A
1N/Aobjs/%.o pics/%.o: ../%.c
1N/A $(COMPILE.c) -o $@ $<
1N/A $(POST_PROCESS_O)
1N/A
1N/Aobjs/%.o pics/%.o: ../../dh_common/%.c
1N/A $(COMPILE.c) -o $@ $<
$(POST_PROCESS_O)
objs/%.o pics/%.o: ../profile/%.c
$(COMPILE.c) -o $@ $<
$(POST_PROCESS_O)