aboutsummaryrefslogtreecommitdiff
path: root/src/clients/klist/Makefile.in
blob: b93d5671d6f001f39e1fce90754c50acdf09f814 (plain) (blame)
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
mydir=clients$(S)klist
BUILDTOP=$(REL)..$(S)..

##WIN32##LOCALINCLUDES=-I$(BUILDTOP)\util\windows\

SRCS = klist.c

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

##WIN32##KLIST=$(OUTPRE)klist.exe

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

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

all-unix: klist
##WIN32##all-windows: $(KLIST)

klist: klist.o $(KRB5_BASE_DEPLIBS)
	$(CC_LINK) -o $@ klist.o $(KRB5_BASE_LIBS)

##WIN32##$(KLIST): $(OUTPRE)klist.obj $(SLIB) $(KLIB) $(CLIB) $(EXERES)
##WIN32##	link $(EXE_LINKOPTS) -out:$@ $** ws2_32.lib $(SCLIB)
##WIN32##	$(_VC_MANIFEST_EMBED_EXE)

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

install-unix:
	for f in klist; do \
	  $(INSTALL_PROGRAM) $$f \
		$(DESTDIR)$(CLIENT_BINDIR)/`echo $$f|sed '$(transform)'`; \
	done