mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 23:23:13 +00:00
2005-02-08 Ralf Corsepius <ralf.corsepius@rtems.org>
* configure.ac: Add new header guard to cpuopts.h. * Makefile.am: Add libfs, libblock, ftpd header install rules. * libfs/Makefile.am, libblock/Makefile.am, ftpd/Makefile.am: Remove header install rules.
This commit is contained in:
@@ -1,3 +1,10 @@
|
|||||||
|
2005-02-08 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
|
* configure.ac: Add new header guard to cpuopts.h.
|
||||||
|
* Makefile.am: Add libfs, libblock, ftpd header install rules.
|
||||||
|
* libfs/Makefile.am, libblock/Makefile.am, ftpd/Makefile.am: Remove
|
||||||
|
header install rules.
|
||||||
|
|
||||||
2005-02-08 Ralf Corsepius <ralf.corsepius@rtems.org>
|
2005-02-08 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* aclocal/rtems-top.m4 (rtems_updir): Quote sed args.
|
* aclocal/rtems-top.m4 (rtems_updir): Quote sed args.
|
||||||
|
|||||||
@@ -71,6 +71,26 @@ include_rtems_HEADERS = include/rtems/bspIo.h include/rtems/userenv.h \
|
|||||||
include/rtems/fs.h include/rtems/pci.h include/rtems/stdint.h \
|
include/rtems/fs.h include/rtems/pci.h include/rtems/stdint.h \
|
||||||
include/rtems/concat.h include/rtems/tar.h
|
include/rtems/concat.h include/rtems/tar.h
|
||||||
|
|
||||||
|
## libfs
|
||||||
|
include_rtems_HEADERS += libfs/src/imfs/imfs.h
|
||||||
|
|
||||||
|
if !UNIX
|
||||||
|
include_rtems_HEADERS += libfs/src/dosfs/dosfs.h
|
||||||
|
endif
|
||||||
|
|
||||||
|
## libblock
|
||||||
|
if !UNIX
|
||||||
|
include_rtems_HEADERS += libblock/include/rtems/bdbuf.h \
|
||||||
|
libblock/include/rtems/blkdev.h libblock/include/rtems/diskdevs.h \
|
||||||
|
libblock/include/rtems/ramdisk.h \
|
||||||
|
libblock/include/rtems/ide_part_table.h
|
||||||
|
endif
|
||||||
|
|
||||||
|
## ftpd
|
||||||
|
if HAS_NETWORKING
|
||||||
|
include_rtems_HEADERS += ftpd/ftpd.h
|
||||||
|
endif
|
||||||
|
|
||||||
## capture
|
## capture
|
||||||
include_rtems_HEADERS += libmisc/capture/capture.h \
|
include_rtems_HEADERS += libmisc/capture/capture.h \
|
||||||
libmisc/capture/capture-cli.h
|
libmisc/capture/capture-cli.h
|
||||||
@@ -304,6 +324,44 @@ $(PROJECT_INCLUDE)/rtems/tar.h: include/rtems/tar.h $(PROJECT_INCLUDE)/rtems/$(d
|
|||||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/tar.h
|
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/tar.h
|
||||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/tar.h
|
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/tar.h
|
||||||
|
|
||||||
|
$(PROJECT_INCLUDE)/rtems/imfs.h: libfs/src/imfs/imfs.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
|
||||||
|
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/imfs.h
|
||||||
|
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/imfs.h
|
||||||
|
|
||||||
|
if !UNIX
|
||||||
|
$(PROJECT_INCLUDE)/rtems/dosfs.h: libfs/src/dosfs/dosfs.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
|
||||||
|
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/dosfs.h
|
||||||
|
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/dosfs.h
|
||||||
|
endif
|
||||||
|
|
||||||
|
if !UNIX
|
||||||
|
$(PROJECT_INCLUDE)/rtems/bdbuf.h: libblock/include/rtems/bdbuf.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
|
||||||
|
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/bdbuf.h
|
||||||
|
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/bdbuf.h
|
||||||
|
|
||||||
|
$(PROJECT_INCLUDE)/rtems/blkdev.h: libblock/include/rtems/blkdev.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
|
||||||
|
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/blkdev.h
|
||||||
|
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/blkdev.h
|
||||||
|
|
||||||
|
$(PROJECT_INCLUDE)/rtems/diskdevs.h: libblock/include/rtems/diskdevs.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
|
||||||
|
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/diskdevs.h
|
||||||
|
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/diskdevs.h
|
||||||
|
|
||||||
|
$(PROJECT_INCLUDE)/rtems/ramdisk.h: libblock/include/rtems/ramdisk.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
|
||||||
|
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/ramdisk.h
|
||||||
|
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/ramdisk.h
|
||||||
|
|
||||||
|
$(PROJECT_INCLUDE)/rtems/ide_part_table.h: libblock/include/rtems/ide_part_table.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
|
||||||
|
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/ide_part_table.h
|
||||||
|
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/ide_part_table.h
|
||||||
|
endif
|
||||||
|
|
||||||
|
if HAS_NETWORKING
|
||||||
|
$(PROJECT_INCLUDE)/rtems/ftpd.h: ftpd/ftpd.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
|
||||||
|
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/ftpd.h
|
||||||
|
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/ftpd.h
|
||||||
|
endif
|
||||||
|
|
||||||
$(PROJECT_INCLUDE)/rtems/capture.h: libmisc/capture/capture.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
|
$(PROJECT_INCLUDE)/rtems/capture.h: libmisc/capture/capture.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
|
||||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/capture.h
|
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/capture.h
|
||||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/capture.h
|
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/capture.h
|
||||||
|
|||||||
@@ -132,8 +132,8 @@ cat >>cpuopts.tmp <<\_ACEOF
|
|||||||
*/
|
*/
|
||||||
/* target cpu dependent options file */
|
/* target cpu dependent options file */
|
||||||
/* automatically generated -- DO NOT EDIT!! */
|
/* automatically generated -- DO NOT EDIT!! */
|
||||||
#ifndef __CPU_OPTIONS_h
|
#ifndef _CPU_OPTIONS_H
|
||||||
#define __CPU_OPTIONS_h
|
#define _CPU_OPTIONS_H
|
||||||
_ACEOF
|
_ACEOF
|
||||||
|
|
||||||
RTEMS_CPUOPT([RTEMS_DEBUG],
|
RTEMS_CPUOPT([RTEMS_DEBUG],
|
||||||
|
|||||||
@@ -5,18 +5,12 @@
|
|||||||
include $(top_srcdir)/automake/compile.am
|
include $(top_srcdir)/automake/compile.am
|
||||||
|
|
||||||
if HAS_NETWORKING
|
if HAS_NETWORKING
|
||||||
include_rtemsdir = $(includedir)/rtems
|
|
||||||
include_rtems_HEADERS = ftpd.h
|
|
||||||
|
|
||||||
project_lib_LIBRARIES = libftpd.a
|
project_lib_LIBRARIES = libftpd.a
|
||||||
libftpd_a_SOURCES = ftpd.c ftpd.h
|
libftpd_a_SOURCES = ftpd.c ftpd.h
|
||||||
libftpd_a_CPPFLAGS = $(AM_CPPFLAGS)
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
all-local: $(PREINSTALL_FILES)
|
all-local: $(PREINSTALL_FILES)
|
||||||
|
|
||||||
PREINSTALL_DIRS =
|
|
||||||
PREINSTALL_FILES =
|
|
||||||
TMPINSTALL_FILES =
|
TMPINSTALL_FILES =
|
||||||
|
|
||||||
$(PROJECT_LIB)/$(dirstamp):
|
$(PROJECT_LIB)/$(dirstamp):
|
||||||
@@ -25,22 +19,11 @@ $(PROJECT_LIB)/$(dirstamp):
|
|||||||
TMPINSTALL_FILES += $(PROJECT_LIB)/$(dirstamp)
|
TMPINSTALL_FILES += $(PROJECT_LIB)/$(dirstamp)
|
||||||
|
|
||||||
if HAS_NETWORKING
|
if HAS_NETWORKING
|
||||||
$(PROJECT_INCLUDE)/rtems/$(dirstamp):
|
|
||||||
@$(mkdir_p) $(PROJECT_INCLUDE)/rtems
|
|
||||||
@: > $(PROJECT_INCLUDE)/rtems/$(dirstamp)
|
|
||||||
PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/$(dirstamp)
|
|
||||||
|
|
||||||
$(PROJECT_INCLUDE)/rtems/ftpd.h: ftpd.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
|
|
||||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/ftpd.h
|
|
||||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/ftpd.h
|
|
||||||
|
|
||||||
$(PROJECT_LIB)/libftpd.a: libftpd.a $(PROJECT_LIB)/$(dirstamp)
|
$(PROJECT_LIB)/libftpd.a: libftpd.a $(PROJECT_LIB)/$(dirstamp)
|
||||||
$(INSTALL_DATA) $< $(PROJECT_LIB)/libftpd.a
|
$(INSTALL_DATA) $< $(PROJECT_LIB)/libftpd.a
|
||||||
TMPINSTALL_FILES += $(PROJECT_LIB)/libftpd.a
|
TMPINSTALL_FILES += $(PROJECT_LIB)/libftpd.a
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CLEANFILES = $(PREINSTALL_FILES)
|
CLEANFILES = $(TMPINSTALL_FILES)
|
||||||
DISTCLEANFILES = $(PREINSTALL_DIRS)
|
|
||||||
CLEANFILES += $(TMPINSTALL_FILES)
|
|
||||||
|
|
||||||
include $(top_srcdir)/automake/local.am
|
include $(top_srcdir)/automake/local.am
|
||||||
|
|||||||
@@ -5,55 +5,14 @@
|
|||||||
include $(top_srcdir)/automake/multilib.am
|
include $(top_srcdir)/automake/multilib.am
|
||||||
include $(top_srcdir)/automake/compile.am
|
include $(top_srcdir)/automake/compile.am
|
||||||
|
|
||||||
CLEANFILES =
|
|
||||||
|
|
||||||
if !UNIX
|
if !UNIX
|
||||||
include_rtemsdir = $(includedir)/rtems
|
|
||||||
|
|
||||||
noinst_LIBRARIES = libblock.a
|
noinst_LIBRARIES = libblock.a
|
||||||
libblock_a_CPPFLAGS = $(AM_CPPFLAGS)
|
libblock_a_SOURCES = src/bdbuf.c src/blkdev.c src/diskdevs.c src/ramdisk.c \
|
||||||
|
src/ide_part_table.c include/rtems/bdbuf.h include/rtems/blkdev.h \
|
||||||
include_rtems_HEADERS = include/rtems/bdbuf.h include/rtems/blkdev.h \
|
|
||||||
include/rtems/diskdevs.h include/rtems/ramdisk.h \
|
include/rtems/diskdevs.h include/rtems/ramdisk.h \
|
||||||
include/rtems/ide_part_table.h
|
include/rtems/ide_part_table.h
|
||||||
|
|
||||||
libblock_a_SOURCES = src/bdbuf.c src/blkdev.c src/diskdevs.c src/ramdisk.c \
|
|
||||||
src/ide_part_table.c
|
|
||||||
|
|
||||||
all-local: $(PREINSTALL_FILES)
|
all-local: $(PREINSTALL_FILES)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
PREINSTALL_DIRS =
|
|
||||||
PREINSTALL_FILES =
|
|
||||||
|
|
||||||
if !UNIX
|
|
||||||
$(PROJECT_INCLUDE)/rtems/$(dirstamp):
|
|
||||||
@$(mkdir_p) $(PROJECT_INCLUDE)/rtems
|
|
||||||
@: > $(PROJECT_INCLUDE)/rtems/$(dirstamp)
|
|
||||||
PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/$(dirstamp)
|
|
||||||
|
|
||||||
$(PROJECT_INCLUDE)/rtems/bdbuf.h: include/rtems/bdbuf.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
|
|
||||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/bdbuf.h
|
|
||||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/bdbuf.h
|
|
||||||
|
|
||||||
$(PROJECT_INCLUDE)/rtems/blkdev.h: include/rtems/blkdev.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
|
|
||||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/blkdev.h
|
|
||||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/blkdev.h
|
|
||||||
|
|
||||||
$(PROJECT_INCLUDE)/rtems/diskdevs.h: include/rtems/diskdevs.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
|
|
||||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/diskdevs.h
|
|
||||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/diskdevs.h
|
|
||||||
|
|
||||||
$(PROJECT_INCLUDE)/rtems/ramdisk.h: include/rtems/ramdisk.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
|
|
||||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/ramdisk.h
|
|
||||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/ramdisk.h
|
|
||||||
|
|
||||||
$(PROJECT_INCLUDE)/rtems/ide_part_table.h: include/rtems/ide_part_table.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
|
|
||||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/ide_part_table.h
|
|
||||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/ide_part_table.h
|
|
||||||
endif
|
|
||||||
|
|
||||||
CLEANFILES += $(PREINSTALL_FILES)
|
|
||||||
DISTCLEANFILES = $(PREINSTALL_DIRS)
|
|
||||||
|
|
||||||
include $(top_srcdir)/automake/local.am
|
include $(top_srcdir)/automake/local.am
|
||||||
|
|||||||
@@ -7,11 +7,7 @@ include $(top_srcdir)/automake/compile.am
|
|||||||
|
|
||||||
EXTRA_DIST = README
|
EXTRA_DIST = README
|
||||||
|
|
||||||
include_rtemsdir = $(includedir)/rtems
|
|
||||||
include_rtems_HEADERS =
|
|
||||||
|
|
||||||
noinst_LIBRARIES = libimfs.a
|
noinst_LIBRARIES = libimfs.a
|
||||||
libimfs_a_CPPFLAGS = $(AM_CPPFLAGS)
|
|
||||||
|
|
||||||
libimfs_a_SOURCES =
|
libimfs_a_SOURCES =
|
||||||
|
|
||||||
@@ -30,16 +26,14 @@ libimfs_a_SOURCES += src/imfs/imfs_chown.c src/imfs/imfs_config.c \
|
|||||||
src/imfs/imfs_handlers_link.c src/imfs/imfs_handlers_memfile.c \
|
src/imfs/imfs_handlers_link.c src/imfs/imfs_handlers_memfile.c \
|
||||||
src/imfs/imfs_debug.c src/imfs/imfs_rmnod.c src/imfs/imfs_symlink.c \
|
src/imfs/imfs_debug.c src/imfs/imfs_rmnod.c src/imfs/imfs_symlink.c \
|
||||||
src/imfs/imfs_readlink.c src/imfs/imfs_fdatasync.c src/imfs/imfs_fcntl.c \
|
src/imfs/imfs_readlink.c src/imfs/imfs_fdatasync.c src/imfs/imfs_fcntl.c \
|
||||||
src/imfs/ioman.c src/imfs/miniimfs_init.c src/imfs/imfs_load_tar.c
|
src/imfs/ioman.c src/imfs/miniimfs_init.c src/imfs/imfs_load_tar.c \
|
||||||
|
src/imfs/imfs.h
|
||||||
endif
|
endif
|
||||||
|
|
||||||
include_rtems_HEADERS += src/imfs/imfs.h
|
|
||||||
|
|
||||||
# dosfs
|
# dosfs
|
||||||
|
|
||||||
if !UNIX
|
if !UNIX
|
||||||
noinst_LIBRARIES += libdosfs.a
|
noinst_LIBRARIES += libdosfs.a
|
||||||
libdosfs_a_CPPFLAGS = $(AM_CPPFLAGS)
|
|
||||||
|
|
||||||
# libdosfs_FATFS_C_FILES
|
# libdosfs_FATFS_C_FILES
|
||||||
libdosfs_a_SOURCES = src/dosfs/fat.c src/dosfs/fat.h \
|
libdosfs_a_SOURCES = src/dosfs/fat.c src/dosfs/fat.h \
|
||||||
@@ -53,36 +47,12 @@ libdosfs_a_SOURCES += src/dosfs/msdos_create.c src/dosfs/msdos_dir.c \
|
|||||||
src/dosfs/msdos_handlers_file.c src/dosfs/msdos_init.c \
|
src/dosfs/msdos_handlers_file.c src/dosfs/msdos_init.c \
|
||||||
src/dosfs/msdos_initsupp.c src/dosfs/msdos_misc.c \
|
src/dosfs/msdos_initsupp.c src/dosfs/msdos_misc.c \
|
||||||
src/dosfs/msdos_mknod.c src/dosfs/msdos_node_type.c \
|
src/dosfs/msdos_mknod.c src/dosfs/msdos_node_type.c \
|
||||||
src/dosfs/msdos_conv.c src/dosfs/msdos.h src/dosfs/msdos_format.c
|
src/dosfs/msdos_conv.c src/dosfs/msdos.h src/dosfs/msdos_format.c \
|
||||||
|
src/dosfs/dosfs.h
|
||||||
include_rtems_HEADERS += src/dosfs/dosfs.h
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
EXTRA_DIST += $(UNUSED_FILES)
|
|
||||||
|
|
||||||
all-local: $(PREINSTALL_FILES)
|
all-local: $(PREINSTALL_FILES)
|
||||||
|
|
||||||
# ---
|
# ---
|
||||||
|
|
||||||
PREINSTALL_DIRS =
|
|
||||||
PREINSTALL_FILES =
|
|
||||||
|
|
||||||
$(PROJECT_INCLUDE)/rtems/$(dirstamp):
|
|
||||||
@$(mkdir_p) $(PROJECT_INCLUDE)/rtems
|
|
||||||
@: > $(PROJECT_INCLUDE)/rtems/$(dirstamp)
|
|
||||||
PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/$(dirstamp)
|
|
||||||
|
|
||||||
$(PROJECT_INCLUDE)/rtems/imfs.h: src/imfs/imfs.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
|
|
||||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/imfs.h
|
|
||||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/imfs.h
|
|
||||||
|
|
||||||
if !UNIX
|
|
||||||
$(PROJECT_INCLUDE)/rtems/dosfs.h: src/dosfs/dosfs.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
|
|
||||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/dosfs.h
|
|
||||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/dosfs.h
|
|
||||||
endif
|
|
||||||
|
|
||||||
CLEANFILES = $(PREINSTALL_FILES)
|
|
||||||
DISTCLEANFILES = $(PREINSTALL_DIRS)
|
|
||||||
|
|
||||||
include $(top_srcdir)/automake/local.am
|
include $(top_srcdir)/automake/local.am
|
||||||
|
|||||||
Reference in New Issue
Block a user