Develop and Download Open Source Software

Browse Subversion Repository

Contents of /http/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 262 - (show annotations) (download)
Mon Mar 3 00:30:25 2008 UTC (16 years, 1 month ago) by satofumi
File size: 1063 byte(s)
adjust applyInput() args
1 # Makefile for libs/http
2 # Satofumi KAMIMURA
3 # $Id$
4
5 # Compile options
6 CXXFLAGS = -g -O0 -Wall -Werror `sdl-config --cflags` ${INCLUDES}
7 INCLUDES = -I../connection
8 LDFLAGS =
9 LDLIBS =
10
11 # Target
12 HTTP_LIB = http.a
13 TARGET = ${HTTP_LIB}
14
15 all : ${TARGET}
16
17 clean :
18 ${RM} *.o ${TARGET} allTest errors.txt
19 # cd samples/ && ${MAKE} clean
20
21 test : allTest
22 ./allTest
23
24 depend :
25 makedepend -Y -- ${INCLUDES} -- ${wildcard *.h *.cpp}
26
27 .PHONY : all clean depend test
28 ######################################################################
29 ${HTTP_LIB} : \
30 ${HTTP_LIB}(HttpAccess.o)
31
32 REQUIRE_LIBS = ${HTTP_LIB} ../connection/connection.a
33 ${REQUIRE_LIBS} :
34 cd ${@D}/ && ${MAKE} ${@F}
35
36 TEST_OBJS = allTest.o ${REQUIRE_LIBS}
37 TEST_LDLIBS =
38
39 allTest.o : ../unittest/allTest.cpp
40 ${CXX} ${CXXFLAGS} `cppunit-config --cflags` $< -c -o $@
41
42 allTest : ${TEST_OBJS}
43 ${CXX} ${CXXFLAGS} ${TEST_OBJS} -o $@ `cppunit-config --libs` ${TEST_LDLIBS}
44
45 # DO NOT DELETE
46
47 HttpAccess.o: HttpAccess.h ../connection/NetInit.h ../connection/TcpipCtrl.h
48 HttpAccess.o: ../connection/ConnectionInterface.h

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26