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

4.104.114.84.95
Last change on this file since be59f36 was be59f36, checked in by Joel Sherrill <joel.sherrill@…>, on 11/02/00 at 22:48:52

2000-11-02 Ralf Corsepius <corsepiu@…>

  • stubdr/Makefile.am: Replace leaf.cfg w/ automake/lib.am.
  • Property mode set to 100644
File size: 792 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 $(top_srcdir)/../../../../automake/compile.am
20include $(top_srcdir)/../../../../automake/lib.am
21
22TMPINSTALL_FILES += $(PROJECT_INCLUDE) $(H_FILES:%=$(PROJECT_INCLUDE)/%)
23
24$(PROJECT_INCLUDE):
25        @$(mkinstalldirs) $@
26$(PROJECT_INCLUDE)/%.h: %.h
27        $(INSTALL_DATA) $< $@
28
29#
30# (OPTIONAL) Add local stuff here using +=
31#
32
33$(PGM): ${OBJS}
34        $(make-rel)
35
36all-local: ${ARCH} $(PGM) $(TMPINSTALL_FILES)
37
38EXTRA_DIST = $(C_FILES)
39
40include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.