Artifact 4708c1bb833219051020d570427541938a02eae7595bd7afee51c136779646c8:
- File
src/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: 778) [annotate] [blame] [check-ins using]
include ../extra.mk LIB = ${LIB_PREFIX}objfw${LIB_SUFFIX} LIB_MAJOR = 0 LIB_MINOR = 1 SRCS = OFArray.m \ OFAutoreleasePool.m \ OFConstString.m \ OFDataArray.m \ OFDictionary.m \ OFExceptions.m \ OFFile.m \ OFHashes.m \ OFIterator.m \ OFList.m \ OFMutableString.m \ OFNumber.m \ OFObject.m \ ${OFPLUGIN_M} \ OFSocket.m \ OFStream.m \ OFString.m \ OFTCPSocket.m \ OFThread.m \ OFXMLFactory.m \ ${ASPRINTF_C} INCLUDESTMP = ${SRCS:.c=.h} INCLUDES = ${INCLUDESTMP:.m=.h} \ OFMacros.h include ../buildsys.mk CPPFLAGS += -I.. CFLAGS += ${LIB_CFLAGS} OBJCFLAGS += ${LIB_CFLAGS} LD = ${OBJC} LDFLAGS += ${LIB_LDFLAGS}