4.104.114.84.95
Last change
on this file since c321496 was
c321496,
checked in by Ralf Corsepius <ralf.corsepius@…>, on 07/31/02 at 05:48:15
|
2002-07-31 Ralf Corsepius <corsepiu@…>
- Makefile.am: Merge src/Makefile.am.
- src/Makefile.am: Remove.
- configure.ac: Remove src/Makefile.am
|
-
Property mode set to
100644
|
File size:
958 bytes
|
Line | |
---|
1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | ACLOCAL_AMFLAGS = -I ../aclocal |
---|
6 | |
---|
7 | include $(top_srcdir)/../automake/multilib.am |
---|
8 | include $(top_srcdir)/../automake/compile.am |
---|
9 | include $(top_srcdir)/../automake/lib.am |
---|
10 | |
---|
11 | include_rtemsdir = $(includedir)/rtems |
---|
12 | |
---|
13 | $(PROJECT_INCLUDE)/%.h: include/%.h |
---|
14 | $(INSTALL_DATA) $< $@ |
---|
15 | |
---|
16 | $(PROJECT_INCLUDE)/rtems: |
---|
17 | @$(mkinstalldirs) $@ |
---|
18 | |
---|
19 | include_rtems_HEADERS = \ |
---|
20 | include/rtems/bdbuf.h include/rtems/blkdev.h \ |
---|
21 | include/rtems/diskdevs.h include/rtems/ramdisk.h |
---|
22 | |
---|
23 | PREINSTALL_FILES = $(PROJECT_INCLUDE)/rtems \ |
---|
24 | $(include_rtems_HEADERS:include/%=$(PROJECT_INCLUDE)/%) |
---|
25 | |
---|
26 | LIB = ${ARCH}/libblock.a |
---|
27 | |
---|
28 | C_FILES = src/bdbuf.c src/blkdev.c src/diskdevs.c src/ramdisk.c |
---|
29 | |
---|
30 | C_O_FILES = $(C_FILES:src/%.c=${ARCH}/%.$(OBJEXT)) |
---|
31 | |
---|
32 | SRCS = $(C_FILES) |
---|
33 | OBJS = $(C_O_FILES) |
---|
34 | |
---|
35 | AM_CFLAGS += $(LIBC_DEFINES) |
---|
36 | |
---|
37 | ${ARCH}/%.$(OBJEXT): src/%.c |
---|
38 | ${COMPILE} -o $@ -c $< |
---|
39 | |
---|
40 | $(LIB): ${OBJS} |
---|
41 | $(make-library) |
---|
42 | |
---|
43 | all-local: $(PREINSTALL_FILES) ${ARCH} $(LIB) |
---|
44 | |
---|
45 | include $(top_srcdir)/../automake/local.am |
---|
Note: See
TracBrowser
for help on using the repository browser.