summaryrefslogtreecommitdiffstats
path: root/src/lib/krb5/keytab/Makefile.in
blob: 258eac7d367acc3fa81e9e103c671d56a3d7fcad (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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
mydir=lib/krb5/keytab
BUILDTOP=$(REL)..$(S)..$(S)..
DEFS=

RUN_SETUP = @KRB5_RUN_ENV@
PROG_LIBPATH=-L$(TOPLIBD)
PROG_RPATH=$(KRB5_LIBDIR)

##DOS##BUILDTOP = ..\..\..
##DOS##PREFIXDIR=keytab
##DOS##OBJFILE=..\$(OUTPRE)$(PREFIXDIR).lst

STLIBOBJS= \
	ktadd.o		\
	ktbase.o	\
	ktdefault.o	\
	ktfr_entry.o	\
	ktremove.o	\
	ktfns.o		\
	kt_file.o	\
	kt_memory.o	\
	kt_srvtab.o	\
	read_servi.o

OBJS=	\
	$(OUTPRE)ktadd.$(OBJEXT)		\
	$(OUTPRE)ktbase.$(OBJEXT)	\
	$(OUTPRE)ktdefault.$(OBJEXT)	\
	$(OUTPRE)ktfr_entry.$(OBJEXT)	\
	$(OUTPRE)ktremove.$(OBJEXT)	\
	$(OUTPRE)ktfns.$(OBJEXT)	\
	$(OUTPRE)kt_file.$(OBJEXT)	\
	$(OUTPRE)kt_memory.$(OBJEXT)	\
	$(OUTPRE)kt_srvtab.$(OBJEXT)	\
	$(OUTPRE)read_servi.$(OBJEXT)

SRCS=	\
	$(srcdir)/ktadd.c	\
	$(srcdir)/ktbase.c	\
	$(srcdir)/ktdefault.c	\
	$(srcdir)/ktfr_entry.c	\
	$(srcdir)/ktremove.c	\
	$(srcdir)/ktfns.c	\
	$(srcdir)/kt_file.c	\
	$(srcdir)/kt_memory.c	\
	$(srcdir)/kt_srvtab.c	\
	$(srcdir)/read_servi.c

EXTRADEPSRCS= \
	$(srcdir)/t_keytab.c 

all-windows:: $(OBJFILE)

##DOS$(OBJFILE): $(OBJS)
##DOS	$(RM) $(OBJFILE)
##WIN32##	$(LIBECHO) -p $(PREFIXDIR)\ $(OUTPRE)*.obj > $(OBJFILE)

all-unix:: all-libobjs
clean-unix:: clean-libobjs

check-unix:: t_keytab
	KRB5_CONFIG=$(srcdir)/t_krb5.conf ; export KRB5_CONFIG ;\
	$(RUN_SETUP) $(VALGRIND) ./t_keytab

T_KEYTAB_OBJS = t_keytab.o
t_keytab: $(T_KEYTAB_OBJS) $(KRB5_BASE_DEPLIBS)
	$(CC_LINK) -o $@ $(T_KEYTAB_OBJS) $(KRB5_BASE_LIBS)

clean-unix::
	$(RM) t_keytab t_keytab.o

clean-windows::
	@echo Making clean in krb5\keytab
	$(RM) $(OBJFILE)


@libobj_frag@