test-heimdal-20060217
[openafs.git] / src / aklog / Makefile.in
index b50cf4d..54a9b93 100644 (file)
@@ -16,7 +16,7 @@ AFSLIBS = ${TOP_LIBDIR}/libprot.a ${TOP_LIBDIR}/libubik.a \
 SRCS=  aklog.c aklog_main.c  krb_util.c linked_list.c
 OBJS=   aklog.o aklog_main.o krb_util.o linked_list.o
 
-all: aklog asetkey
+all: aklog @ASETKEY@
 
 aklog: ${OBJS} ${AFSLIBS}
        ${CC} -o $@ ${CFLAGS} ${OBJS} ${AKLIBS} ${AFSLIBS} ${XLIBS}
@@ -33,8 +33,8 @@ install: \
 ${DESTDIR}${bindir}/aklog: aklog
        ${INSTALL} $? $@
 
-${DESTDIR}${afssrvbindir}/asetkey: asetkey
-       ${INSTALL} $? $@
+${DESTDIR}${afssrvbindir}/asetkey: @ASETKEY@
+       if test "x@ASETKEY@" != "x"; then ${INSTALL} $? $@; fi
 
 dest: \
        ${DEST}/bin/aklog ${DEST}/root.server/usr/afs/bin/asetkey
@@ -42,8 +42,8 @@ dest: \
 ${DEST}/bin/aklog: aklog
        ${INSTALL} $? $@
 
-${DEST}/root.server/usr/afs/bin/asetkey: asetkey
-       ${INSTALL} $? $@
+${DEST}/root.server/usr/afs/bin/asetkey: @ASETKEY@
+       if test "x@ASETKEY@" != "x"; then ${INSTALL} $? $@; fi
 
 #
 # Misc. targets