include ../MCONFIG

DEFS =		-D__ACL_INTERNAL_IMPLEMENTATION
CFLAGS =	-I../include -pipe $(DEBUG) $(WARN) $(OPT) $(DEFS)
LDFLAGS =	-static -L../lib
LDLIBS =	-lacl
CC =		cc
RANLIB =	ranlib

PROGS =		getacl setacl
OBJS =		getacl.o setacl.o util.o

all:		$(PROGS)

getacl:		getacl.o util.o

setacl:		setacl.o util.o

install:	$(PROGS)
	install -o $(BINOWN) -g $(BINGRP) -m $(BINMODE) $(PROGS) $(PREFIX)/bin

clean:
	$(RM) $(PROGS) $(OBJS)

realclean:	clean
	rm -f .depend 

dep depend .depend:
	$(CPP) $(CFLAGS) -M *.c >.depend

include .depend

