summaryrefslogtreecommitdiff
path: root/buildlib/makefile.in
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:55:27 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:55:27 +0000
commit101030ab14d60497fcba5b1c2866d52fc5ac4780 (patch)
treeac6ecefeeeef51c4e7fa80577c6af064060174c3 /buildlib/makefile.in
parentabb9b874c5d1573a42c8c5519a38ac0575ef77ba (diff)
More Solaris fixes
Author: jgg Date: 1999-12-10 06:30:42 GMT More Solaris fixes
Diffstat (limited to 'buildlib/makefile.in')
-rw-r--r--buildlib/makefile.in9
1 files changed, 8 insertions, 1 deletions
diff --git a/buildlib/makefile.in b/buildlib/makefile.in
index dbcc91cd6..677aee4d3 100644
--- a/buildlib/makefile.in
+++ b/buildlib/makefile.in
@@ -31,13 +31,20 @@ maintainer-clean dist-clean pristine sanity distclean:
.PHONY: dirs
MISSING_DIRS:= $(filter-out $(wildcard $(SUBDIRS)),$(SUBDIRS))
dirs:
+ @rm -f include/sys
ifneq ($(words $(MISSING_DIRS)),0)
@mkdir $(MISSING_DIRS)
else
@echo > /dev/null
endif
ifeq ($(HAVE_C9X),yes)
- -@rm include/inttypes.h > /dev/null 2>&1
+ @rm -f include/inttypes.h > /dev/null 2>&1
else
@cp $(SRCDIR)/buildlib/inttypes.h.in include/inttypes.h
endif
+ifeq ($(HAVE_STATVFS),yes)
+ @rm -f include/statvfs.h > /dev/null 2>&1
+else
+ @cp $(SRCDIR)/buildlib/statvfs.h.in include/statvfs.h
+ ln -sf . include/sys
+endif