summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/preinstall.am
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2008-02-18 17:45:41 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2008-02-18 17:45:41 +0000
commit7597fbf00c4438ab04bf1edfa886ac1d1cfea759 (patch)
tree77b626f768b1067588515280c339f13d1b0b356e /cpukit/posix/preinstall.am
parentThis commit was generated by cvs2svn to compensate for changes in r16912, (diff)
downloadrtems-7597fbf00c4438ab04bf1edfa886ac1d1cfea759.tar.bz2
Revert Joel's 2008-01-31 screw up.
Diffstat (limited to 'cpukit/posix/preinstall.am')
-rw-r--r--cpukit/posix/preinstall.am16
1 files changed, 15 insertions, 1 deletions
diff --git a/cpukit/posix/preinstall.am b/cpukit/posix/preinstall.am
index eae3fa7ab7..1c484fbf8b 100644
--- a/cpukit/posix/preinstall.am
+++ b/cpukit/posix/preinstall.am
@@ -8,10 +8,20 @@ endif
PREINSTALL_DIRS =
DISTCLEANFILES = $(PREINSTALL_DIRS)
+all-local: $(TMPINSTALL_FILES)
+
+TMPINSTALL_FILES =
+CLEANFILES = $(TMPINSTALL_FILES)
+
all-am: $(PREINSTALL_FILES)
PREINSTALL_FILES =
-CLEANFILES = $(PREINSTALL_FILES)
+CLEANFILES += $(PREINSTALL_FILES)
+
+$(PROJECT_LIB)/$(dirstamp):
+ @$(MKDIR_P) $(PROJECT_LIB)
+ @: > $(PROJECT_LIB)/$(dirstamp)
+PREINSTALL_DIRS += $(PROJECT_LIB)/$(dirstamp)
$(PROJECT_INCLUDE)/$(dirstamp):
@$(MKDIR_P) $(PROJECT_INCLUDE)
@@ -19,6 +29,10 @@ $(PROJECT_INCLUDE)/$(dirstamp):
PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp)
if LIBPOSIX
+$(PROJECT_LIB)/libposix.a: libposix.a $(PROJECT_LIB)/$(dirstamp)
+ $(INSTALL_DATA) $< $(PROJECT_LIB)/libposix.a
+TMPINSTALL_FILES += $(PROJECT_LIB)/libposix.a
+
if HAS_PTHREADS
$(PROJECT_INCLUDE)/sched.h: include/sched.h $(PROJECT_INCLUDE)/$(dirstamp)
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sched.h