4.104.114.84.95
Last change
on this file since d5b004b 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:
762 bytes
|
Line | |
---|
1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | AUTOMAKE_OPTIONS = foreign 1.4 |
---|
6 | |
---|
7 | LIBNAME = librtmonuse-tmp |
---|
8 | LIB = ${ARCH}/${LIBNAME}.a |
---|
9 | |
---|
10 | C_FILES = rtmonuse.c |
---|
11 | C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o) |
---|
12 | |
---|
13 | H_FILES = rtmonuse.h |
---|
14 | noinst_HEADERS = $(H_FILES) |
---|
15 | |
---|
16 | SRCS = $(C_FILES) $(H_FILES) |
---|
17 | OBJS = $(C_O_FILES) |
---|
18 | |
---|
19 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
---|
20 | include $(RTEMS_ROOT)/make/lib.cfg |
---|
21 | |
---|
22 | PREINSTALL_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 | |
---|
38 | all: ${ARCH} $(PREINSTALL_FILES) $(LIB) $(TMPINSTALL_FILES) |
---|
39 | |
---|
40 | EXTRA_DIST += $(C_FILES) |
---|
41 | |
---|
42 | include $(top_srcdir)/../../../automake/local.am |
---|
Note: See
TracBrowser
for help on using the repository browser.