From 2f4c86f83ee2c0c7cad9e1a14dd373a8bfb192fb Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Mon, 29 Mar 2004 12:43:20 +0000 Subject: 2004-03-29 Ralf Corsepius PR 561/rtems * include/rtems/concat.h: New. * Makefile.am: Add include/rtems/concat.h. PR/589 rtems * Makefile.am: Add include/rtems/pci.h. * Makefile.am: Include automake/compile.am. * configure.ac: RTEMS_TOP([..],[]). --- cpukit/ChangeLog | 12 ++++++++++++ cpukit/Makefile.am | 12 +++++++++++- cpukit/configure.ac | 2 +- cpukit/include/rtems/concat.h | 19 +++++++++++++++++++ 4 files changed, 43 insertions(+), 2 deletions(-) create mode 100644 cpukit/include/rtems/concat.h (limited to 'cpukit') diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 1d3d3bc2d1..62182a7ebb 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,15 @@ +2004-03-29 Ralf Corsepius + + PR 561/rtems + * include/rtems/concat.h: New. + * Makefile.am: Add include/rtems/concat.h. + + PR/589 rtems + * Makefile.am: Add include/rtems/pci.h. + + * Makefile.am: Include automake/compile.am. + * configure.ac: RTEMS_TOP([..],[]). + 2004-03-29 Ralf Corsepius * aclocal/rtems-top.m4: Add MULTISUBDIR. Add MULTIBUILDTOP. diff --git a/cpukit/Makefile.am b/cpukit/Makefile.am index 9d8527ddfb..53b276b2df 100644 --- a/cpukit/Makefile.am +++ b/cpukit/Makefile.am @@ -4,6 +4,7 @@ ACLOCAL_AMFLAGS = -I aclocal +include $(top_srcdir)/automake/compile.am include $(top_srcdir)/automake/multilib.am SUBDIRS = . ada score rtems sapi posix itron @@ -21,7 +22,8 @@ CLEANFILES = preinstall-stamp include_rtemsdir = $(includedir)/rtems include_rtems_HEADERS = include/rtems/bspIo.h include/rtems/userenv.h \ - include/rtems/fs.h include/rtems/stdint.h + include/rtems/fs.h include/rtems/pci.h include/rtems/stdint.h \ + include/rtems/concat.h PREINSTALL_DIRS = PREINSTALL_FILES = @@ -43,10 +45,18 @@ $(PROJECT_INCLUDE)/rtems/fs.h: include/rtems/fs.h $(PROJECT_INCLUDE)/rtems/$(dir $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/fs.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/fs.h +$(PROJECT_INCLUDE)/rtems/pci.h: include/rtems/pci.h $(PROJECT_INCLUDE)/rtems/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/pci.h +PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/pci.h + $(PROJECT_INCLUDE)/rtems/stdint.h: include/rtems/stdint.h $(PROJECT_INCLUDE)/rtems/$(dirstamp) $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/stdint.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/stdint.h +$(PROJECT_INCLUDE)/rtems/concat.h: include/rtems/concat.h $(PROJECT_INCLUDE)/rtems/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/concat.h +PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/concat.h + CLEANFILES += $(PREINSTALL_FILES) DISTCLEANFILES = $(PREINSTALL_DIRS) diff --git a/cpukit/configure.ac b/cpukit/configure.ac index a9e0db9040..67a24ad5fe 100644 --- a/cpukit/configure.ac +++ b/cpukit/configure.ac @@ -5,7 +5,7 @@ AC_PREREQ(2.59) AC_INIT([rtems-cpukit],[_RTEMS_VERSION],[rtems-bugs@rtems.com]) AC_CONFIG_SRCDIR([score]) -RTEMS_TOP([.]) +RTEMS_TOP([..],[]) RTEMS_CANONICAL_TARGET_CPU diff --git a/cpukit/include/rtems/concat.h b/cpukit/include/rtems/concat.h new file mode 100644 index 0000000000..df4a7a7b19 --- /dev/null +++ b/cpukit/include/rtems/concat.h @@ -0,0 +1,19 @@ +/* + * The license and distribution terms for this file may be + * found in found in the file LICENSE in this distribution or at + * http://www.rtems.com/license/LICENSE. + * + * $Id$ + */ + +#ifndef _rtems_concat_h +#define _rtems_concat_h + +/* ANSI concatenation macros. */ + +#define CONCAT1(a, b) CONCAT2(a, b) +#define CONCAT2(a, b) a ## b + +#define EXPAND0(x) x + +#endif -- cgit v1.2.3