freebsd-dev/crypto/kerberosIV/lib/sl/Makefile.in

85 lines
1.4 KiB
Makefile
Raw Normal View History

#
# $Id: Makefile.in,v 1.8 1997/05/06 03:47:56 assar Exp $
#
SHELL = /bin/sh
srcdir = @srcdir@
VPATH = @srcdir@
CC = @CC@
AR = ar
RANLIB = @RANLIB@
DEFS = @DEFS@
CFLAGS = @CFLAGS@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
MKINSTALLDIRS = @top_srcdir@/mkinstalldirs
prefix = @prefix@
exec_prefix = @exec_prefix@
libdir = @libdir@
PICFLAGS = @PICFLAGS@
LIBNAME = $(LIBPREFIX)sl
LIBEXT = @LIBEXT@
SHLIBEXT = @SHLIBEXT@
LIBPREFIX = @LIBPREFIX@
LDSHARED = @LDSHARED@
LIB = $(LIBNAME).$(LIBEXT)
PROGS =
LIB_SOURCES = sl.c
SOURCES = $(LIB_SOURCES)
LIB_OBJECTS = sl.o
OBJECTS = $(LIB_OBJECTS)
all: $(LIB) $(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) -I$(srcdir)/../des $(CFLAGS) $(PICFLAGS) $<
install: all
$(MKINSTALLDIRS) $(libdir)
$(INSTALL_DATA) -m 0555 $(LIB) $(libdir)
uninstall:
rm -f $(libdir)/$(LIB)
TAGS: $(SOURCES)
etags $(SOURCES)
check:
clean:
rm -f $(LIB) $(PROGS) *.o *.a
mostlyclean: clean
distclean: clean
rm -f Makefile *~
realclean: distclean
rm -f TAGS
$(LIBNAME).a: $(LIB_OBJECTS)
rm -f $@
$(AR) cr $@ $(LIB_OBJECTS)
-$(RANLIB) $@
$(LIBNAME).$(SHLIBEXT): $(LIB_OBJECTS)
rm -f $@
$(LDSHARED) -o $@ $(LIB_OBJECTS)
$(OBJECTS): ../../include/config.h
.PHONY: all install uninstall check clean mostlyclean distclean realclean