source:
rtems/cpukit/libblock/Makefile.am
@
05341d8
Last change on this file since 05341d8 was 05341d8, checked in by Joel Sherrill <joel.sherrill@…>, on 03/27/03 at 15:17:53 | |
---|---|
|
|
File size: 983 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 \ |
[bf71e25e] | 21 | include/rtems/diskdevs.h include/rtems/ramdisk.h \ |
22 | include/rtems/ide_part_table.h | |
[9909f34c] | 23 | |
24 | PREINSTALL_FILES = $(PROJECT_INCLUDE)/rtems \ | |
25 | $(include_rtems_HEADERS:include/%=$(PROJECT_INCLUDE)/%) | |
26 | ||
[c321496] | 27 | LIB = ${ARCH}/libblock.a |
[9909f34c] | 28 | |
[bf71e25e] | 29 | C_FILES = src/bdbuf.c src/blkdev.c src/diskdevs.c src/ramdisk.c\ |
[05341d8] | 30 | src/ide_part_table.c |
[bf71e25e] | 31 | |
[bb89189] | 32 | OBJS = $(C_FILES:src/%.c=${ARCH}/%.$(OBJEXT)) |
[c321496] | 33 | |
34 | AM_CFLAGS += $(LIBC_DEFINES) | |
35 | ||
36 | ${ARCH}/%.$(OBJEXT): src/%.c | |
37 | ${COMPILE} -o $@ -c $< | |
38 | ||
39 | $(LIB): ${OBJS} | |
40 | $(make-library) | |
41 | ||
42 | all-local: $(PREINSTALL_FILES) ${ARCH} $(LIB) | |
[e51bd96] | 43 | |
[6e183f1] | 44 | include $(top_srcdir)/../automake/local.am |
Note: See TracBrowser
for help on using the repository browser.