ObjFW  Check-in [b8a3a0fca9]

Overview
Comment:Some changes to make GNU make happy. There are still issues with glibc.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: b8a3a0fca92a68fe3c4ae672f8493203c4b91bedccf8251b6ed61b4f0544b85d
User & Date: js on 2008-09-14 17:24:44
Other Links: manifest | tags
Context
2008-09-14
17:42
Make the OBJCFLAGS we use everywhere global. check-in: c447bc64a6 user: js tags: trunk
17:24
Some changes to make GNU make happy. There are still issues with glibc. check-in: b8a3a0fca9 user: js tags: trunk
17:09
Automatically run tests. check-in: ab91040318 user: js tags: trunk
Changes

Modified src/Makefile from [3c78222fcb] to [3c70b39e49].

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
LIB = ${LIB_PREFIX}objfw${LIB_SUFFIX}
LIB_MAJOR = 1
LIB_MINOR = 0

SRCS = OFConstString.m		\
       OFConstWideString.m	\
       OFException.m		\
       OFList.m			\
       OFListObject.m		\
       OFObject.m		\
       OFString.m		\
       OFWideString.m

OBJCFLAGS += -fPIC -DPIC -fno-nil-recivers -fconstant-string-class=OFConstString -fobjc-exceptions
INCLUDES = OFConstString.h	\
	   OFConstWideString.h	\
	   OFException.h	\
	   OFList.h		\
	   OFListObject.h	\
	   OFObject.h		\
	   OFString.h		\
	   OFWideString.h

include ../buildsys.mk


LD = ${OBJC}
LIBS += -lobjc













<











>


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
LIB = ${LIB_PREFIX}objfw${LIB_SUFFIX}
LIB_MAJOR = 1
LIB_MINOR = 0

SRCS = OFConstString.m		\
       OFConstWideString.m	\
       OFException.m		\
       OFList.m			\
       OFListObject.m		\
       OFObject.m		\
       OFString.m		\
       OFWideString.m


INCLUDES = OFConstString.h	\
	   OFConstWideString.h	\
	   OFException.h	\
	   OFList.h		\
	   OFListObject.h	\
	   OFObject.h		\
	   OFString.h		\
	   OFWideString.h

include ../buildsys.mk

OBJCFLAGS += -fPIC -DPIC -fno-nil-receivers -fconstant-string-class=OFConstString -fobjc-exceptions
LD = ${OBJC}
LIBS += -lobjc

Modified tests/OFList/Makefile from [df7f084896] to [3d5d2fca4e].

1
2
3
4
5
6

7
8



9
10
11
12
PROG_NOINST = oflist
SRCS = OFList.m

include ../../buildsys.mk

CPPFLAGS += -I../../src

LIBS += -lobjc -L../../src -lobjfw




all: ${PROG_NOINST}
	LD_LIBRARY_PATH=../../src \
	DYLD_LIBRARY_PATH=../../src \
	./${PROG_NOINST}






>


>
>
>
|
|


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
PROG_NOINST = oflist
SRCS = OFList.m

include ../../buildsys.mk

CPPFLAGS += -I../../src
OBJCFLAGS += -fno-nil-receivers -fconstant-string-class=OFConstString -fobjc-exceptions
LIBS += -lobjc -L../../src -lobjfw

.PHONY: run

all: run
run: ${PROG_NOINST}
	LD_PRELOAD=../../src/libobjfw.so \
	DYLD_LIBRARY_PATH=../../src \
	./${PROG_NOINST}

Modified tests/OFObject/Makefile from [affb832cb1] to [20e234a2d8].

1
2
3
4
5
6

7
8



9
10
11
12
PROG_NOINST = ofobject
SRCS = OFObject.m

include ../../buildsys.mk

CPPFLAGS += -I../../src

LIBS += -lobjc -L../../src -lobjfw




all: ${PROG_NOINST}
	LD_LIBRARY_PATH=../../src \
	DYLD_LIBRARY_PATH=../../src \
	./${PROG_NOINST}






>


>
>
>
|
|


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
PROG_NOINST = ofobject
SRCS = OFObject.m

include ../../buildsys.mk

CPPFLAGS += -I../../src
OBJCFLAGS += -fno-nil-receivers -fconstant-string-class=OFConstString -fobjc-exceptions
LIBS += -lobjc -L../../src -lobjfw

.PHONY: run

all: run
run: ${PROG_NOINST}
	LD_PRELOAD=../../src/libobjfw.so \
	DYLD_LIBRARY_PATH=../../src \
	./${PROG_NOINST}

Modified tests/OFString/Makefile from [9e09f37810] to [e3503d5dc4].

1
2
3
4
5
6

7
8



9
10
11
12
PROG_NOINST = ofstring
SRCS = OFString.m

include ../../buildsys.mk

CPPFLAGS += -I../../src

LIBS += -lobjc -L../../src -lobjfw




all: ${PROG_NOINST}
	LD_LIBRARY_PATH=../../src \
	DYLD_LIBRARY_PATH=../../src \
	./${PROG_NOINST}






>


>
>
>
|
|


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
PROG_NOINST = ofstring
SRCS = OFString.m

include ../../buildsys.mk

CPPFLAGS += -I../../src
OBJCFLAGS += -fno-nil-receivers -fconstant-string-class=OFConstString -fobjc-exceptions
LIBS += -lobjc -L../../src -lobjfw

.PHONY: run

all: run
run: ${PROG_NOINST}
	LD_PRELOAD=../../src/libobjfw.so \
	DYLD_LIBRARY_PATH=../../src \
	./${PROG_NOINST}

Modified tests/OFWideString/Makefile from [d8754a2dea] to [6eef397247].

1
2
3
4
5
6

7
8



9
10
11
12
PROG_NOINST = ofwidestring
SRCS = OFWideString.m

include ../../buildsys.mk

CPPFLAGS += -I../../src

LIBS += -lobjc -L../../src -lobjfw




all: ${PROG_NOINST}
	LD_LIBRARY_PATH=../../src \
	DYLD_LIBRARY_PATH=../../src \
	./${PROG_NOINST}






>


>
>
>
|
|


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
PROG_NOINST = ofwidestring
SRCS = OFWideString.m

include ../../buildsys.mk

CPPFLAGS += -I../../src
OBJCFLAGS += -fno-nil-receivers -fconstant-string-class=OFConstString -fobjc-exceptions
LIBS += -lobjc -L../../src -lobjfw

.PHONY: run

all: run
run: ${PROG_NOINST}
	LD_PRELOAD=../../src/libobjfw.so \
	DYLD_LIBRARY_PATH=../../src \
	./${PROG_NOINST}