Use ${SRCTOP}/contrib/com_err/com_err.h instead of the installed com_err.h.
This fixes build when com_err.h is not installed. PR: 234691 MFC after: 1 week
This commit is contained in:
parent
588957c4ea
commit
9bfb656b5b
@ -21,7 +21,8 @@ SRCS= asn1_err.c \
|
||||
timegm.c \
|
||||
${GEN:S/.x$/.c/:S/.hx$/.h/}
|
||||
|
||||
CFLAGS+=-I${KRB5DIR}/lib/asn1 -I${KRB5DIR}/lib/roken -I.
|
||||
CFLAGS+=-I${KRB5DIR}/lib/asn1 -I${KRB5DIR}/lib/roken \
|
||||
-I${SRCTOP}/contrib/com_err -I.
|
||||
|
||||
GEN_RFC2459= asn1_rfc2459_asn1.x rfc2459_asn1.hx rfc2459_asn1-priv.hx
|
||||
GEN_CMS= asn1_cms_asn1.x cms_asn1.hx cms_asn1-priv.hx
|
||||
|
@ -78,7 +78,9 @@ CFLAGS+=-I${KRB5DIR}/lib/gssapi/krb5
|
||||
CFLAGS+=-I${KRB5DIR}/lib/gssapi/gssapi
|
||||
CFLAGS+=-I${KRB5DIR}/lib/krb5
|
||||
CFLAGS+=-I${KRB5DIR}/lib/asn1
|
||||
CFLAGS+=-I${KRB5DIR}/lib/roken -I.
|
||||
CFLAGS+=-I${KRB5DIR}/lib/roken
|
||||
CFLAGS+=-I${SRCTOP}/contrib/com_err
|
||||
CFLAGS+=-I.
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
||||
|
@ -59,6 +59,7 @@ SRCS= common.c \
|
||||
CFLAGS+=-I${KRB5DIR}/lib/hdb -I${KRB5DIR}/lib/asn1 \
|
||||
-I${KRB5DIR}/lib/roken -I${SRCTOP}/contrib/sqlite3/ \
|
||||
-I${KRB5DIR}/lib/krb5 \
|
||||
-I${SRCTOP}/contrib/com_err \
|
||||
-I. ${LDAPCFLAGS}
|
||||
CFLAGS+=-DHDB_DB_DIR="\"/var/heimdal\""
|
||||
|
||||
|
@ -5,7 +5,8 @@ LDFLAGS= -Wl,--no-undefined
|
||||
LIBADD= crypto com_err krb5 roken
|
||||
SRCS= ntlm.c ntlm_err.c ntlm_err.h
|
||||
INCS= heimntlm.h heimntlm-protos.h ntlm_err.h
|
||||
CFLAGS+=-I${KRB5DIR}/lib/ntlm -I${KRB5DIR}/lib/roken
|
||||
CFLAGS+=-I${KRB5DIR}/lib/ntlm -I${KRB5DIR}/lib/roken \
|
||||
-I${SRCTOP}/contrib/com_err
|
||||
VERSION_MAP= ${KRB5DIR}/lib/ntlm/version-script.map
|
||||
|
||||
MAN= ntlm_buf.3 \
|
||||
|
@ -211,7 +211,9 @@ CFLAGS+=-I${KRB5DIR}/lib/hx509
|
||||
CFLAGS+=-I${KRB5DIR}/lib/hx509/ref
|
||||
CFLAGS+=-I${KRB5DIR}/lib/asn1
|
||||
CFLAGS+=-I${KRB5DIR}/lib/wind
|
||||
CFLAGS+=-I${KRB5DIR}/lib/roken -I.
|
||||
CFLAGS+=-I${KRB5DIR}/lib/roken
|
||||
CFLAGS+=-I${SRCTOP}/contrib/com_err
|
||||
CFLAGS+=-I.
|
||||
|
||||
GEN_OCSP= \
|
||||
asn1_OCSPBasicOCSPResponse.x \
|
||||
|
@ -34,7 +34,8 @@ SRCS= ad.c \
|
||||
rename_c.c \
|
||||
send_recv.c
|
||||
|
||||
CFLAGS+=-I${KRB5DIR}/lib/kadm5 -I${KRB5DIR}/lib/asn1 -I${KRB5DIR}/lib/roken -I.
|
||||
CFLAGS+=-I${KRB5DIR}/lib/kadm5 -I${KRB5DIR}/lib/asn1 -I${KRB5DIR}/lib/roken \
|
||||
-I${SRCTOP}/contrib/com_err -I.
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
||||
|
@ -35,7 +35,8 @@ SRCS= acl.c \
|
||||
set_keys.c \
|
||||
set_modifier.c
|
||||
|
||||
CFLAGS+=-I${KRB5DIR}/lib/kadm5 -I${KRB5DIR}/lib/asn1 -I${KRB5DIR}/lib/roken -I.
|
||||
CFLAGS+=-I${KRB5DIR}/lib/kadm5 -I${KRB5DIR}/lib/asn1 -I${KRB5DIR}/lib/roken \
|
||||
-I${SRCTOP}/contrib/com_err -I.
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
||||
|
@ -28,7 +28,8 @@ SRCS= \
|
||||
CFLAGS+= -I${KRB5DIR}/lib/roken \
|
||||
-I${KRB5DIR}/lib/krb5 \
|
||||
-I${KRB5DIR}/lib/hdb \
|
||||
-I${KRB5DIR}/kdc
|
||||
-I${KRB5DIR}/kdc \
|
||||
-I${SRCTOP}/contrib/com_err
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
||||
|
@ -621,7 +621,9 @@ CFLAGS+= -I${KRB5DIR}/lib/krb5 \
|
||||
-I${KRB5DIR}/lib/asn1 \
|
||||
-I${KRB5DIR}/lib/roken \
|
||||
-I${KRB5DIR}/lib/ipc \
|
||||
-I${KRB5DIR}/base -I.
|
||||
-I${KRB5DIR}/base \
|
||||
-I${SRCTOP}/contrib/com_err \
|
||||
-I.
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
||||
|
@ -27,7 +27,7 @@ SRCS= bidi.c \
|
||||
SRCS+= wind_err.c \
|
||||
wind_err.h
|
||||
|
||||
CFLAGS+=-I${KRB5DIR}/lib/roken -I.
|
||||
CFLAGS+=-I${KRB5DIR}/lib/roken -I${SRCTOP}/contrib/com_err -I.
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
||||
|
@ -7,7 +7,8 @@ CFLAGS+= -I${KRB5DIR}/kdc \
|
||||
-I${KRB5DIR}/lib/krb5 \
|
||||
-I${KRB5DIR}/lib/ipc \
|
||||
-I${KRB5DIR}/lib/wind \
|
||||
-I${KRB5DIR}/lib/roken
|
||||
-I${KRB5DIR}/lib/roken \
|
||||
-I${SRCTOP}/contrib/com_err
|
||||
LIBADD= hdb kdc heimipcs krb5 roken asn1 crypto vers heimntlm
|
||||
LDFLAGS=${LDAPLDFLAGS}
|
||||
|
||||
|
@ -9,6 +9,7 @@ CFLAGS+=-I${KRB5DIR}/lib/asn1
|
||||
CFLAGS+=-I${KRB5DIR}/lib/hx509
|
||||
CFLAGS+=-I${KRB5DIR}/lib/ntlm
|
||||
CFLAGS+=-I${KRB5DIR}/kdc
|
||||
CFLAGS+=-I${SRCTOP}/contrib/com_err
|
||||
CFLAGS+=-I${.OBJDIR:H:H}/lib/libkrb5
|
||||
LIBADD= hdb krb5 roken vers
|
||||
DPADD= ${LDAPDPADD}
|
||||
|
@ -3,7 +3,7 @@
|
||||
PROG= hpropd
|
||||
MAN= hpropd.8
|
||||
CFLAGS+=-I${KRB5DIR}/lib/roken -I${KRB5DIR}/lib/krb5 -I${KRB5DIR}/lib/asn1 \
|
||||
-I${KRB5DIR}/kdc ${LDAPCFLAGS}
|
||||
-I${KRB5DIR}/kdc -I${SRCTOP}/contrib/com_err ${LDAPCFLAGS}
|
||||
LIBADD= hdb krb5 roken vers
|
||||
DPADD= ${LDAPDPADD}
|
||||
LDADD= ${LDAPLDADD}
|
||||
|
@ -8,7 +8,7 @@ SRCS= rpc.c \
|
||||
kadm_conn.c
|
||||
|
||||
CFLAGS+=-I${KRB5DIR}/lib/krb5 -I${KRB5DIR}/lib/asn1 -I${KRB5DIR}/lib/roken \
|
||||
${LDAPCFLAGS}
|
||||
-I${SRCTOP}/contrib/com_err ${LDAPCFLAGS}
|
||||
LIBADD= kadm5srv gssapi hdb krb5 roken vers
|
||||
DPADD= ${LDAPDPADD}
|
||||
LDADD= ${LDAPLDADD}
|
||||
|
@ -9,7 +9,7 @@ SRCS= config.c \
|
||||
main.c
|
||||
|
||||
CFLAGS+=-I${KRB5DIR}/lib/krb5 -I${KRB5DIR}/lib/asn1 -I${KRB5DIR}/lib/roken \
|
||||
-I${KRB5DIR}/kdc ${LDAPCFLAGS}
|
||||
-I${KRB5DIR}/kdc -I${SRCTOP}/contrib/com_err ${LDAPCFLAGS}
|
||||
LIBADD= kdc hdb krb5 roken crypt vers
|
||||
LDFLAGS=${LDAPLDFLAGS}
|
||||
|
||||
|
@ -5,7 +5,9 @@ MAN=
|
||||
CFLAGS+= -I${KRB5DIR}/lib/hx509 \
|
||||
-I${KRB5DIR}/lib/asn1 \
|
||||
-I${KRB5DIR}/lib/roken \
|
||||
-I${KRB5DIR}/lib/sl -I.
|
||||
-I${KRB5DIR}/lib/sl \
|
||||
-I${SRCTOP}/contrib/com_err \
|
||||
-I.
|
||||
LIBADD= hx509 roken asn1 crypto sl vers edit
|
||||
SRCS= hxtool.c hxtool-commands.c hxtool-commands.h
|
||||
|
||||
|
@ -25,7 +25,7 @@ SRCS= add_enctype.c \
|
||||
util.c
|
||||
|
||||
CFLAGS+=-I${KRB5DIR}/lib/asn1 -I${KRB5DIR}/lib/krb5 -I${KRB5DIR}/lib/roken \
|
||||
-I${KRB5DIR}/lib/sl -I. ${LDAPCFLAGS}
|
||||
-I${KRB5DIR}/lib/sl -I${SRCTOP}/contrib/com_err -I. ${LDAPCFLAGS}
|
||||
LIBADD= kadm5clnt kadm5srv hdb krb5 roken vers sl asn1 crypto edit
|
||||
DPADD= ${LDAPDPADD}
|
||||
LDADD= ${LDAPLDADD}
|
||||
|
@ -6,7 +6,8 @@ CFLAGS+= -I${KRB5DIR}/kdc \
|
||||
-I${KRB5DIR}/lib/asn1 \
|
||||
-I${KRB5DIR}/lib/krb5 \
|
||||
-I${KRB5DIR}/lib/roken \
|
||||
-I${KRB5DIR}/lib/windc
|
||||
-I${KRB5DIR}/lib/windc \
|
||||
-I${SRCTOP}/contrib/com_err
|
||||
LIBADD= krb5 roken crypto vers
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -2,7 +2,8 @@
|
||||
|
||||
PROG= verify_krb5_conf
|
||||
MAN= verify_krb5_conf.8
|
||||
CFLAGS+=-I${KRB5DIR}/lib/asn1 -I${KRB5DIR}/lib/krb5 -I${KRB5DIR}/lib/roken
|
||||
CFLAGS+=-I${KRB5DIR}/lib/asn1 -I${KRB5DIR}/lib/krb5 -I${KRB5DIR}/lib/roken \
|
||||
-I${SRCTOP}/contrib/com_err
|
||||
LIBADD= krb5 roken vers
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -3,7 +3,7 @@
|
||||
PROG= kstash
|
||||
MAN= kstash.8
|
||||
CFLAGS+=-I${KRB5DIR}/lib/asn1 -I${KRB5DIR}/lib/krb5 -I${KRB5DIR}/lib/roken \
|
||||
-I${KRB5DIR}/kdc ${LDAPCFLAGS}
|
||||
-I${KRB5DIR}/kdc -I${SRCTOP}/contrib/com_err ${LDAPCFLAGS}
|
||||
LIBADD= hdb krb5 crypto vers
|
||||
DPADD= ${LDAPDPADD}
|
||||
LDADD= ${LDAPLDADD}
|
||||
|
Loading…
Reference in New Issue
Block a user