summaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile27
1 files changed, 6 insertions, 21 deletions
diff --git a/src/Makefile b/src/Makefile
index 4addb1c..f0dac07 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,25 +1,10 @@
-all: ckpasswd.o xmalloc.o messages.o ckpass.o ckpasswd smartauthmon
+all: cardpincheck.o cardpincheck
-ckpass.o: ckpass.c
- gcc ckpass.c -c
+cardpincheck.o: cardpincheck.c
+ gcc cardpincheck.c -c
-ckpasswd.o: ckpasswd.c
- gcc ckpasswd.c -c
-
-xmalloc.o: xmalloc.c
- gcc xmalloc.c -c
-
-messages.o: messages.c
- gcc messages.c -c
-
-smartauthmon.o: smartauthmon.cpp
- g++ -I/usr/include/tqt -I/usr/include/qt3 -I/usr/include/tqt3 smartauthmon.cpp -c
-
-ckpasswd: ckpasswd.o
- gcc ckpasswd.o xmalloc.o messages.o -o ckpasswd -lpam -lcrypt
-
-smartauthmon: smartauthmon.o ckpass.o
- gcc smartauthmon.o ckpass.o xmalloc.o messages.o -o smartauthmon -ltqt -lpam -lcrypt -ltqt-mt -lstdc++
+cardpincheck: cardpincheck.o
+ gcc cardpincheck.o -o cardpincheck -ldl -lpthread -lgnutls -lcrypto -lpkcs11-helper
clean:
- rm -f ckpasswd.o xmalloc.o messages.o ckpasswd
+ rm -f cardpincheck.o cardpincheck