]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blame - include/builddefs.in
Update man pages for xfs_io lsattr changes and inode flags.
[thirdparty/xfsprogs-dev.git] / include / builddefs.in
CommitLineData
2bd0ea18 1#
0bba1a49 2# Copyright (c) 2004 Silicon Graphics, Inc. All Rights Reserved.
dfc130f3 3#
2bd0ea18
NS
4# This program is free software; you can redistribute it and/or modify it
5# under the terms of version 2 of the GNU General Public License as
6# published by the Free Software Foundation.
dfc130f3 7#
2bd0ea18
NS
8# This program is distributed in the hope that it would be useful, but
9# WITHOUT ANY WARRANTY; without even the implied warranty of
10# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
dfc130f3 11#
2bd0ea18
NS
12# Further, this software is distributed without any warranty that it is
13# free of the rightful claim of any third person regarding infringement
14# or the like. Any license provided herein, whether implied or
15# otherwise, applies only to this software file. Patent licenses, if
16# any, provided herein do not apply to combinations of this program with
17# other software, or any other product whatsoever.
dfc130f3 18#
2bd0ea18
NS
19# You should have received a copy of the GNU General Public License along
20# with this program; if not, write the Free Software Foundation, Inc., 59
21# Temple Place - Suite 330, Boston MA 02111-1307, USA.
dfc130f3 22#
2bd0ea18
NS
23# Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy,
24# Mountain View, CA 94043, or:
dfc130f3
RC
25#
26# http://www.sgi.com
27#
28# For further information regarding this notice, see:
29#
2bd0ea18
NS
30# http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
31#
32# @configure_input@
33#
34
6c6508ec
NS
35ifndef _BUILDDEFS_INCLUDED_
36_BUILDDEFS_INCLUDED_ = 1
286ceebb 37
2bd0ea18
NS
38DEBUG = @debug_build@
39OPTIMIZER = @opt_build@
40MALLOCLIB = @malloc_lib@
41
639231be 42LIBUUID = @libuuid@
949c0f10 43LIBPTHREAD = @libpthread@
d4b9ebda 44LIBEDITLINE = @libeditline@
e246ba5f 45LIBREADLINE = @libreadline@
f937adac 46LIBXFS = $(TOPDIR)/libxfs/libxfs.la
d321ceac 47LIBXLOG = $(TOPDIR)/libxlog/libxlog.la
f937adac
NS
48LIBDISK = $(TOPDIR)/libdisk/libdisk.la
49LIBHANDLE = $(TOPDIR)/libhandle/libhandle.la
fc49813f 50
9440d84d
NS
51DK_INC_DIR = @includedir@/disk
52
e572fea0
NS
53prefix = @prefix@
54exec_prefix = @exec_prefix@
55
9440d84d 56PKG_NAME = @pkg_name@
93d9f139
NS
57PKG_USER = @pkg_user@
58PKG_GROUP = @pkg_group@
9440d84d
NS
59PKG_RELEASE = @pkg_release@
60PKG_VERSION = @pkg_version@
61PKG_PLATFORM = @pkg_platform@
62PKG_DISTRIBUTION= @pkg_distribution@
9440d84d
NS
63PKG_BIN_DIR = @bindir@
64PKG_SBIN_DIR = @sbindir@
65PKG_LIB_DIR = @libdir@
66PKG_DEVLIB_DIR = @libexecdir@
67PKG_INC_DIR = @includedir@/xfs
68PKG_MAN_DIR = @mandir@
69PKG_DOC_DIR = @datadir@/doc/@pkg_name@
70PKG_LOCALE_DIR = @datadir@/locale
2bd0ea18 71
9440d84d 72CC = @cc@
9440d84d
NS
73AWK = @awk@
74SED = @sed@
75TAR = @tar@
76ZIP = @zip@
77MAKE = @make@
78ECHO = @echo@
16c44ed2 79SORT = @sort@
9440d84d
NS
80LN_S = @LN_S@
81LIBTOOL = @LIBTOOL@
82MAKEDEPEND = @makedepend@
83
84MSGFMT = @msgfmt@
85MSGMERGE = @msgmerge@
9440d84d
NS
86
87RPM = @rpm@
88RPMBUILD = @rpmbuild@
89RPM_VERSION = @rpm_version@
f937adac 90
f937adac 91ENABLE_SHARED = @enable_shared@
9440d84d 92ENABLE_GETTEXT = @enable_gettext@
d4b9ebda 93ENABLE_EDITLINE = @enable_editline@
e246ba5f 94ENABLE_READLINE = @enable_readline@
9440d84d
NS
95HAVE_ZIPPED_MANPAGES = @have_zipped_manpages@
96
0bba1a49
NS
97HAVE_FADVISE = @have_fadvise@
98HAVE_MADVISE = @have_madvise@
99HAVE_MINCORE = @have_mincore@
100HAVE_SENDFILE = @have_sendfile@
101
9440d84d
NS
102ifeq ($(PKG_PLATFORM),linux)
103PCFLAGS = -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
93d9f139
NS
104endif
105ifeq ($(PKG_PLATFORM),darwin)
9440d84d
NS
106PCFLAGS = -traditional-cpp
107endif
93d9f139
NS
108ifeq ($(PKG_PLATFORM),irix)
109PLDLIBS = -ldisk -lgen
110endif
4f1631ae
RC
111ifeq ($(PKG_PLATFORM),freebsd)
112PLDLIBS = -L/usr/local/lib -lintl
1707056a 113PCFLAGS = -I/usr/local/include
4f1631ae 114endif
9440d84d 115
16c44ed2 116GCFLAGS += -O1 $(OPTIMIZER) $(DEBUG) -funsigned-char -Wall -I$(TOPDIR)/include \
9440d84d 117 -DVERSION=\"$(PKG_VERSION)\" -DLOCALEDIR=\"$(PKG_LOCALE_DIR)\" \
dfc130f3 118 -DPACKAGE=\"$(PKG_NAME)\"
f937adac 119
9440d84d
NS
120# Global, Platform, Local CFLAGS
121CFLAGS += $(GCFLAGS) $(PCFLAGS) $(LCFLAGS)
2bd0ea18 122
3ded4129 123include $(TOPDIR)/include/buildmacros
286ceebb
NS
124
125endif
126
127#
128# For targets that should always be rebuilt,
129# define a target that is never up-to-date.
130# Targets needing this should depend on $(_FORCE)
131_FORCE = __force_build