1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
CFLAGS += -Wall -O2
LDLIBS += -lcrypt
EXECUTABLES = crypt
all: $(EXECUTABLES)
check:
./check
clean:
rm -f *.o
rm -f $(EXECUTABLES)
install: $(EXECUTABLES)
mkdir -p $(DESTDIR)/usr/lib/cryptsetup
cp askpass $(DESTDIR)/usr/lib/cryptsetup/
mkdir -p $(DESTDIR)/usr/share/initramfs-tools/hooks/
cp hooks/* $(DESTDIR)/usr/share/initramfs-tools/hooks/
mkdir -p $(DESTDIR)/usr/lib/cryptsetup-nuke-password
cp crypt $(DESTDIR)/usr/lib/cryptsetup-nuke-password/
.PHONY: check clean install
|