source: rtems/c/src/libmisc/cpuuse/Makefile.am @ 48bfd992

4.104.114.84.95
Last change on this file since 48bfd992 was d5b004b, checked in by Joel Sherrill <joel.sherrill@…>, on 11/23/99 at 13:52:59

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

  • Property mode set to 100644
File size: 756 bytes
Line 
1##
2##  $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7LIBNAME = libcpuuse-tmp
8LIB = ${ARCH}/${LIBNAME}.a
9
10C_FILES = cpuuse.c
11C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
12
13H_FILES = cpuuse.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.