ObjOpenSSL  Check-in [4f5b4ced1c]

Overview
Comment:Make it possible to use a different objfw-config/objfw-compile.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 4f5b4ced1c4f311c6793ab2d2df13a4fa4185d605906b9558348865754771e27
User & Date: js on 2012-02-05 15:08:13
Other Links: manifest | tags
Context
2012-03-19
22:14
.hgignore -> .gitignore check-in: 0620361bd0 user: js tags: trunk
2012-02-05
15:08
Make it possible to use a different objfw-config/objfw-compile. check-in: 4f5b4ced1c user: js tags: trunk
2012-02-01
13:50
Fix properties in exceptions. check-in: 2c5d1c7324 user: js tags: trunk
Changes

Modified Makefile from [864f981c5d] to [9e4fecb2b1].

1
2
3
4
5
6
7
8
9
10


11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
LIB = objopenssl
LIB_MAJOR = 0
LIB_MINOR = 0

CPPFLAGS += -Wall -g
LIBS += -lssl -lcrypto -lz

includedir = ObjOpenSSL
prefix ?= /usr/local
INSTALL ?= install



LIB_PREFIX = `objfw-config --lib-prefix`
LIB_SUFFIX = `objfw-config --lib-suffix`
LIB_FILE = ${LIB_PREFIX}${LIB}${LIB_SUFFIX}

.SILENT:

all:
	objfw-compile --lib ${LIB_MAJOR}.${LIB_MINOR} ${CPPFLAGS} ${LIBS} \
		-o ${LIB} -Wno-deprecated-declarations src/*.m

install: install-lib install-headers

install-lib: all
	mkdir -p ${destdir}${prefix}/lib
	export LIB_MAJOR=${LIB_MAJOR}; \










>
>

|
|





|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
LIB = objopenssl
LIB_MAJOR = 0
LIB_MINOR = 0

CPPFLAGS += -Wall -g
LIBS += -lssl -lcrypto -lz

includedir = ObjOpenSSL
prefix ?= /usr/local
INSTALL ?= install
OBJFW_CONFIG ?= objfw-config
OBJFW_COMPILE ?= objfw-compile

LIB_PREFIX = `${OBJFW_CONFIG} --lib-prefix`
LIB_SUFFIX = `${OBJFW_CONFIG} --lib-suffix`
LIB_FILE = ${LIB_PREFIX}${LIB}${LIB_SUFFIX}

.SILENT:

all:
	${OBJFW_COMPILE} --lib ${LIB_MAJOR}.${LIB_MINOR} ${CPPFLAGS} ${LIBS} \
		-o ${LIB} -Wno-deprecated-declarations src/*.m

install: install-lib install-headers

install-lib: all
	mkdir -p ${destdir}${prefix}/lib
	export LIB_MAJOR=${LIB_MAJOR}; \