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

81 lines
1.7 KiB
Makefile
Raw Normal View History

1999-09-19 14:19:32 +00:00
# $Id: Makefile.in,v 1.33 1999/03/10 19:01:17 joda Exp $
SHELL = /bin/sh
srcdir = @srcdir@
VPATH = @srcdir@
CC = @CC@
1999-09-19 14:19:32 +00:00
LINK = @LINK@
AR = ar
RANLIB = @RANLIB@
DEFS = @DEFS@ -DSBINDIR=\"$(sbindir)\"
1999-09-19 14:19:32 +00:00
CFLAGS = @CFLAGS@ $(WFLAGS)
WFLAGS = @WFLAGS@
LD_FLAGS = @LD_FLAGS@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
LIBS = @LIBS@
MKINSTALLDIRS = @top_srcdir@/mkinstalldirs
prefix = @prefix@
exec_prefix = @exec_prefix@
libdir = @libdir@
libexecdir = @libexecdir@
sbindir = @sbindir@
transform=@program_transform_name@
EXECSUFFIX=@EXECSUFFIX@
PROGS = kpropd$(EXECSUFFIX) \
kprop$(EXECSUFFIX)
SOURCES = kpropd.c kprop.c
OBJECTS = kpropd.o kprop.o
all: $(PROGS)
Wall:
make CFLAGS="-g -Wall -Wno-comment -Wmissing-prototypes -Wmissing-declarations -D__USE_FIXED_PROTOTYPES__"
.c.o:
1999-09-19 14:19:32 +00:00
$(CC) -c $(DEFS) -I../include -I$(srcdir) $(CPPFLAGS) $(CFLAGS) $<
install: all
1999-09-19 14:19:32 +00:00
$(MKINSTALLDIRS) $(DESTDIR)$(libexecdir)
for x in $(PROGS); do \
1999-09-19 14:19:32 +00:00
$(INSTALL_PROGRAM) $$x $(DESTDIR)$(libexecdir)/`echo $$x | sed '$(transform)'`; \
done
uninstall:
for x in $(PROGS); do \
1999-09-19 14:19:32 +00:00
rm -f $(DESTDIR)$(libexecdir)/`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
kprop$(EXECSUFFIX): kprop.o
1999-09-19 14:19:32 +00:00
$(LINK) $(LD_FLAGS) $(LDFLAGS) -o $@ kprop.o -L../lib/krb -lkrb -L../lib/des -ldes -L../lib/roken -lroken $(LIBS) -lroken
kpropd$(EXECSUFFIX): kpropd.o
1999-09-19 14:19:32 +00:00
$(LINK) $(LD_FLAGS) $(LDFLAGS) -o $@ kpropd.o -L../lib/krb -lkrb -L../lib/des -ldes -L../lib/roken -lroken $(LIBS) -lroken
$(OBJECTS): ../include/config.h
1999-09-19 14:19:32 +00:00
.PHONY: all Wall install uninstall check clean mostlyclean distclean realclean