source: rtems/cpukit/libmisc/rtmonuse/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: 762 bytes
Line 
1##
2##  $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7LIBNAME = librtmonuse-tmp
8LIB = ${ARCH}/${LIBNAME}.a
9
10C_FILES = rtmonuse.c
11C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
12
13H_FILES = rtmonuse.h
14noinst_HEADERS = $(H_FILES)
15
16SRCS = $(C_FILES) $(H_FILES)
17OBJS = $(C_O_FILES)
18
19include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
20include $(RTEMS_ROOT)/make/lib.cfg
21
22PREINSTALL_FILES = \
23$(PROJECT_INCLUDE)/rtems \
24$(H_FILES:%=$(PROJECT_INCLUDE)/rtems/%)
25
26$(PROJECT_INCLUDE)/rtems:
27        @$(mkinstalldirs) $@
28$(PROJECT_INCLUDE)/rtems/%.h: %.h
29        $(INSTALL_DATA) $< $@
30
31#
32# (OPTIONAL) Add local stuff here using +=
33#
34
35${LIB}: ${OBJS}
36        $(make-library)
37
38all: ${ARCH} $(PREINSTALL_FILES) $(LIB) $(TMPINSTALL_FILES)
39
40EXTRA_DIST += $(C_FILES)
41
42include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.