summaryrefslogtreecommitdiffstats
path: root/main/polarssl/programs.makefile.patch
blob: 421f39cfcbc64a77aa58cf8d30128b1319501c18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- programs/Makefile	2014-07-31 12:20:17.748459143 -0400
+++ programs/Makefile	2014-07-31 12:21:35.388454356 -0400
@@ -43,7 +43,7 @@
 	test/selftest		test/ssl_test		\
 	util/pem2der		util/strerror		\
 	x509/cert_app		x509/crl_app		\
-	x509/cert_req
+	x509/cert_req		x509/cert_write
 
 ifdef OPENSSL
 APPS +=	test/o_p_test
@@ -241,6 +241,10 @@
 	echo   "  CC    x509/cert_req.c"
 	$(CC) $(CFLAGS) $(OFLAGS) x509/cert_req.c    $(LDFLAGS) -o $@
 
+x509/cert_write: x509/cert_write.c ../library/libpolarssl.a
+	echo   "  CC    x509/cert_write.c"
+	$(CC) $(CFLAGS) $(OFLAGS) x509/cert_write.c    $(LDFLAGS) -o $@
+
 clean:
 ifndef WINDOWS
 	rm -f $(APPS)