source: rtems/testsuites/libtests/mghttpd01/Makefile.am @ 6130a47

5
Last change on this file since 6130a47 was 6130a47, checked in by Chris Johns <chrisj@…>, on 05/10/17 at 03:34:55

testsuites: Fix build dependences for generated files.

  • Property mode set to 100644
File size: 842 bytes
Line 
1rtems_tests_PROGRAMS = mghttpd01
2
3mghttpd01_SOURCES = init.c init_fs.c init_fs.h \
4        test-http-client.c test-http-client.h
5mghttpd01_LDADD = -lmghttpd
6BUILT_SOURCES = init_fs.c init_fs.h
7
8dist_rtems_tests_DATA = mghttpd01.scn mghttpd01.doc
9
10include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
11include $(top_srcdir)/../automake/compile.am
12include $(top_srcdir)/../automake/leaf.am
13
14AM_CPPFLAGS += -I$(top_srcdir)/../support/include
15
16LINK_OBJS = $(mghttpd01_OBJECTS) $(mghttpd01_LDADD)
17LINK_LIBS = $(mghttpd01_LDLIBS)
18
19mghttpd01$(EXEEXT): $(mghttpd01_OBJECTS) $(mghttpd01_DEPENDENCIES)
20        @rm -f mghttpd01$(EXEEXT)
21        $(make-exe)
22
23init.c: init_fs.h
24
25init_fs.c:
26        $(BIN2C) -C $(srcdir)/init_fs.tar init_fs
27CLEANFILES += init_fs.c
28
29init_fs.h:
30        $(BIN2C) -H $(srcdir)/init_fs.tar init_fs
31CLEANFILES += init_fs.h
32
33include $(top_srcdir)/../automake/local.am
Note: See TracBrowser for help on using the repository browser.