source: rtems/cpukit/libblock/Makefile.am @ 35afb17

4.104.114.84.95
Last change on this file since 35afb17 was 35afb17, checked in by Ralf Corsepius <ralf.corsepius@…>, on Apr 9, 2004 at 2:22:39 AM

2004-04-09 Ralf Corsepius <ralf_corsepius@…>

  • libblock/Makefile.am: Remove LIBC_DEFINES (Unsupported).
  • libfs/Makefile.am: Remove LIBC_DEFINES (Unsupported).
  • Property mode set to 100644
File size: 2.1 KB
Line 
1##
2## $Id$
3##
4
5include $(top_srcdir)/automake/multilib.am
6include $(top_srcdir)/automake/compile.am
7
8AM_CPPFLAGS += -I$(top_builddir)
9
10include_rtemsdir = $(includedir)/rtems
11
12EXTRA_LIBRARIES = libblock.a
13CLEANFILES = libblock.a
14libblock_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
15
16EXTRA_LIBRARIES += libblock_g.a
17CLEANFILES += libblock_g.a
18libblock_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
19
20include_rtems_HEADERS = include/rtems/bdbuf.h include/rtems/blkdev.h \
21    include/rtems/diskdevs.h include/rtems/ramdisk.h \
22    include/rtems/ide_part_table.h
23
24libblock_a_SOURCES = src/bdbuf.c src/blkdev.c src/diskdevs.c src/ramdisk.c \
25    src/ide_part_table.c
26
27libblock_g_a_SOURCES = $(libblock_a_SOURCES)
28
29all-local: $(PREINSTALL_FILES) libblock$(LIB_VARIANT).a
30
31PREINSTALL_DIRS =
32PREINSTALL_FILES =
33
34$(PROJECT_INCLUDE)/rtems/$(dirstamp):
35        @$(mkdir_p) $(PROJECT_INCLUDE)/rtems
36        @: > $(PROJECT_INCLUDE)/rtems/$(dirstamp)
37PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/$(dirstamp)
38
39$(PROJECT_INCLUDE)/rtems/bdbuf.h: include/rtems/bdbuf.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
40        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/bdbuf.h
41PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/bdbuf.h
42
43$(PROJECT_INCLUDE)/rtems/blkdev.h: include/rtems/blkdev.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
44        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/blkdev.h
45PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/blkdev.h
46
47$(PROJECT_INCLUDE)/rtems/diskdevs.h: include/rtems/diskdevs.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
48        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/diskdevs.h
49PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/diskdevs.h
50
51$(PROJECT_INCLUDE)/rtems/ramdisk.h: include/rtems/ramdisk.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
52        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/ramdisk.h
53PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/ramdisk.h
54
55$(PROJECT_INCLUDE)/rtems/ide_part_table.h: include/rtems/ide_part_table.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
56        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/ide_part_table.h
57PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/ide_part_table.h
58
59CLEANFILES += $(PREINSTALL_FILES)
60DISTCLEANFILES = $(PREINSTALL_DIRS)
61
62include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.