summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--c/src/exec/libcsupport/src/Makefile.am4
-rw-r--r--c/src/exec/libcsupport/src/fcntl.c1
-rw-r--r--c/src/exec/libcsupport/src/privateenv.c2
-rw-r--r--c/src/lib/ChangeLog6
-rw-r--r--c/src/lib/libc/Makefile.am4
-rw-r--r--c/src/lib/libc/fcntl.c1
-rw-r--r--c/src/lib/libc/privateenv.c2
-rw-r--r--cpukit/libcsupport/src/fcntl.c1
-rw-r--r--cpukit/libcsupport/src/privateenv.c2
9 files changed, 19 insertions, 4 deletions
diff --git a/c/src/exec/libcsupport/src/Makefile.am b/c/src/exec/libcsupport/src/Makefile.am
index 3c54ed4604..2f152e0cb2 100644
--- a/c/src/exec/libcsupport/src/Makefile.am
+++ b/c/src/exec/libcsupport/src/Makefile.am
@@ -62,7 +62,7 @@ include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../../../automake/compile.am
include $(top_srcdir)/../../../automake/lib.am
-TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a
+TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib$(MULTISUBDIR)/$(LIBNAME)$(LIB_VARIANT).a
OBJS = $(C_O_FILES)
@@ -77,7 +77,7 @@ all-local: ${ARCH} $(TMPINSTALL_FILES)
$(LIB): ${OBJS}
$(make-library)
-$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB)
+$(PROJECT_RELEASE)/lib$(MULTISUBDIR)/$(LIBNAME)$(LIB_VARIANT).a: $(LIB)
$(INSTALL_DATA) $< $@
DOC_FILES = TODO CASES
diff --git a/c/src/exec/libcsupport/src/fcntl.c b/c/src/exec/libcsupport/src/fcntl.c
index cd31374030..6c2aa1da11 100644
--- a/c/src/exec/libcsupport/src/fcntl.c
+++ b/c/src/exec/libcsupport/src/fcntl.c
@@ -15,6 +15,7 @@
#include "config.h"
#endif
+#include <stdarg.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
diff --git a/c/src/exec/libcsupport/src/privateenv.c b/c/src/exec/libcsupport/src/privateenv.c
index 7b1e5d1e8e..93dff453c5 100644
--- a/c/src/exec/libcsupport/src/privateenv.c
+++ b/c/src/exec/libcsupport/src/privateenv.c
@@ -17,6 +17,8 @@
#include "config.h"
#endif
+#include <stdlib.h> /* free */
+
#include <rtems.h>
#include <rtems/libio.h>
#include <rtems/libio_.h>
diff --git a/c/src/lib/ChangeLog b/c/src/lib/ChangeLog
index b4628c9f13..eb0fc82b29 100644
--- a/c/src/lib/ChangeLog
+++ b/c/src/lib/ChangeLog
@@ -1,3 +1,9 @@
+2002-02-05 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+
+ * libc/Makefile.am: Add MULTISUBDIR support.
+ * libc/fcntl.c: Add #include <stdarg.h>.
+ * libc/privateenv.c: Add #include <stdlib.h>.
+
2002-01-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/rtems/libio_.h: Remove set_errno_and_return_minus_one.
diff --git a/c/src/lib/libc/Makefile.am b/c/src/lib/libc/Makefile.am
index 3c54ed4604..2f152e0cb2 100644
--- a/c/src/lib/libc/Makefile.am
+++ b/c/src/lib/libc/Makefile.am
@@ -62,7 +62,7 @@ include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../../../automake/compile.am
include $(top_srcdir)/../../../automake/lib.am
-TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a
+TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib$(MULTISUBDIR)/$(LIBNAME)$(LIB_VARIANT).a
OBJS = $(C_O_FILES)
@@ -77,7 +77,7 @@ all-local: ${ARCH} $(TMPINSTALL_FILES)
$(LIB): ${OBJS}
$(make-library)
-$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB)
+$(PROJECT_RELEASE)/lib$(MULTISUBDIR)/$(LIBNAME)$(LIB_VARIANT).a: $(LIB)
$(INSTALL_DATA) $< $@
DOC_FILES = TODO CASES
diff --git a/c/src/lib/libc/fcntl.c b/c/src/lib/libc/fcntl.c
index cd31374030..6c2aa1da11 100644
--- a/c/src/lib/libc/fcntl.c
+++ b/c/src/lib/libc/fcntl.c
@@ -15,6 +15,7 @@
#include "config.h"
#endif
+#include <stdarg.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
diff --git a/c/src/lib/libc/privateenv.c b/c/src/lib/libc/privateenv.c
index 7b1e5d1e8e..93dff453c5 100644
--- a/c/src/lib/libc/privateenv.c
+++ b/c/src/lib/libc/privateenv.c
@@ -17,6 +17,8 @@
#include "config.h"
#endif
+#include <stdlib.h> /* free */
+
#include <rtems.h>
#include <rtems/libio.h>
#include <rtems/libio_.h>
diff --git a/cpukit/libcsupport/src/fcntl.c b/cpukit/libcsupport/src/fcntl.c
index cd31374030..6c2aa1da11 100644
--- a/cpukit/libcsupport/src/fcntl.c
+++ b/cpukit/libcsupport/src/fcntl.c
@@ -15,6 +15,7 @@
#include "config.h"
#endif
+#include <stdarg.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
diff --git a/cpukit/libcsupport/src/privateenv.c b/cpukit/libcsupport/src/privateenv.c
index 7b1e5d1e8e..93dff453c5 100644
--- a/cpukit/libcsupport/src/privateenv.c
+++ b/cpukit/libcsupport/src/privateenv.c
@@ -17,6 +17,8 @@
#include "config.h"
#endif
+#include <stdlib.h> /* free */
+
#include <rtems.h>
#include <rtems/libio.h>
#include <rtems/libio_.h>