blob: 7a110c7ac1a55dd62035a7b795c70497d56c14f3 (
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.16 2007/10/18 18:20:20 deraadt Exp $
KRBDEPTH=../..
.include <${.CURDIR}/../../Makefile.inc>
PROG= kadmin
MAN= kadmin.8
SRCS= ank.c \
cpw.c \
del.c \
del_enctype.c \
dump.c \
ext.c \
get.c \
init.c \
kadmin.c \
kadmin-commands.c \
kadmin-commands.h \
kadmin_locl.h \
load.c \
mod.c \
pw_quality.c \
random_password.c \
rename.c \
sl.c \
stash.c \
util.c
SRCS+= ${PRINTVER}
SRCS+= tm2time.c
.PATH: ${KRB5SRC}/kadmin
.PATH: ${KRB5SRC}/lib/sl
.PATH: ${ROKENSRC}
slc: slc-gram.o slc-lex.o ${PRINTVER}
$(CC) -o slc $> -lkrb5 -lcrypto
SLC= slc
kadmin: kadmin-commands.h
kadmin-commands.c kadmin-commands.h: kadmin-commands.in $(SLC)
./$(SLC) $(KRB5SRC)/kadmin/kadmin-commands.in
CFLAGS+=-I${KRB5SRC}/lib/krb5 -I${KRB5SRC}/lib/kadm5 -I.
DPADD+= ${LIBREADLINE} ${LIBCURSES} ${LIBKADM5SRV} ${LIBKADM5CLNT} \
${LIBKRB5} ${LIBCRYPTO} ${LIBDES}
LDADD+= -lreadline -lcurses -lkadm5srv -lkadm5clnt \
-lkrb5 -lcrypto -ldes
CLEANFILES+= kadmin-commands.c slc lc-lex.o kadmin-commands.h \
slc-lex.o slc-gram.o
.include <bsd.prog.mk>
|