Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
2f5f997e354e7f4a02b6818bdc68fbece5cb237dJohn Smith# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
2f5f997e354e7f4a02b6818bdc68fbece5cb237dJohn Smith# Use is subject to license terms.
2f5f997e354e7f4a02b6818bdc68fbece5cb237dJohn Smith# ident "%Z%%M% %I% %E% SMI"
2f5f997e354e7f4a02b6818bdc68fbece5cb237dJohn SmithOBJS = kadm_rpc_svc.o server_stubs.o ovsec_kadmd.o misc.o server_glue_v1.o \
2f5f997e354e7f4a02b6818bdc68fbece5cb237dJohn Smith# Definitions needed to rpcgen iprop-related files
2f5f997e354e7f4a02b6818bdc68fbece5cb237dJohn Smithinclude $(SRC)/lib/gss_mechs/mech_krb5/Makefile.mech_krb5
2f5f997e354e7f4a02b6818bdc68fbece5cb237dJohn SmithDEFS = -DHAVE_LIBSOCKET=1 -DHAVE_LIBNSL=1 -DHAVE_COMPILE=1 -DHAVE_STEP=1 -DKRB5_KRB4_COMPAT
2f5f997e354e7f4a02b6818bdc68fbece5cb237dJohn SmithCPPFLAGS += -I. -I$(SRC)/uts/common/gssapi/mechs/krb5/include \
2f5f997e354e7f4a02b6818bdc68fbece5cb237dJohn Smith -lmech_krb5 -lkadm5srv -lkdb -lnsl -lresolv -lbsm -lpam -lsocket
2f5f997e354e7f4a02b6818bdc68fbece5cb237dJohn Smith $(LINK.c) $(OBJS) $(DERIVED_OBJS) -o $@ $(LDLIBS)
2f5f997e354e7f4a02b6818bdc68fbece5cb237dJohn Smith# Rules to rpcgen-erate derived files from the iprop.x spec file
2f5f997e354e7f4a02b6818bdc68fbece5cb237dJohn Smith# Explicitly state the dependancy on iprop.h
2f5f997e354e7f4a02b6818bdc68fbece5cb237dJohn Smithinstall: $(KRB5LIBPROG) $(ROOTMETHOD) $(ROOTMANIFEST)
2f5f997e354e7f4a02b6818bdc68fbece5cb237dJohn Smith $(XGETTEXT) $(XGETFLAGS) `$(GREP) -l gettext *.[ch]`