summaryrefslogtreecommitdiffstats
path: root/src/clients/kpasswd/Makefile.in
blob: 3f6394342ea95bb0e3d4f2331d2728ba789739eb (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
thisconfigdir=./..
myfulldir=clients/kpasswd
mydir=kpasswd
BUILDTOP=$(REL)..$(S)..
PROG_LIBPATH=-L$(TOPLIBD)
PROG_RPATH=$(KRB5_LIBDIR)

kpasswd: kpasswd.o $(KRB5_BASE_DEPLIBS)
	$(CC_LINK) -o kpasswd kpasswd.o $(KRB5_BASE_LIBS)

ksetpwd: ksetpwd.o $(KRB5_BASE_DEPLIBS)
	$(CC_LINK) -o ksetpwd ksetpwd.o $(KRB5_BASE_LIBS)

kpasswd.o:	$(srcdir)/kpasswd.c
ksetpwd.o:	$(srcdir)/ksetpwd.c

all-unix:: kpasswd ksetpwd

clean-unix::
	$(RM) kpasswd.o kpasswd ksetpwd.o ksetpwd

install-all install-kdc install-server install-client install-unix::
	$(INSTALL_PROGRAM) kpasswd $(DESTDIR)$(CLIENT_BINDIR)/`echo kpasswd|sed '$(transform)'`
	$(INSTALL_DATA) $(srcdir)/kpasswd.M $(DESTDIR)$(CLIENT_MANDIR)/`echo kpasswd|sed '$(transform)'`.1;

all-windows:: $(OUTPRE)kpasswd.exe

$(OUTPRE)kpasswd.exe: $(OUTPRE)kpasswd.obj $(KLIB) $(CLIB)
	link $(EXE_LINKOPTS) -out:$@ $**