summaryrefslogtreecommitdiff
path: root/usr.sbin/afs/libexec/afsd/Makefile
blob: fd7a2e1d5d6ade976feebccd9c738d229bac8d61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#	$OpenBSD: Makefile,v 1.7 2005/12/16 19:38:40 todd Exp $

AFSTOPDIR=	../..
.include <../../Makefile.inc>

.PATH:	$(ROKENSRC)

PROG	= afsd
MAN	= afsd.8 CellServDB.5 ThisCell.5 SuidCells.5 afsd.conf.5 DynRootDB.5 \
	  AliasDB.5
BINDIR	= /usr/libexec
LDADD	+= ${LIBARLA} -lkrb5 -lasn1 -lcrypto
DPADD	+= ${LIBARLA}

CFLAGS	+=  -I${AFSSRC}/util -I${AFSSRC}/arlad \
	   -I${AFSSRC}

SRCS	= adir.c \
	  arla.c \
	  arlad.c \
	  arladeb.c \
	  arladebu.c \
	  bsd-subr.c \
	  cmcb.c \
	  conn.c \
	  cred.c \
	  d-trans.c \
	  disco.c \
	  dynroot.c \
	  fcache.c \
	  fprio.c \
	  inter.c \
	  kernel.c \
	  messages.c \
	  nnpfs.c \
	  poller.c \
	  state.c \
	  stats.c \
	  subr.c \
	  volcache.c \
	  estrdup.c \
	  erealloc.c \
	  print_version.c

.PATH: ${AFSSRC}/arlad

afsd.8:
	ln -s ${AFSSRC}/arlad/arlad.8 afsd.8
afsd.conf.5:
	ln -s ${AFSSRC}/arlad/arla.conf.5 afsd.conf.5

CLEANFILES+=afsd.8 fbuf.h fdir.h afs_dir.h afsd.conf.5

.include <bsd.prog.mk>