Makefile.com revision 9dd828891378a0a6a509ab601b4c5c20ca5562ec
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
# This make file will build mech_krb5.so.1. This shared object
# contains all the functionality needed to support the Kereros V5 GSS-API
# mechanism. No other Kerberos libraries are needed.
#
VERS = .1
FILEMODE= 755
# objects are listed by source directory
REL_PATH= ../
# crypto
# et error_tables
k5mech.o \
OBJECTS= \
$(SUPPORT_OBJS) \
$(PROFILE_OBJS) \
$(CRYPTO) $(CRYPTO_UTS) \
$(CRYPTO_CRC32) \
$(CRYPTO_CRC32_UTS) \
$(CRYPTO_DES) $(CRYPTO_DES_UTS) \
$(CRYPTO_MD4) \
$(CRYPTO_DK) $(CRYPTO_DK_UTS) \
$(CRYPTO_ARCFOUR) $(CRYPTO_ARCFOUR_UTS) \
$(CRYPTO_AES) \
$(CRYPTO_ENC) \
$(CRYPTO_HASH) $(CRYPTO_HASH_UTS) \
$(CRYPTO_KEYHASH) $(CRYPTO_KEYHASH_UTS) \
$(CRYPTO_OLD) $(CRYPTO_OLD_UTS) \
$(CRYPTO_RAW) \
$(ET) \
$(K5_ASN1) \
$(K5_CC) \
$(K5_KT) \
$(K5_KRB) $(K5_KRB_UTS) \
# include library definitions
# Must come after Makefile.lib so CPPFLAGS doesn't get overwritten
# override default text domain
# KRB5_DEFS can be assigned various preprocessor flags, typically -D
# defines on the make invocation. These values will be appended to
# CPPFLAGS so the other flags in CPPFLAGS will not be overwritten.
#CPPFLAGS += -D_REENTRANT
CLOBBERFILES += $(MAPFILE)
# override ROOTLIBDIR and ROOTLINKS
$(ROOTLIBDIR) $(ROOTLIBDIR64):
$(INS.dir)
# create libmech_krb5 link locally
$(INS.liblink)
$(INS.liblink)
$(INS.liblink2)
$(INS.liblink2)
# -z ignore causes linker to ignore unneeded dependencies. This is
# needed because -lnsl is only used if DEBUG is defined.
# mech lib needs special initialization at load time
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(MAPFILE):
# include library targets
# We need to include all CPPFLAGS for the files since we are using
# the macro to expand and they are not aware of flags yet .. ugh..
SOURCES= \
# So lint.out won't be needlessly recreated