source: rtems/cpukit/libblock/Makefile.am @ bceb652f

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

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

  • libblock/Makefile.am: Build libblock for !UNIX only.
  • libcsupport/Makefile.am: Build $(TERMIOS_C_FILES) for !UNIX only.
  • Property mode set to 100644
File size: 2.2 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
10CLEANFILES =
11
12if !UNIX
13include_rtemsdir = $(includedir)/rtems
14
15EXTRA_LIBRARIES = libblock.a
16CLEANFILES += libblock.a
17libblock_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
18
19EXTRA_LIBRARIES += libblock_g.a
20CLEANFILES += libblock_g.a
21libblock_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
22
23include_rtems_HEADERS = include/rtems/bdbuf.h include/rtems/blkdev.h \
24    include/rtems/diskdevs.h include/rtems/ramdisk.h \
25    include/rtems/ide_part_table.h
26
27libblock_a_SOURCES = src/bdbuf.c src/blkdev.c src/diskdevs.c src/ramdisk.c \
28    src/ide_part_table.c
29
30libblock_g_a_SOURCES = $(libblock_a_SOURCES)
31
32all-local: $(PREINSTALL_FILES) libblock$(LIB_VARIANT).a
33endif
34
35PREINSTALL_DIRS =
36PREINSTALL_FILES =
37
38if !UNIX
39$(PROJECT_INCLUDE)/rtems/$(dirstamp):
40        @$(mkdir_p) $(PROJECT_INCLUDE)/rtems
41        @: > $(PROJECT_INCLUDE)/rtems/$(dirstamp)
42PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/$(dirstamp)
43
44$(PROJECT_INCLUDE)/rtems/bdbuf.h: include/rtems/bdbuf.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
45        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/bdbuf.h
46PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/bdbuf.h
47
48$(PROJECT_INCLUDE)/rtems/blkdev.h: include/rtems/blkdev.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
49        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/blkdev.h
50PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/blkdev.h
51
52$(PROJECT_INCLUDE)/rtems/diskdevs.h: include/rtems/diskdevs.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
53        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/diskdevs.h
54PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/diskdevs.h
55
56$(PROJECT_INCLUDE)/rtems/ramdisk.h: include/rtems/ramdisk.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
57        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/ramdisk.h
58PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/ramdisk.h
59
60$(PROJECT_INCLUDE)/rtems/ide_part_table.h: include/rtems/ide_part_table.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
61        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/ide_part_table.h
62PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/ide_part_table.h
63endif
64
65CLEANFILES += $(PREINSTALL_FILES)
66DISTCLEANFILES = $(PREINSTALL_DIRS)
67
68include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.