source: rtems/testsuites/samples/fileio/Makefile.am @ cb3cf606

4.104.114.84.95
Last change on this file since cb3cf606 was cb3cf606, checked in by Ralf Corsepius <ralf.corsepius@…>, on 10/23/03 at 07:02:46

2003-10-23 Ralf Corsepius <corsepiu@…>

  • configure.ac: Add AM_CONDITIONAL(LIBCHIP).
  • fileio/Makefile.am: Only build if LIBCHIP is available.
  • Property mode set to 100644
File size: 775 bytes
Line 
1##
2##  Makefile.am,v 1.9 2002/08/11 05:18:59 ralf Exp
3##
4
5
6SAMPLE = fileio
7PGM = ${ARCH}/$(SAMPLE).exe
8
9MANAGERS = io message semaphore
10
11C_FILES = init.c
12C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
13
14H_FILES = system.h
15noinst_HEADERS = $(H_FILES)
16
17DOCTYPES = doc
18DOCS = $(DOCTYPES:%=$(SAMPLE).%)
19
20SRCS = $(DOCS) $(C_FILES) $(H_FILES)
21OBJS = $(C_O_FILES)
22
23PRINT_SRCS = $(DOCS)
24
25include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
26include $(top_srcdir)/../automake/compile.am
27include $(top_srcdir)/../automake/leaf.am
28include $(top_srcdir)/sample.am
29
30#
31# (OPTIONAL) Add local stuff here using +=
32#
33
34if LIBCHIP
35all-local: ${ARCH} $(TMPINSTALL_FILES)
36
37${PGM}: $(OBJS) $(LINK_FILES)
38        $(make-exe)
39endif
40
41EXTRA_DIST = $(C_FILES) $(DOCS)
42
43include $(top_srcdir)/../automake/local.am
44
Note: See TracBrowser for help on using the repository browser.