summaryrefslogtreecommitdiffstats
path: root/src/clients/kpasswd/Makefile.in
blob: 8fe4321bc52ad7f373eb58d32e852730c5b84894 (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
thisconfigdir=./../
BUILDTOP=$(U)$(U)
CFLAGS = $(CCOPTS) $(DEFS) $(LOCALINCLUDE)
PROG_LIBPATH=-L$(TOPLIBD)
PROG_RPATH=$(KRB5_LIBDIR)

##DOSBUILDTOP=..\..

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

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

all-unix:: kpasswd
all-windows:: kpasswd.exe

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

clean-windows::
	$(RM) kpasswd.obj kpasswd.exe

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;

kpasswd.exe: kpasswd.obj
	link /out:kpasswd.exe kpasswd.obj $(BUILDTOP)\lib\libkrb5.lib