head	1.2;
access;
symbols
	RELEASE_8_3_0:1.1
	RELEASE_9_0_0:1.1
	RELEASE_7_4_0:1.1
	RELEASE_8_2_0:1.1
	RELEASE_6_EOL:1.1;
locks; strict;
comment	@# @;


1.2
date	2012.11.26.19.56.44;	author svnexp;	state Exp;
branches;
next	1.1;

1.1
date	2010.08.04.14.26.57;	author dinoex;	state Exp;
branches;
next	;


desc
@@


1.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 307794
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r307794 | jase | 2012-11-26 19:49:22 +0000 (Mon, 26 Nov 2012) | 7 lines
## SVN ##
## SVN ## - Update to 1.2.3
## SVN ## - Assume maintainership
## SVN ##
## SVN ## Changes:	https://raw.github.com/polarssl/polarssl/fb1ba781b398d39f4444515381babcc9e5a8dcd2/ChangeLog
## SVN ##
## SVN ## Feature safe:	yes
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@--- library/Makefile.orig	2012-11-26 19:20:30.821850410 +0000
+++ library/Makefile	2012-11-26 19:21:01.534380354 +0000
@@@@ -18,9 +18,7 @@@@
 # CFLAGS += -D_BSD_EXTENSION
 
 # To compile as a shared library:
-ifdef SHARED
 CFLAGS += -fPIC
-endif
 
 SONAME=libpolarssl.so.0
 
@@@@ -53,11 +51,7 @@@@
 
 .SILENT:
 
-ifndef SHARED
-all: static
-else
-all: shared
-endif
+all: shared static
 
 static: libpolarssl.a
 
@


1.1
log
@- build shared lib too
PR:		149262
Submitted by:	Takefu
@
text
@d1 3
a3 3
--- library/Makefile.orig	2010-03-24 15:57:15.000000000 +0900
+++ library/Makefile	2010-07-15 14:33:59.000000000 +0900
@@@@ -11,7 +11,7 @@@@
d5 1
a5 1

d7 8
a14 7
-# CFLAGS += -fPIC
+CFLAGS += -fPIC

 DLEXT=so
 # OSX shared library extension:
@@@@ -29,7 +29,7 @@@@

d16 2
a17 1

d19 5
a23 2
+all: static shared

d25 1
a25 1

@

