source: rtems/cpukit/libmisc/monitor/Makefile.am @ 0ab65474

4.104.114.84.95
Last change on this file since 0ab65474 was 70810dc, checked in by Joel Sherrill <joel.sherrill@…>, on 02/08/00 at 22:33:25

Patches rtems-rc-20000204-0.diff from Ralf Corsepius <corsepiu@…>
that contains:

  • Removes remaining (now illegal) references to $(SRC) from a couple of Makefile.ams
  • Removes duplicate AC_CONFIG_SUBDIRS macro from c/configure.in
  • Moves ENABLE_LIBCDIR into RTEMS_PROG_C[C|XX]_FOR_TARGET (hides LIBCDIR from most configure scripts, i.e. LIBCDIR becomes less visible)
  • Adds RTEMS_PROG_C[C|XX]_FOR_TARGET and RTEMS_CANONICALIZE_TOOLS to libbsp/*/configure.ins (A minor bug in previous implementations, which only has an impact when switching to GNU/Cygnus canonicalization)
  • Cleans up several bogus comments.
  • Removes MKLIB
  • Switches the version number to 4.5.0 (for testing version number handling)
  • Property mode set to 100644
File size: 1.3 KB
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7LIBNAME = libmonitor-tmp
8LIB = $(ARCH)/$(LIBNAME).a
9
10# We only build multiprocessing related files if HAS_MP was defined
11MP_C_FILES = mon-mpci.c
12
13C_FILES = mon-command.c mon-symbols.c mon-prmisc.c mon-monitor.c \
14    mon-object.c mon-server.c mon-task.c mon-queue.c mon-driver.c \
15    mon-dname.c mon-itask.c mon-extension.c mon-manager.c mon-config.c
16
17if HAS_MP
18C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o) $(MP_C_FILES:%.c=$(ARCH)/%.o)
19else
20C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
21endif
22
23H_FILES = monitor.h symbols.h
24
25OBJS = $(C_O_FILES)
26
27include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
28include $(top_srcdir)/../../../automake/lib.am
29
30$(PROJECT_INCLUDE)/rtems:
31        $(mkinstalldirs) $@
32$(PROJECT_INCLUDE)/rtems/%.h: %.h
33        $(INSTALL_DATA) $< $@
34
35#
36# (OPTIONAL) Add local stuff here using +=
37#
38
39$(LIB): $(OBJS)
40        $(make-library)
41
42PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems \
43    $(H_FILES:%=$(PROJECT_INCLUDE)/rtems/%)
44
45all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB)
46
47.PRECIOUS: $(LIB)
48
49EXTRA_DIST = README mon-command.c mon-config.c mon-dname.c mon-driver.c \
50    mon-extension.c mon-itask.c mon-manager.c mon-monitor.c mon-mpci.c \
51    mon-object.c mon-prmisc.c mon-queue.c mon-server.c mon-symbols.c \
52    mon-task.c monitor.h symbols.h
53
54include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.