ObjFW  Artifact [ec70c1ba34]

Artifact ec70c1ba348ae11405d40ac3e5432aaf0136a7140c7b3bec9cb3fbbd33aee735:

  • File src/Makefile — part of check-in [612bc150e5] at 2009-06-18 19:08:57 on branch trunk — Get rid of OFXMLFactory.

    There are two reasons for this:

    1.) This was one of the oldest classes. Back then when it was written,
    a lot was missing in the framework, so it had to be implemented by
    the class itself. This means there was code duplication, but fixing
    that wouldn't make sense due to the second reason.
    2.) There is OFXMLElement now, which is much more flexible, much more
    fun to use and can do everything that OFXMLFactory could. (user: js, size: 893) [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			\
       OFMutableArray.m		\
       OFMutableDictionary.m	\
       OFMutableString.m	\
       OFNumber.m		\
       OFObject.m		\
       ${OFPLUGIN_M}		\
       OFSocket.m		\
       OFStream.m		\
       OFString.m		\
       OFTCPSocket.m		\
       OFThread.m		\
       OFURLEncoding.m		\
       OFXMLElement.m

INCLUDESTMP := ${SRCS:.c=.h}
INCLUDES := ${INCLUDESTMP:.m=.h}	\
	    OFMacros.h			\
	    asprintf.h			\
	    objfw.h

SRCS += ${OBJC_SYNC_M}	\
	${ASPRINTF_C}

include ../buildsys.mk

CPPFLAGS += -I..
CFLAGS += ${LIB_CFLAGS}
OBJCFLAGS += ${LIB_CFLAGS}
LD = ${OBJC}