source: rtems/cpukit/libmisc/monitor/Makefile.am @ aea9bb46

4.104.114.84.95
Last change on this file since aea9bb46 was aea9bb46, checked in by Joel Sherrill <joel.sherrill@…>, on 09/28/01 at 13:34:40

2001-09-28 Ralf Corsepius <corsepiu@…>

  • untar/Makefile.am: Use 'PREINSTALL_FILES ='.
  • monitor/Makefile.am: Use 'PREINSTALL_FILES ='.
  • shell/Makefile.am: Use 'PREINSTALL_FILES ='.
  • devnull/Makefile.am: Use 'PREINSTALL_FILES ='.
  • dumpbuf/Makefile.am: Use 'PREINSTALL_FILES ='.
  • mw-fb/Makefile.am: Use 'PREINSTALL_FILES ='.
  • stackchk/Makefile.am: Use 'PREINSTALL_FILES ='.
  • rtmonuse/Makefile.am: Use 'PREINSTALL_FILES ='.
  • cpuuse/Makefile.am: Use 'PREINSTALL_FILES ='.
  • rootfs/Makefile.am: Use 'PREINSTALL_FILES ='.
  • Property mode set to 100644
File size: 1.4 KB
RevLine 
[df49c60]1##
[70810dc]2## $Id$
[df49c60]3##
[9608320]4
5AUTOMAKE_OPTIONS = foreign 1.4
6
[620e8263]7include_rtemsdir = $(includedir)/rtems
8
[9608320]9LIBNAME = libmonitor-tmp
[70810dc]10LIB = $(ARCH)/$(LIBNAME).a
[9608320]11
12# We only build multiprocessing related files if HAS_MP was defined
13MP_C_FILES = mon-mpci.c
14
15C_FILES = mon-command.c mon-symbols.c mon-prmisc.c mon-monitor.c \
16    mon-object.c mon-server.c mon-task.c mon-queue.c mon-driver.c \
17    mon-dname.c mon-itask.c mon-extension.c mon-manager.c mon-config.c
18
19if HAS_MP
[70810dc]20C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o) $(MP_C_FILES:%.c=$(ARCH)/%.o)
[9608320]21else
[70810dc]22C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
[9608320]23endif
24
[620e8263]25include_rtems_HEADERS = monitor.h symbols.h
[9608320]26
27OBJS = $(C_O_FILES)
28
29include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
[7fcc26ac]30include $(top_srcdir)/../../../automake/compile.am
[70810dc]31include $(top_srcdir)/../../../automake/lib.am
[9608320]32
33$(PROJECT_INCLUDE)/rtems:
34        $(mkinstalldirs) $@
35$(PROJECT_INCLUDE)/rtems/%.h: %.h
36        $(INSTALL_DATA) $< $@
37
38#
39# (OPTIONAL) Add local stuff here using +=
40#
41
[70810dc]42$(LIB): $(OBJS)
[9608320]43        $(make-library)
44
[aea9bb46]45PREINSTALL_FILES = $(PROJECT_INCLUDE)/rtems \
[620e8263]46    $(include_rtems_HEADERS:%=$(PROJECT_INCLUDE)/rtems/%)
[70810dc]47
48all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB)
49
50.PRECIOUS: $(LIB)
[9608320]51
[70810dc]52EXTRA_DIST = README mon-command.c mon-config.c mon-dname.c mon-driver.c \
53    mon-extension.c mon-itask.c mon-manager.c mon-monitor.c mon-mpci.c \
54    mon-object.c mon-prmisc.c mon-queue.c mon-server.c mon-symbols.c \
[620e8263]55    mon-task.c
[9608320]56
57include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.