summaryrefslogtreecommitdiff
path: root/libattr
diff options
context:
space:
mode:
authorNathan Scott <nathans@sgi.com>2006-02-22 02:53:46 +0000
committerNathan Scott <nathans@sgi.com>2006-02-22 02:53:46 +0000
commitf6f3cd59a9cedc552b55757a991cbb295360d8c9 (patch)
treef790c3b8fe6078e88fd0f1184a6344c486e02c87 /libattr
parent5a05b026b92d33d0babbc8c01cce11ded4c722b5 (diff)
downloadattr-f6f3cd59a9cedc552b55757a991cbb295360d8c9.tar.gz
attr package build updates for the GNU/Hurd (reported via Debian).
Merge of master-melb:xfs-cmds:25261a by kenmcd.
Diffstat (limited to 'libattr')
-rw-r--r--libattr/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/libattr/Makefile b/libattr/Makefile
index 9d44f7c..697040c 100644
--- a/libattr/Makefile
+++ b/libattr/Makefile
@@ -1,6 +1,5 @@
#
# Copyright (c) 2000-2002 Silicon Graphics, Inc. All Rights Reserved.
-# http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
#
TOPDIR = ..
@@ -13,9 +12,15 @@ LT_CURRENT = 2
LT_REVISION = 0
LT_AGE = 1
-CFILES = libattr.c syscalls.c attr_copy_fd.c attr_copy_file.c attr_copy_check.c
+CFILES = libattr.c attr_copy_fd.c attr_copy_file.c attr_copy_check.c
HFILES = libattr.h
+ifeq ($(PKG_PLATFORM),linux)
+CFILES += syscalls.c
+else
+LSRCFILES = syscalls.c
+endif
+
LCFLAGS = -include libattr.h
default: $(LTLIBRARY)