2 # Copyright 2008 Sun Microsystems, Inc. All rights reserved.
3 # Use is subject to license terms.
9 kdb5_create.o kadm5_create.o string_table.o kdb5_stash.o \
10 kdb5_destroy.o ovload.o strtok.o dump.o
14 CLOBBERFILES
+= $(TESTPROG
)
17 KRB5IPROPDIR
= $(SRC
)/cmd
/krb5
/iprop
19 include ..
/..
/..
/Makefile.cmd
20 include $(SRC
)/lib
/gss_mechs
/mech_krb5
/Makefile.mech_krb5
25 CPPFLAGS
+= -I.
-I
$(SRC
)/lib
/gss_mechs
/mech_krb5
/include/kerberosIV \
26 -I
$(SRC
)/lib
/gss_mechs
/mech_krb5
/include \
27 -I
$(SRC
)/lib
/gss_mechs
/mech_krb5
/include/krb5 \
29 -I
$(SRC
)/uts
/common
/gssapi
/include \
30 -I
$(SRC
)/uts
/common
/gssapi
/mechs
/krb5
/include \
32 -DHAVE_LIBSOCKET
=1 -DHAVE_LIBNSL
=1 -DHAVE_GETCWD
=1 \
33 -DHAVE_STRSTR
=1 -DHAVE_COMPILE
=1 -DHAVE_STEP
=1 \
34 -DHAVE_KRB_DB_H
=1 -DHAVE_KDC_H
=1 -DKDB4_DISABLE \
35 -DUSE_KADM5_API_VERSION
=2
36 COPTFLAG
+= $(XESS
) #-I$(KINCDIR)
38 CERRWARN
+= -_gcc
=-Wno-parentheses
39 CERRWARN
+= -_gcc
=-Wno-unused-variable
40 CERRWARN
+= -_gcc
=-Wno-unused-function
41 CERRWARN
+= -_gcc
=-Wno-implicit-function-declaration
43 LDFLAGS
+= $(KRUNPATH
) $(KERBRUNPATH
)
44 LDLIBS
+= -L
$(ROOT_KLIBDIR
) -L
$(KRB5LIB
) -lkadm5srv
-lkdb \
51 # Rpcgen-erate iprop.h from the iprop.x spec file
52 $(ISRCHDR
): $(KRB5IPROPDIR
)/iprop.x
54 $(RPCGEN
) -h
$(KRB5IPROPDIR
)/iprop.x
> $@
56 # Explicitly state the dependency on iprop.h
60 $(LINK.c
) $(OBJS
) -o
$@
$(LDLIBS
)
63 install: $(KRB5SBINPROG
)
66 $(RM
) $(OBJS
) $(ISRCHDR
)
70 include ..
/..
/..
/Makefile.targ
72 $(POFILE
): $(DERIVED_FILES
) .WAIT
$(POFILES
)
74 $(CAT
) $(POFILES
) > $@
78 $(XGETTEXT
) $(XGETFLAGS
) `$(GREP) -l gettext *.[ch]`
79 $(SED
) "/^domain/d" messages.po
> $@