[BACK]Return to Makefile CVS log [TXT][DIR] Up to [Development] / xfs-cmds / attr / libattr

File: [Development] / xfs-cmds / attr / libattr / Makefile (download)

Revision 1.16, Wed Jun 13 16:04:54 2007 UTC (10 years, 4 months ago) by bnaujok.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.15: +1 -1 lines

LTLDFLAGS set in environment are overwritten, but they shouldn't be.
Merge of master-melb:xfs-cmds:28906a by kenmcd.

  LTLDFLAGS set in environment are overwritten, but they shouldn't be.

#
# Copyright (c) 2000-2002 Silicon Graphics, Inc.  All Rights Reserved.
#

TOPDIR = ..

LTLDFLAGS += -Wl,--version-script,$(TOPDIR)/exports
include $(TOPDIR)/include/builddefs

LTLIBRARY = libattr.la
LT_CURRENT = 2
LT_REVISION = 0
LT_AGE = 1

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)

include $(BUILDRULES)

install:

install-lib: default
	$(INSTALL_LTLIB)

install-dev: default
	$(INSTALL_LTLIB_DEV)