integrated http-parser lib
This commit is contained in:
@@ -35,9 +35,8 @@ OBJECTDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}
|
||||
|
||||
# Object Files
|
||||
OBJECTFILES= \
|
||||
${OBJECTDIR}/src/http/basicresponses.o \
|
||||
${OBJECTDIR}/src/http/http.o \
|
||||
${OBJECTDIR}/src/http/request.o \
|
||||
${OBJECTDIR}/src/http/parse.o \
|
||||
${OBJECTDIR}/src/main.o \
|
||||
${OBJECTDIR}/src/socket.o
|
||||
|
||||
@@ -56,7 +55,7 @@ FFLAGS=
|
||||
ASFLAGS=
|
||||
|
||||
# Link Libraries and Options
|
||||
LDLIBSOPTIONS=-lpthread
|
||||
LDLIBSOPTIONS=-lhttp_parser
|
||||
|
||||
# Build Targets
|
||||
.build-conf: ${BUILD_SUBPROJECTS}
|
||||
@@ -66,20 +65,15 @@ ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/khttp: ${OBJECTFILES}
|
||||
${MKDIR} -p ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}
|
||||
${LINK.c} -o ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/khttp ${OBJECTFILES} ${LDLIBSOPTIONS}
|
||||
|
||||
${OBJECTDIR}/src/http/basicresponses.o: src/http/basicresponses.c
|
||||
${MKDIR} -p ${OBJECTDIR}/src/http
|
||||
${RM} "$@.d"
|
||||
$(COMPILE.c) -g -Werror -std=c99 -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/src/http/basicresponses.o src/http/basicresponses.c
|
||||
|
||||
${OBJECTDIR}/src/http/http.o: src/http/http.c
|
||||
${MKDIR} -p ${OBJECTDIR}/src/http
|
||||
${RM} "$@.d"
|
||||
$(COMPILE.c) -g -Werror -std=c99 -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/src/http/http.o src/http/http.c
|
||||
|
||||
${OBJECTDIR}/src/http/request.o: src/http/request.c
|
||||
${OBJECTDIR}/src/http/parse.o: src/http/parse.c
|
||||
${MKDIR} -p ${OBJECTDIR}/src/http
|
||||
${RM} "$@.d"
|
||||
$(COMPILE.c) -g -Werror -std=c99 -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/src/http/request.o src/http/request.c
|
||||
$(COMPILE.c) -g -Werror -std=c99 -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/src/http/parse.o src/http/parse.c
|
||||
|
||||
${OBJECTDIR}/src/main.o: src/main.c
|
||||
${MKDIR} -p ${OBJECTDIR}/src
|
||||
|
||||
@@ -35,9 +35,8 @@ OBJECTDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}
|
||||
|
||||
# Object Files
|
||||
OBJECTFILES= \
|
||||
${OBJECTDIR}/src/http/basicresponses.o \
|
||||
${OBJECTDIR}/src/http/http.o \
|
||||
${OBJECTDIR}/src/http/request.o \
|
||||
${OBJECTDIR}/src/http/parse.o \
|
||||
${OBJECTDIR}/src/main.o \
|
||||
${OBJECTDIR}/src/socket.o
|
||||
|
||||
@@ -66,20 +65,15 @@ ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/khttp: ${OBJECTFILES}
|
||||
${MKDIR} -p ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}
|
||||
${LINK.c} -o ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/khttp ${OBJECTFILES} ${LDLIBSOPTIONS}
|
||||
|
||||
${OBJECTDIR}/src/http/basicresponses.o: src/http/basicresponses.c
|
||||
${MKDIR} -p ${OBJECTDIR}/src/http
|
||||
${RM} "$@.d"
|
||||
$(COMPILE.c) -O2 -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/src/http/basicresponses.o src/http/basicresponses.c
|
||||
|
||||
${OBJECTDIR}/src/http/http.o: src/http/http.c
|
||||
${MKDIR} -p ${OBJECTDIR}/src/http
|
||||
${RM} "$@.d"
|
||||
$(COMPILE.c) -O2 -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/src/http/http.o src/http/http.c
|
||||
|
||||
${OBJECTDIR}/src/http/request.o: src/http/request.c
|
||||
${OBJECTDIR}/src/http/parse.o: src/http/parse.c
|
||||
${MKDIR} -p ${OBJECTDIR}/src/http
|
||||
${RM} "$@.d"
|
||||
$(COMPILE.c) -O2 -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/src/http/request.o src/http/request.c
|
||||
$(COMPILE.c) -O2 -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/src/http/parse.o src/http/parse.c
|
||||
|
||||
${OBJECTDIR}/src/main.o: src/main.c
|
||||
${MKDIR} -p ${OBJECTDIR}/src
|
||||
|
||||
@@ -4,10 +4,9 @@
|
||||
<logicalFolder name="HeaderFiles"
|
||||
displayName="Header Files"
|
||||
projectFiles="true">
|
||||
<itemPath>src/http/basicresponses.h</itemPath>
|
||||
<itemPath>src/http/http.h</itemPath>
|
||||
<itemPath>src/main.h</itemPath>
|
||||
<itemPath>src/http/request.h</itemPath>
|
||||
<itemPath>src/http/parse.h</itemPath>
|
||||
<itemPath>src/socket.h</itemPath>
|
||||
</logicalFolder>
|
||||
<logicalFolder name="ResourceFiles"
|
||||
@@ -17,10 +16,9 @@
|
||||
<logicalFolder name="SourceFiles"
|
||||
displayName="Source Files"
|
||||
projectFiles="true">
|
||||
<itemPath>src/http/basicresponses.c</itemPath>
|
||||
<itemPath>src/http/http.c</itemPath>
|
||||
<itemPath>src/main.c</itemPath>
|
||||
<itemPath>src/http/request.c</itemPath>
|
||||
<itemPath>src/http/parse.c</itemPath>
|
||||
<itemPath>src/socket.c</itemPath>
|
||||
</logicalFolder>
|
||||
<logicalFolder name="TestFiles"
|
||||
@@ -34,10 +32,7 @@
|
||||
kind="IMPORTANT_FILES_FOLDER">
|
||||
<itemPath>Makefile</itemPath>
|
||||
</logicalFolder>
|
||||
<itemPath>content/responses/400.html</itemPath>
|
||||
<itemPath>dist/Debug/GNU-Linux-x86/content/blah</itemPath>
|
||||
<itemPath>content/error.html</itemPath>
|
||||
<itemPath>content/test.txt</itemPath>
|
||||
</logicalFolder>
|
||||
<sourceRootList>
|
||||
<Elem>include</Elem>
|
||||
@@ -58,32 +53,19 @@
|
||||
</cTool>
|
||||
<linkerTool>
|
||||
<linkerLibItems>
|
||||
<linkerLibStdlibItem>PosixThreads</linkerLibStdlibItem>
|
||||
<linkerLibLibItem>http_parser</linkerLibLibItem>
|
||||
</linkerLibItems>
|
||||
</linkerTool>
|
||||
</compileType>
|
||||
<item path="content/error.html" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="content/responses/400.html" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="content/test.txt" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="dist/Debug/GNU-Linux-x86/content/blah"
|
||||
ex="false"
|
||||
tool="3"
|
||||
flavor2="0">
|
||||
</item>
|
||||
<item path="src/http/basicresponses.c" ex="false" tool="0" flavor2="0">
|
||||
</item>
|
||||
<item path="src/http/basicresponses.h" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="src/http/http.c" ex="false" tool="0" flavor2="0">
|
||||
</item>
|
||||
<item path="src/http/http.h" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="src/http/request.c" ex="false" tool="0" flavor2="0">
|
||||
<item path="src/http/parse.c" ex="false" tool="0" flavor2="0">
|
||||
</item>
|
||||
<item path="src/http/request.h" ex="false" tool="3" flavor2="0">
|
||||
<item path="src/http/parse.h" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="src/main.c" ex="false" tool="0" flavor2="0">
|
||||
</item>
|
||||
@@ -116,26 +98,13 @@
|
||||
</compileType>
|
||||
<item path="content/error.html" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="content/responses/400.html" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="content/test.txt" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="dist/Debug/GNU-Linux-x86/content/blah"
|
||||
ex="false"
|
||||
tool="3"
|
||||
flavor2="0">
|
||||
</item>
|
||||
<item path="src/http/basicresponses.c" ex="false" tool="0" flavor2="0">
|
||||
</item>
|
||||
<item path="src/http/basicresponses.h" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="src/http/http.c" ex="false" tool="0" flavor2="0">
|
||||
</item>
|
||||
<item path="src/http/http.h" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="src/http/request.c" ex="false" tool="0" flavor2="0">
|
||||
<item path="src/http/parse.c" ex="false" tool="0" flavor2="0">
|
||||
</item>
|
||||
<item path="src/http/request.h" ex="false" tool="3" flavor2="0">
|
||||
<item path="src/http/parse.h" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="src/main.c" ex="false" tool="0" flavor2="0">
|
||||
</item>
|
||||
|
||||
@@ -7,17 +7,17 @@
|
||||
<editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="0"/>
|
||||
<open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
|
||||
<group>
|
||||
<file>file:/home/sam/NetBeansProjects/KHttp/src/socket.c</file>
|
||||
<file>file:/home/sam/NetBeansProjects/KHttp/src/http/http.h</file>
|
||||
<file>file:/home/sam/NetBeansProjects/KHttp/src/http/parse.c</file>
|
||||
<file>file:/home/sam/NetBeansProjects/KHttp/src/ut/utarray.h</file>
|
||||
<file>file:/home/sam/NetBeansProjects/KHttp/src/main.h</file>
|
||||
<file>file:/home/sam/NetBeansProjects/KHttp/Makefile</file>
|
||||
<file>file:/home/sam/NetBeansProjects/KHttp/src/http/request.h</file>
|
||||
<file>file:/home/sam/NetBeansProjects/KHttp/content/error.html</file>
|
||||
<file>file:/home/sam/NetBeansProjects/KHttp/src/http/basicresponses.h</file>
|
||||
<file>file:/home/sam/NetBeansProjects/KHttp/src/http/parse.h</file>
|
||||
<file>file:/home/sam/NetBeansProjects/KHttp/src/main.c</file>
|
||||
<file>file:/home/sam/NetBeansProjects/KHttp/src/http/request.c</file>
|
||||
<file>file:/home/sam/NetBeansProjects/KHttp/src/socket.h</file>
|
||||
<file>file:/home/sam/NetBeansProjects/KHttp/src/http/http.c</file>
|
||||
<file>file:/home/sam/NetBeansProjects/KHttp/src/http/basicresponses.c</file>
|
||||
</group>
|
||||
</open-files>
|
||||
</project-private>
|
||||
|
||||
Reference in New Issue
Block a user