summaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-20 07:18:56 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-20 07:18:56 +0000
commit3a3ed0cdcd5349969f3aee59a63cabd3439d7292 (patch)
tree3077a8b9c8aea19c2e70dbbd7bfd1639479fcc01 /src/Makefile
parent0d92b905848f44fb794474412b4ca611c4bfd191 (diff)
downloadsmartcardauth-3a3ed0cdcd5349969f3aee59a63cabd3439d7292.tar.gz
smartcardauth-3a3ed0cdcd5349969f3aee59a63cabd3439d7292.zip
Add an initial C++ port of the smartauthmon script to smartcardauth
This still relies heavily on system calls, but is already faster and has the potential to be more secure git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/smartcardauth@1254556 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index e71a413..cd28008 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -9,8 +9,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
+
ckpasswd: ckpasswd.o
gcc ckpasswd.o xmalloc.o messages.o -o ckpasswd -lpam -lcrypt
+ckpasswd: smartauthmon.o
+ gcc smartauthmon.o -o smartauthmon -ltqt
+
clean:
rm -f ckpasswd.o xmalloc.o messages.o ckpasswd