# $Id: Makefile,v 1.10 2002/03/12 09:25:45 rousseau Exp $

all: 	autolock smartlocker

ultraclean: clean
	rm -f core *~

clean:
	rm -f autolock smartlocker *.o

install:
	install --directory $(DESTDIR)/usr/sbin
	install --mode 755 autolock $(DESTDIR)/usr/sbin/
	install --mode 755 smartlocker $(DESTDIR)/usr/sbin/

autolock: autolock.o ../Pam_Modules/pam_smartcard_utils.o \
	../Functions/debug.o \
	../Functions/crypto_functions.o \
	../Functions/smartcard_functions.o

smartlocker: smartlocker.o

tags:
	ctags $(shell find .. -name '*.c') $(shell find .. -name '*.h')

.PHONY: tags ultraclean clean 

