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

4.104.114.84.95
Last change on this file since f26145b was 05b37c50, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jan 28, 2005 at 2:32:38 AM

2005-01-28 Ralf Corsepius <ralf.corsepius@…>

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