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:
1.2 KB
|
Line | |
---|
1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | AUTOMAKE_OPTIONS = foreign 1.4 |
---|
6 | |
---|
7 | LIBNAME = libmonitor-tmp |
---|
8 | LIB = ${ARCH}/$(LIBNAME).a |
---|
9 | |
---|
10 | # C source names, if any, go here -- minus the .c |
---|
11 | # We only build multiprocessing related files if HAS_MP was defined |
---|
12 | MP_C_FILES = mon-mpci.c |
---|
13 | |
---|
14 | C_FILES = mon-command.c mon-symbols.c mon-prmisc.c mon-monitor.c \ |
---|
15 | mon-object.c mon-server.c mon-task.c mon-queue.c mon-driver.c \ |
---|
16 | mon-dname.c mon-itask.c mon-extension.c mon-manager.c mon-config.c |
---|
17 | |
---|
18 | if HAS_MP |
---|
19 | C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o) $(MP_C_FILES:%.c=${ARCH}/%.o) |
---|
20 | else |
---|
21 | C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o) |
---|
22 | endif |
---|
23 | |
---|
24 | H_FILES = monitor.h symbols.h |
---|
25 | noinst_HEADERS = $(H_FILES) |
---|
26 | |
---|
27 | SRCS = README $(C_FILES) $(H_FILES) |
---|
28 | OBJS = $(C_O_FILES) |
---|
29 | |
---|
30 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
---|
31 | include $(RTEMS_ROOT)/make/lib.cfg |
---|
32 | |
---|
33 | PREINSTALL_FILES = \ |
---|
34 | $(PROJECT_INCLUDE)/rtems \ |
---|
35 | $(H_FILES:%=$(PROJECT_INCLUDE)/rtems/%) |
---|
36 | |
---|
37 | $(PROJECT_INCLUDE)/rtems: |
---|
38 | $(mkinstalldirs) $@ |
---|
39 | $(PROJECT_INCLUDE)/rtems/%.h: %.h |
---|
40 | $(INSTALL_DATA) $< $@ |
---|
41 | |
---|
42 | # |
---|
43 | # (OPTIONAL) Add local stuff here using += |
---|
44 | # |
---|
45 | |
---|
46 | ${LIB}: ${OBJS} |
---|
47 | $(make-library) |
---|
48 | |
---|
49 | all: ${ARCH} $(PREINSTALL_FILES) $(LIB) $(TMPINSTALL_FILES) |
---|
50 | |
---|
51 | EXTRA_DIST += $(C_FILES) $(MP_C_FILES) |
---|
52 | |
---|
53 | include $(top_srcdir)/../../../automake/local.am |
---|
Note: See
TracBrowser
for help on using the repository browser.