Makefile revision 6a3e8e8695d5c7d1d18c6800d676990d7f61a2a4
2N/A#
2N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
2N/A# Use is subject to license terms.
2N/A#
2N/A
2N/APROG= krb5kdc
2N/AMANIFEST= krb5kdc.xml
2N/A
2N/AOBJS = \
2N/A dispatch.o\
2N/A do_as_req.o\
2N/A do_tgs_req.o\
2N/A extern.o\
2N/A kdc_preauth.o\
2N/A kdc_util.o\
2N/A main.o\
2N/A network.o\
2N/A policy.o\
2N/A replay.o \
2N/A sock2p.o
2N/A
2N/ASRCS = $(OBJS:.o=.c)
2N/A
2N/ADEFS = -DHAVE_LIBSOCKET=1 -DHAVE_LIBNSL=1 \
2N/A -DHAVE_SYSLOG_H=1 -DHAVE_STDARG_H=1 \
2N/A -DHAVE_SYS_SELECT_H=1 -DHAVE_OPENLOG=1 \
2N/A -DHAVE_SYSLOG=1 -DHAVE_CLOSELOG=1 -DHAVE_STRFTIME=1\
2N/A -DHAVE_VSPRINTF=1 -DHAVE_COMPILE=1 -DHAVE_STEP=1 \
2N/A -DHAVE_NETINET_IN_H=1 -DHAVE_INET_NTOP=1 \
2N/A -DHAVE_SYS_SOCKIO_H=1 -DHAVE_SYS_SELECT_H=1
2N/A
2N/ACLOBBERFILES += $(RSRC)
2N/A
2N/Ainclude ../../Makefile.cmd
2N/Ainclude $(SRC)/lib/gss_mechs/mech_krb5/Makefile.mech_krb5
2N/A
2N/APOFILE = $(PROG).po
2N/APOFILES = generic.po
2N/A
2N/AROOTMANIFESTDIR= $(ROOTSVCNETWORKSECURITY)
2N/A
2N/ACFLAGS += $(CCOPTS) $(DEFS) $(LOCALINCLUDE)
2N/A# The SET macros in network.c will be mis-optimized if GCC believes it
2N/A# may rely on undefined signed overflow behaviour.
2N/A$(__GNUC4)CFLAGS += -_gcc=-fno-strict-overflow
2N/A
2N/ACPPFLAGS += \
2N/A -I$(SRC)/lib/gss_mechs/mech_krb5/include \
2N/A -I$(SRC)/lib/gss_mechs/mech_krb5/include/krb5\
2N/A -I$(SRC)/uts/common/gssapi/mechs/krb5/include \
2N/A -DHAVE_SYSLOG_H=1
2N/A
2N/ALDFLAGS += $(KRUNPATH) $(KERBRUNPATH)
2N/ALDLIBS += -L$(ROOT_KLIBDIR) -L$(KRB5LIB) \
2N/A -lmech_krb5 -lkdb -lkadm5srv -lnsl -lsocket -lbsm -lc
2N/A
2N/A.KEEP_STATE:
2N/A
2N/Aall: $(PROG)
2N/A
2N/A$(PROG): $(OBJS)
2N/A $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
2N/A $(POST_PROCESS)
2N/A
2N/A$(KRB5LIBPROG):= FILEMODE = 500
2N/A
2N/Ainstall: $(KRB5LIBPROG) $(ROOTSVCMETHOD) $(ROOTMANIFEST)
2N/A
2N/Acheck: $(CHKMANIFEST)
clean:
$(RM) $(OBJS)
lint: lint_SRCS
include ../../Makefile.targ
$(POFILE): $(DERIVED_FILES) .WAIT $(POFILES)
$(RM) $@
$(CAT) $(POFILES) > $@
generic.po: FRC
$(RM) messages.po
$(XGETTEXT) $(XGETFLAGS) `$(GREP) -l gettext *.[ch]`
$(SED) "/^domain/d" messages.po > $@
$(RM) messages.po
FRC: