diff options
author | Nathan Scott <nathans@sgi.com> | 2002-02-25 22:41:02 +0000 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2002-02-25 22:41:02 +0000 |
commit | de366b9e522ee084a318aaca25c3dd916b5114db (patch) | |
tree | 1c5e6e9a58a4906abb733e413d7a9a11cfd1c8ee /include | |
parent | 27204a8361ff975ddf3a60b95cc24f4e5ec7bed8 (diff) | |
download | attr-de366b9e522ee084a318aaca25c3dd916b5114db.tar.gz |
Merge of xfs-cmds-2.4.18:slinx:112273a by nathans.
sync up with patch from AndreasG, mainly creates libattr.rpm/deb.
Diffstat (limited to 'include')
-rw-r--r-- | include/Makefile | 7 | ||||
-rw-r--r-- | include/builddefs.in | 6 | ||||
-rw-r--r-- | include/xattr.h | 2 |
3 files changed, 10 insertions, 5 deletions
diff --git a/include/Makefile b/include/Makefile index ef299b7..5c1c348 100644 --- a/include/Makefile +++ b/include/Makefile @@ -33,13 +33,18 @@ TOPDIR = .. include $(TOPDIR)/include/builddefs +INCDIR = attr HFILES = attributes.h xattr.h LSRCFILES = builddefs.in buildrules +LDIRT = $(INCDIR) -default install : +default: + rm -f $(INCDIR) + $(LN_S) . $(INCDIR) include $(BUILDRULES) install-dev: default $(INSTALL) -m 755 -d $(PKG_INC_DIR) $(INSTALL) -m 644 $(HFILES) $(PKG_INC_DIR) +install install-lib: diff --git a/include/builddefs.in b/include/builddefs.in index 2dea423..1815762 100644 --- a/include/builddefs.in +++ b/include/builddefs.in @@ -83,9 +83,9 @@ BUILDRULES = $(TOPDIR)/include/buildrules # $(CXXFILES), or $(HFILES) and is used to construct the manifest list # during the "dist" phase (packaging). -CFLAGS += $(OPTIMIZER) $(DEBUG) -funsigned-char -Wall -D_GNU_SOURCE \ - $(LCFLAGS) -I$(TOPDIR)/include '-DVERSION="$(PKG_VERSION)"' \ - -D_FILE_OFFSET_BITS=64 +CFLAGS += $(OPTIMIZER) $(DEBUG) -funsigned-char -Wall -Wsign-compare \ + -D_GNU_SOURCE $(LCFLAGS) -I$(TOPDIR)/include \ + -DVERSION=\"$(PKG_VERSION)\" -D_FILE_OFFSET_BITS=64 LDFLAGS = $(LLDFLAGS) LDLIBS = $(LLDLIBS) $(MALLOCLIB) diff --git a/include/xattr.h b/include/xattr.h index c90be39..ee17360 100644 --- a/include/xattr.h +++ b/include/xattr.h @@ -37,7 +37,7 @@ #include <errno.h> #ifndef ENOATTR -# define ENOATTR ENODATA /* fallback value until real errno exists */ +# define ENOATTR ENODATA /* No such attribute */ #endif #define XATTR_CREATE 0x1 /* set value, fail if attr already exists */ |