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
|
Rev | Line | |
---|
[e51bd96] | 1 | ## |
---|
| 2 | ## $Id$ |
---|
| 3 | ## |
---|
| 4 | |
---|
[6e183f1] | 5 | ACLOCAL_AMFLAGS = -I ../aclocal |
---|
[e51bd96] | 6 | |
---|
[c321496] | 7 | include $(top_srcdir)/../automake/multilib.am |
---|
| 8 | include $(top_srcdir)/../automake/compile.am |
---|
| 9 | include $(top_srcdir)/../automake/lib.am |
---|
[9909f34c] | 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 = \ |
---|
[ef73563f] | 20 | include/rtems/bdbuf.h include/rtems/blkdev.h \ |
---|
| 21 | include/rtems/diskdevs.h include/rtems/ramdisk.h |
---|
[9909f34c] | 22 | |
---|
| 23 | PREINSTALL_FILES = $(PROJECT_INCLUDE)/rtems \ |
---|
| 24 | $(include_rtems_HEADERS:include/%=$(PROJECT_INCLUDE)/%) |
---|
| 25 | |
---|
[c321496] | 26 | LIB = ${ARCH}/libblock.a |
---|
[9909f34c] | 27 | |
---|
[c321496] | 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) |
---|
[e51bd96] | 44 | |
---|
[6e183f1] | 45 | include $(top_srcdir)/../automake/local.am |
---|
Note: See
TracBrowser
for help on using the repository browser.