source: rtems/cpukit/libmisc/dummy/Makefile.am @ d5b004b

4.104.114.84.95
Last change on this file since d5b004b was d5b004b, checked in by Joel Sherrill <joel.sherrill@…>, on Nov 23, 1999 at 1:52:59 PM

Patch from Ralf Corsepius <corsepiu@…>
to convert the libmisc directory from Makefile.in to Makefile.am.

  • Property mode set to 100644
File size: 744 bytes
Line 
1#
2#  $Id$
3#
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7PGMNAME = dummy
8PGM = ${ARCH}/$(PGMNAME).rel
9
10# C source names, if any, go here -- minus the .c
11C_FILES = dummy.c
12C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
13
14SRCS = $(C_FILES)
15OBJS = $(C_O_FILES)
16
17include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
18include $(RTEMS_ROOT)/make/lib.cfg
19
20TMPINSTALL_FILES = \
21$(PROJECT_INCLUDE)/rtems \
22$(PROJECT_RELEASE)/lib/$(PGMNAME)$(LIB_VARIANT).rel
23
24$(PROJECT_INCLUDE)/rtems:
25        @$(mkinstalldirs) $@
26
27#
28# (OPTIONAL) Add local stuff here using +=
29#
30
31${PGM}: ${OBJS}
32        $(make-rel)
33
34$(PROJECT_RELEASE)/lib/$(PGMNAME)$(LIB_VARIANT).rel: $(PGM)
35        $(INSTALL_DATA) $< $@
36
37all: ${ARCH} $(TMPINSTALL_FILES)
38
39EXTRA_DIST = $(C_FILES)
40
41include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.