diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-09-20 20:01:11 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-09-20 20:01:11 +0000 |
commit | 32b6f4c4aeddfdda9343d59fba02ae7fe3e0b24c (patch) | |
tree | ede5064d9754d063fecece08d81f8ef1e98cb3ba /src/Makefile | |
parent | 125b13c1760df7ad557d0d5462b39c7f092e2f3b (diff) | |
download | smartcardauth-32b6f4c4aeddfdda9343d59fba02ae7fe3e0b24c.tar.gz smartcardauth-32b6f4c4aeddfdda9343d59fba02ae7fe3e0b24c.zip |
Use new smartauthmon C++ program instead of the old bash script for smartcard authentication
This plugs several possible security holes
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/smartcardauth@1254687 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/Makefile b/src/Makefile index e5f9a26..0539c5c 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,4 +1,7 @@ -all: ckpasswd.o xmalloc.o messages.o ckpasswd +all: ckpasswd.o xmalloc.o messages.o ckpass.o ckpasswd smartauthmon + +ckpass.o: ckpass.c + gcc ckpass.c -c ckpasswd.o: ckpasswd.c gcc ckpasswd.c -c @@ -9,14 +12,14 @@ xmalloc.o: xmalloc.c messages.o: messages.c gcc messages.c -c -#smartauthmon.o: smartauthmon.cpp -# g++ -I/usr/include/tqt -I/usr/include/qt3 smartauthmon.cpp -c +smartauthmon.o: smartauthmon.cpp + g++ -I/usr/include/tqt -I/usr/include/qt3 smartauthmon.cpp -c ckpasswd: ckpasswd.o gcc ckpasswd.o xmalloc.o messages.o -o ckpasswd -lpam -lcrypt -#ckpasswd: smartauthmon.o -# gcc smartauthmon.o -o smartauthmon -ltqt +smartauthmon: smartauthmon.o ckpass.o + gcc smartauthmon.o ckpass.o xmalloc.o messages.o -o smartauthmon -ltqt -lpam -lcrypt clean: rm -f ckpasswd.o xmalloc.o messages.o ckpasswd |