Makefile revision 24da5b34f49324ed742a340010ed5bd3d4e06625
19c7b1a0293498a3e36692c59646ed6e15ffc8d0Tinderbox User# CDDL HEADER START
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# The contents of this file are subject to the terms of the
ec5347e2c775f027573ce5648b910361aa926c01Automatic Updater# Common Development and Distribution License (the "License").
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# You may not use this file except in compliance with the License.
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# See the License for the specific language governing permissions
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# and limitations under the License.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# When distributing Covered Code, include this CDDL HEADER in each
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# If applicable, add the following below this CDDL HEADER, with the
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# fields enclosed by brackets "[]" replaced with your own identifying
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User# information: Portions Copyright [yyyy] [name of copyright owner]
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# CDDL HEADER END
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# Use is subject to license terms.
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# ident "%Z%%M% %I% %E% SMI"
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinKWARNDOBJS = kwarnd.o kwarnd_svc.o kwarnd_proc.o kwarnd_generic.o kwarnd_send.o
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinRSRC = kwarnd.h kwarnd_clnt.c kwarnd_svc.c kwarnd_xdr.c
f5d30e2864e048a42c4dc1134993ae7efdb5d6c3Mark Andrewsinclude $(SRC)/lib/gss_mechs/mech_krb5/Makefile.mech_krb5
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCPPFLAGS += -I../../lib/gss_mechs/mech_krb5/include \
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson -I$(SRC)/lib/gss_mechs/mech_krb5/include \
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafssonktkt_warnd := MAPFILES = $(MAPFILE.INT) $(MAPFILE.NGB)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeinktkt_warnd := LDFLAGS += $(KRUNPATH) $(MAPFILES:%=-M%)
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson $(LINK.c) $(KWARNDOBJS) $(G_OBJS) -o $@ $(LDLIBS)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein $(LINK.c) $(KWARNCOBJS) $(G_OBJS) -o $@ $(LDLIBS)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# Rules to generate derived rpcgen files from kwarnd.x spec file.
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# note that nightly depends on having all of the derived
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# .c files built here on 'make install', even though this
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# module doesn't use all of those files.
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein#additional dependencies