aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2007-03-13 00:36:21 +0000
committerlloyd <[email protected]>2007-03-13 00:36:21 +0000
commit66fda6687ee8dcc79e9495bf8d85278ec1837388 (patch)
tree0d194d9b491a0652c96318df014dbb7c9c15abe5
parent889dfcfbea7512fcbbcc3c56172269f9555ac79f (diff)
Clean up the examples makefile a bit.1.7.0
-rw-r--r--doc/examples/Makefile22
1 files changed, 13 insertions, 9 deletions
diff --git a/doc/examples/Makefile b/doc/examples/Makefile
index ad650351d..6706aaaf6 100644
--- a/doc/examples/Makefile
+++ b/doc/examples/Makefile
@@ -9,14 +9,10 @@ INCLUDES = `$(BOTAN_DIR)/botan-config --cflags`
LIBS = `$(BOTAN_DIR)/botan-config --libs`
FLAGS = $(INCLUDES) $(CFLAGS) -I$(BOTAN_DIR)/build/include -L$(BOTAN_DIR)
-X509_EX = ca pkcs10 self_sig x509info asn1
-RSA_EX = rsa_kgen rsa_enc rsa_dec
-DSA_EX = dsa_kgen dsa_sign dsa_ver
-DH_EX = dh
-HASH_EX = hash hash_fd hasher hasher2 stack
-MISC_EX = factor base base64 bzip encrypt decrypt xor_ciph passhash
-
-PROGS = $(X509_EX) $(RSA_EX) $(DSA_EX) $(DH_EX) $(HASH_EX) $(MISC_EX)
+PROGS = asn1 base base64 bzip ca decrypt dh dsa_kgen dsa_sign dsa_ver \
+ encrypt factor hash hash_fd hasher hasher2 \
+ passhash pkcs10 rsa_dec rsa_enc rsa_kgen self_sig stack \
+ x509info xor_ciph
STRIP = true
@@ -89,7 +85,11 @@ hasher2: hasher2.cpp
$(CXX) $(FLAGS) $? $(LIBS) -o $@
@$(STRIP) $@
-pkcs10: pkcs10.cpp
+pass_dec: pass_dec.cpp
+ $(CXX) $(FLAGS) $? $(LIBS) -o $@
+ @$(STRIP) $@
+
+pass_enc: pass_enc.cpp
$(CXX) $(FLAGS) $? $(LIBS) -o $@
@$(STRIP) $@
@@ -97,6 +97,10 @@ passhash: passhash.cpp
$(CXX) $(FLAGS) $? $(LIBS) -o $@
@$(STRIP) $@
+pkcs10: pkcs10.cpp
+ $(CXX) $(FLAGS) $? $(LIBS) -o $@
+ @$(STRIP) $@
+
rsa_dec: rsa_dec.cpp
$(CXX) $(FLAGS) $? $(LIBS) -o $@
@$(STRIP) $@