summaryrefslogtreecommitdiffstats
path: root/src/clients/kdestroy/Makefile.in
blob: 6c24f71909862723d6e461bf944c16f75758acae (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
38
39
40
thisconfigdir=../..
myfulldir=clients/kdestroy
mydir=clients/kdestroy
BUILDTOP=$(REL)..$(S)..
DEFS=

SRCS=kdestroy.c

PROG_LIBPATH=-L$(TOPLIBD)
PROG_RPATH=$(KRB5_LIBDIR)

all-unix:: kdestroy
all-windows:: $(OUTPRE)kdestroy.exe

kdestroy: kdestroy.o $(KRB4COMPAT_DEPLIBS)
	$(CC_LINK) -o $@ kdestroy.o $(KRB4COMPAT_LIBS)

$(OUTPRE)kdestroy.exe: $(OUTPRE)kdestroy.obj $(BUILDTOP)\util\windows\$(OUTPRE)getopt.obj $(KLIB) $(CLIB)
	link $(EXE_LINKOPTS) -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
# +++ Dependency line eater +++
# 
# Makefile dependencies follow.  This must be the last section in
# the Makefile.in file
#
$(OUTPRE)kdestroy.$(OBJEXT): $(BUILDTOP)/include/autoconf.h \
  $(KRB_ERR_H_DEP) $(BUILDTOP)/include/krb5/krb5.h $(BUILDTOP)/include/profile.h \
  $(COM_ERR_DEPS) $(SRCTOP)/include/kerberosIV/des.h \
  $(SRCTOP)/include/kerberosIV/krb.h $(SRCTOP)/include/krb5.h \
  kdestroy.c