summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/hppa1.1/semaphore
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-09 02:32:37 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-09 02:32:37 +0000
commit9af31a6e92b51e5dbaa3d6212b607828e506ef85 (patch)
treebca9978af008bfe196e98c68b2e849daa7875bd9 /c/src/lib/libcpu/hppa1.1/semaphore
parentRemoved runway directory and moved contents to include. (diff)
downloadrtems-9af31a6e92b51e5dbaa3d6212b607828e506ef85.tar.bz2
Moved include files to hppa1.1 subdirectory and put their sources
in the include directory.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libcpu/hppa1.1/include/semaphore.h (renamed from c/src/lib/libcpu/hppa1.1/semaphore/semaphore.h)4
-rw-r--r--c/src/lib/libcpu/hppa1.1/semaphore/Makefile.in5
-rw-r--r--c/src/lib/libcpu/hppa1.1/semaphore/semaphore.c2
3 files changed, 5 insertions, 6 deletions
diff --git a/c/src/lib/libcpu/hppa1.1/semaphore/semaphore.h b/c/src/lib/libcpu/hppa1.1/include/semaphore.h
index 0ff4d13767..a1ef1f6ebe 100644
--- a/c/src/lib/libcpu/hppa1.1/semaphore/semaphore.h
+++ b/c/src/lib/libcpu/hppa1.1/include/semaphore.h
@@ -14,8 +14,8 @@
* $Id$
*/
-#ifndef _INCLUDE_SEMAPHORE_H
-#define _INCLUDE_SEMAPHORE_H
+#ifndef _INCLUDE_HPPA1_1_SEMAPHORE_H
+#define _INCLUDE_HPPA1_1_SEMAPHORE_H
#ifdef __cplusplus
extern "C" {
diff --git a/c/src/lib/libcpu/hppa1.1/semaphore/Makefile.in b/c/src/lib/libcpu/hppa1.1/semaphore/Makefile.in
index dd2c2f22b1..794de08314 100644
--- a/c/src/lib/libcpu/hppa1.1/semaphore/Makefile.in
+++ b/c/src/lib/libcpu/hppa1.1/semaphore/Makefile.in
@@ -20,7 +20,7 @@ C_PIECES = semaphore
C_FILES = $(C_PIECES:%=%.c)
C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
-H_PIECES = semaphore
+H_PIECES =
H_FILES = $(H_PIECES:%=$(srcdir)/%.h)
# Assembly source names, if any, go here -- minus the .S
@@ -37,7 +37,7 @@ include $(RTEMS_ROOT)/make/leaf.cfg
INSTALL_CHANGE = @INSTALL_CHANGE@
mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
-INSTALLDIRS = $(PROJECT_INCLUDE)
+INSTALLDIRS = $(PROJECT_INCLUDE)/hppa1.1
$(INSTALLDIRS):
@$(mkinstalldirs) $(INSTALLDIRS)
@@ -63,7 +63,6 @@ ${PGM}: ${SRCS} ${OBJS}
$(make-rel)
all: ${ARCH} $(SRCS) $(PGM)
- @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) \
diff --git a/c/src/lib/libcpu/hppa1.1/semaphore/semaphore.c b/c/src/lib/libcpu/hppa1.1/semaphore/semaphore.c
index 011827dc75..d2d577a180 100644
--- a/c/src/lib/libcpu/hppa1.1/semaphore/semaphore.c
+++ b/c/src/lib/libcpu/hppa1.1/semaphore/semaphore.c
@@ -18,7 +18,7 @@
#include <rtems.h>
-#include "semaphore.h"
+#include <hppa1.1/semaphore.h>
/*
* Report fatal semaphore error