freebsd-dev/crypto/kerberosIV/kuser/Makefile.in

93 lines
1.9 KiB
Makefile
Raw Normal View History

# $Id: Makefile.in,v 1.23 1997/03/23 13:04:08 assar Exp $
SHELL = /bin/sh
srcdir = @srcdir@
VPATH = @srcdir@
topdir = ..
CC = @CC@
AR = ar
RANLIB = @RANLIB@
DEFS = @DEFS@
CFLAGS = @CFLAGS@
LD_FLAGS = @LD_FLAGS@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
LIBS = @LIBS@
KRB_KAFS_LIB = @KRB_KAFS_LIB@
MKINSTALLDIRS = @top_srcdir@/mkinstalldirs
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
libdir = @libdir@
transform=@program_transform_name@
EXECSUFFIX=@EXECSUFFIX@
PROGS = kinit$(EXECSUFFIX) \
kdestroy$(EXECSUFFIX) \
klist$(EXECSUFFIX)
SOURCES = kinit.c kdestroy.c klist.c
OBJECTS = kinit.o kdestroy.o klist.o
all: $(PROGS)
Wall:
make CFLAGS="-g -Wall -Wno-comment -Wmissing-prototypes -Wmissing-declarations -D__USE_FIXED_PROTOTYPES__"
.c.o:
$(CC) -c $(CPPFLAGS) $(DEFS) -I../include -I$(srcdir) $(CFLAGS) $<
install: all
$(MKINSTALLDIRS) $(bindir)
for x in $(PROGS); do \
$(INSTALL_PROGRAM) $$x $(bindir)/`echo $$x | sed '$(transform)'`; \
done
uninstall:
for x in $(PROGS); do \
rm -f $(bindir)/`echo $$x | sed '$(transform)'`; \
done
TAGS: $(SOURCES)
etags $(SOURCES)
check:
clean:
rm -f *.a *.o $(PROGS)
mostlyclean: clean
distclean: clean
rm -f Makefile *.tab.c *~
realclean: distclean
rm -f TAGS
dist: $(DISTFILES)
for file in $(DISTFILES); do \
ln $$file ../`cat ../.fname`/lib \
|| cp -p $$file ../`cat ../.fname`/lib; \
done
KLIB=-L../lib/krb -lkrb -L../lib/des -ldes
LIBROKEN=-L../lib/roken -lroken
kinit$(EXECSUFFIX): kinit.o
$(CC) $(LD_FLAGS) $(LDFLAGS) -o $@ kinit.o $(KLIB) $(LIBROKEN) $(LIBS) $(LIBROKEN)
kdestroy$(EXECSUFFIX): kdestroy.o
$(CC) $(LD_FLAGS) $(LDFLAGS) -o $@ kdestroy.o $(KRB_KAFS_LIB) $(KLIB) $(LIBROKEN) $(LIBS) $(LIBROKEN)
klist$(EXECSUFFIX): klist.o
$(CC) $(LD_FLAGS) $(LDFLAGS) -o $@ klist.o $(KRB_KAFS_LIB) $(KLIB) $(LIBROKEN) $(LIBS) $(LIBROKEN)
# su move to appl/bsd
$(OBJECTS): ../include/config.h