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