summaryrefslogtreecommitdiffstats
path: root/src/clients/kpasswd/Makefile.in
blob: 3445c9f0dec02f203747965997b207538a02a31b (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
mydir=clients$(S)kpasswd
BUILDTOP=$(REL)..$(S)..

SRCS=kpasswd.c ksetpwd.c

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

##WIN32##VERSIONRC = $(BUILDTOP)\windows\version.rc
##WIN32##RCFLAGS=$(CPPFLAGS) -I$(top_srcdir) -D_WIN32 -DRES_ONLY

##WIN32##KPWD=$(OUTPRE)kpasswd.exe

##WIN32##EXERES=$(KPWD:.exe=.res)

##WIN32##$(EXERES): $(VERSIONRC)
##WIN32##        $(RC) $(RCFLAGS) -DKPASSWD_APP -fo $@ -r $**

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)'`

##WIN32##all-windows:: $(KPWD)

##WIN32##$(KPWD): $(OUTPRE)kpasswd.obj $(KLIB) $(CLIB) $(EXERES)
##WIN32##	link $(EXE_LINKOPTS) -out:$@ $** $(SCLIB)
##WIN32##	$(_VC_MANIFEST_EMBED_EXE)