From f6f3cd59a9cedc552b55757a991cbb295360d8c9 Mon Sep 17 00:00:00 2001 From: Nathan Scott Date: Wed, 22 Feb 2006 02:53:46 +0000 Subject: attr package build updates for the GNU/Hurd (reported via Debian). Merge of master-melb:xfs-cmds:25261a by kenmcd. --- libattr/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'libattr') 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) -- cgit v1.2.3