source: rtems/c/src/tests/support/stubdr/Makefile.am @ abbf55b

Last change on this file since abbf55b was abbf55b, checked in by Joel Sherrill <joel.sherrill@…>, on 03/21/00 at 18:05:29

Ran ampolish after getting new version from Ralf Corsepius
<corsepiu@…>.

  • Property mode set to 100644
File size: 718 bytes
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7PGM = ${ARCH}/stubdr.rel
8
9C_FILES = open.c close.c read.c write.c init.c cntrl.c
10C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
11
12H_FILES = stubdrv.h
13noinst_HEADERS = $(H_FILES)
14
15SRCS = $(C_FILES) $(H_FILES)
16OBJS = $(C_O_FILES)
17
18include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
19include $(RTEMS_ROOT)/make/leaf.cfg
20
21TMPINSTALL_FILES += $(PROJECT_INCLUDE) $(H_FILES:%=$(PROJECT_INCLUDE)/%)
22
23$(PROJECT_INCLUDE):
24        @$(mkinstalldirs) $@
25$(PROJECT_INCLUDE)/%.h: %.h
26        $(INSTALL_DATA) $< $@
27
28#
29# (OPTIONAL) Add local stuff here using +=
30#
31
32$(PGM): ${OBJS}
33        $(make-rel)
34
35all: ${ARCH} $(PGM) $(TMPINSTALL_FILES)
36
37EXTRA_DIST = $(C_FILES)
38
39include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.