xref: /freebsd/krb5/lib/rpc/Makefile (revision ee3960cba1068e12fb032a68c46d74841d9edab3)
1#
2# SPDX-License-Idendifier: BSD-2-Clause
3#
4# Copyright (c) 2025 FreeBSD Foundation
5#
6# This sofware was developed by Cy Schubert <cy@FreeBSD.org>
7# under sponsorship from the FreeBSD Foundation.
8#
9
10PACKAGE=	krb5
11
12.include <src.opts.mk>
13
14.include "../Makefile.inc"
15
16LIB=		gssrpc
17# SHLIB_MAJOR=	4
18LDFLAGS=-Wl,--no-undefined
19LIBADD=	gssapi_krb5 krb5 k5crypto com_err krb5support
20
21SRCS=	auth_gss.c \
22	auth_gssapi.c \
23	auth_gssapi_misc.c \
24	auth_none.c \
25	auth_unix.c \
26	authgss_prot.c \
27	authunix_prot.c \
28	bindresvport.c \
29	clnt_generic.c \
30	clnt_perror.c \
31	clnt_raw.c \
32	clnt_simple.c \
33	clnt_tcp.c \
34	clnt_udp.c \
35	dyn.c \
36	get_myaddress.c \
37	getrpcport.c \
38	pmap_clnt.c \
39	pmap_getmaps.c \
40	pmap_getport.c \
41	pmap_prot.c \
42	pmap_prot2.c \
43	pmap_rmt.c \
44	rpc_callmsg.c \
45	rpc_commondata.c \
46	rpc_dtablesize.c \
47	rpc_prot.c \
48	svc.c \
49	svc_auth.c \
50	svc_auth_gss.c \
51	svc_auth_gssapi.c \
52	svc_auth_none.c \
53	svc_auth_unix.c \
54	svc_raw.c \
55	svc_run.c \
56	svc_simple.c \
57	svc_tcp.c \
58	svc_udp.c \
59	xdr.c \
60	xdr_alloc.c \
61	xdr_array.c \
62	xdr_float.c \
63	xdr_mem.c \
64	xdr_rec.c \
65	xdr_reference.c \
66	xdr_sizeof.c \
67	xdr_stdio.c
68
69INCS=	dyn.h \
70	dynP.h \
71	gssrpcint.h
72
73CFLAGS+=-I${KRB5_DIR}/lib/rpc \
74	-I${KRB5_DIR}/include \
75	-I${KRB5_SRCTOP}/include \
76	-I${KRB5_OBJTOP}/lib \
77	-DGSSAPI_KRB5 \
78	-DDEBUG_GSSAPI=0 \
79	-DGSSRPC__IMPL
80
81.include <bsd.lib.mk>
82
83.SUFFIXES: .h .c
84
85.PATH:	${KRB5_DIR}/lib/rpc
86