source: rtems/cpukit/libmisc/cpuuse/Makefile.am @ 130291f

4.104.114.84.95
Last change on this file since 130291f was 620e8263, checked in by Joel Sherrill <joel.sherrill@…>, on 02/05/01 at 18:26:26

2001-02-03 Ralf Corsepius <corsepiu@…>

  • untar/Makefile.am, monitor/Makefile.am, dummy/Makefile.am, devnull/Makefile.am, dumpbuf/Makefile.am, mw-fb/Makefile.am, stackchk/Makefile.am, rtmonuse/Makefile.am, cpuuse/Makefile.am: Apply include_*HEADERS instead of H_FILES.
  • Property mode set to 100644
File size: 849 bytes
RevLine 
[df49c60]1##
[70810dc]2## $Id$
[df49c60]3##
[9608320]4
5AUTOMAKE_OPTIONS = foreign 1.4
6
[620e8263]7include_rtemsdir = $(includedir)/rtems
8
[9608320]9LIBNAME = libcpuuse-tmp
[70810dc]10LIB = $(ARCH)/$(LIBNAME).a
[9608320]11
12C_FILES = cpuuse.c
[70810dc]13C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
[9608320]14
[620e8263]15include_rtems_HEADERS = cpuuse.h
[9608320]16
17OBJS = $(C_O_FILES)
18
19include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
[7fcc26ac]20include $(top_srcdir)/../../../automake/compile.am
[70810dc]21include $(top_srcdir)/../../../automake/lib.am
[9608320]22
23$(PROJECT_INCLUDE)/rtems:
24        @$(mkinstalldirs) $@
25$(PROJECT_INCLUDE)/rtems/%.h: %.h
26        $(INSTALL_DATA) $< $@
27
28#
29# (OPTIONAL) Add local stuff here using +=
30#
31
[70810dc]32$(LIB): $(OBJS)
[9608320]33        $(make-library)
34
[70810dc]35PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems \
[620e8263]36    $(include_rtems_HEADERS:%=$(PROJECT_INCLUDE)/rtems/%)
[70810dc]37
38all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB)
39
40.PRECIOUS: $(LIB)
[9608320]41
[620e8263]42EXTRA_DIST = README cpuuse.c
[9608320]43
44include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.