# Generated automatically from Makefile.in by configure.
#
# $Id: Makefile.in,v 1.1 1998/10/01 14:30:47 map Exp $
#

SHELL = /bin/sh

srcdir = .

CC = gcc
AR = ar
LN_S = ln -s
RANLIB = ranlib
DEFS = -DHAVE_CONFIG_H
CFLAGS = -g  -Wall

INSTALL = /usr/bin/install -c
INSTALL_DATA	= ${INSTALL} -m 644
MKINSTALLDIRS = ../../mkinstalldirs

prefix = /usr/scfs
exec_prefix = ${prefix}
libdir = ${exec_prefix}/lib

INCLUDES = -I../../include \
	   -I$(srcdir) \
	   -I.
REALCFLAGS = $(INCLUDES) -I/usr/include/kerberosIV $(CFLAGS)
LIBNAME = $(LIBPREFIX)acl
LIBEXT = a
LIBPREFIX = lib
LIB = $(LIBNAME).$(LIBEXT)

SOURCES = acl_files.c

OBJECTS = acl_files.o

all: $(LIB)

Wall:
	make CFLAGS="-g -Wall -Wno-comment -Wmissing-prototypes -Wmissing-declarations -D__USE_FIXED_PROTOTYPES__"

.c.o:
	$(CC) -c $(DEFS) $(REALCFLAGS) $(PICFLAGS) $(CPPFLAGS) $<

install: all
	$(MKINSTALLDIRS) $(DESTDIR)$(libdir)
	$(INSTALL_DATA) -m 0555 $(LIB) $(DESTDIR)$(libdir)/$(LIB)

uninstall:
	rm -f $(DESTDIR)$(libdir)/$(LIB)

TAGS: $(SOURCES)
	etags $(SOURCES)

check:

clean:
	rm -f $(LIB) *.o *.a

mostlyclean: clean

distclean: clean
	rm -f Makefile *.tab.c *~ roken_rename.h

realclean: distclean
	rm -f TAGS

$(LIBNAME).a: $(OBJECTS)
	rm -f $@
	$(AR) cr $@ $(OBJECTS)
	-$(RANLIB) $@

$(OBJECTS): ../../include/config.h

roken_rename.h:
	$(LN_S) $(srcdir)/../krb/roken_rename.h .

.PHONY: all Wall install uninstall check clean mostlyclean distclean realclean
