summaryrefslogtreecommitdiffstats
path: root/testsuite/mghttpd01/Makefile
blob: 4444a5177d1b177bff2993caa28c0602fd5f5c3e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#
#  $Id$
#

include ../../config.inc

PGM=${ARCH}/mghttpd01.exe

# optional managers required
MANAGERS=all

# XXX = mghttpd01.doc mghttpd01.scn
# C source names
C_FILES = init.c test-http-client.c
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)

AM_CPPFLAGS += -I $(INSTALL_BASE)/include
AM_CPPFLAGS += -I ../init01
AM_CPPFLAGS += -I ${r}/testsuites/support/include
LINK_LIBS += $(INSTALL_BASE)/libmghttpd.a
LINK_LIBS += $(INSTALL_BASE)/libbsdc.a
LINK_LIBS += $(INSTALL_BASE)/libbsd.a

include $(RTEMS_MAKEFILE_PATH)/Makefile.inc
include $(RTEMS_CUSTOM)
include $(PROJECT_ROOT)/make/leaf.cfg

OBJS= $(C_O_FILES)
CLEAN_ADDITIONS += init.c

all:    init.c ${ARCH} $(PGM)

init.c: ../init01/init.c
	cp ../init01/init.c .

$(PGM): $(OBJS)
	-$(make-exe)