Artifact bf04985f88dd1883ef8b9a92a339fa86210df720c07b2e86dedb451823009f86:
- File
tests/OFTCPSocket/Makefile
— part of check-in
[4e4c1c0eca]
at
2009-05-16 13:23:29
on branch trunk
— Add objfw-config script.
The problem with pkg-config is that it doesn't know about CPPFLAGS or
OBJCFLAGS, only CFLAGS.Oh, and the library version was changed from 1.0 to 0.1, so it matches
with the rest. (user: js, size: 719) [annotate] [blame] [check-ins using]
PROG_NOINST = oftcpsocket${PROG_SUFFIX} SRCS = OFTCPSocket.m include ../../buildsys.mk include ../../extra.mk CPPFLAGS += -I../../src -I../.. LIBS := -L../../src -lobjfw ${LIBS} .PHONY: run all: run run: ${PROG_NOINST} rm -f libobjfw.so.0 libobjfw.so.0.1 libobjfw.dll libobjfw.dylib ln -s ../../src/libobjfw.so libobjfw.so.0 ln -s ../../src/libobjfw.so libobjfw.so.0.1 ln -s ../../src/libobjfw.dll libobjfw.dll ln -s ../../src/libobjfw.dylib libobjfw.dylib LD_LIBRARY_PATH=.$${LD_LIBRARY_PATH+:}$$LD_LIBRARY_PATH \ DYLD_LIBRARY_PATH=.$${DYLD_LIBRARY_PATH+:}$$DYLD_LIBRARY_PATH \ ${TEST_LAUNCHER} ./${PROG_NOINST}; EXIT=$$?; \ rm -f libobjfw.so.0 libobjfw.so.0.1 libobjfw.dll libobjfw.dylib; \ exit $$EXIT