summaryrefslogtreecommitdiffstats
path: root/src/clients/kdestroy/Makefile.in
blob: f91778b16f1e01c1e1d8b41d342f94cc33f026c7 (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
thisconfigdir=./..
BUILDTOP=$(REL)$(U)$(S)$(U)
##DOS##BUILDTOP=..\..

CFLAGS = $(CCOPTS) $(DEFS) $(LOCALINCLUDE)
PROG_LIBPATH=-L$(TOPLIBD)
PROG_RPATH=$(KRB5_LIBDIR)

all-unix:: kdestroy
all-windows::
all-mac::

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



##WIN32##INCLUDES = /I$(BUILDTOP)\include /I$(BUILDTOP)\include\krb5
##WIN32##CFLAGS	= $(CCOPTS2) $(INCLUDES)

##WIN32##all-windows:: kdestroy.exe
##WIN32##kdestroy.exe: kdestroy.obj $(BUILDTOP)\util\windows\getopt.obj $(KLIB) $(CLIB)
##WIN32##	link /nologo /out:$@ $**


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

install-unix::
	for f in kdestroy; do \
	  $(INSTALL_PROGRAM) $$f \
		$(DESTDIR)$(CLIENT_BINDIR)/`echo $$f|sed '$(transform)'`; \
	  $(INSTALL_DATA) $(srcdir)/$$f.M \
		$(DESTDIR)$(CLIENT_MANDIR)/`echo $$f|sed '$(transform)'`.1; \
	done