]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blame - include/builddefs.in
Bump xfsprogs version number for recent changes.
[thirdparty/xfsprogs-dev.git] / include / builddefs.in
CommitLineData
2bd0ea18 1#
f302e9e4
NS
2# Copyright (c) 2004-2005 Silicon Graphics, Inc.
3# All Rights Reserved.
dfc130f3 4#
f302e9e4
NS
5# This program is free software; you can redistribute it and/or
6# modify it under the terms of the GNU General Public License as
2bd0ea18 7# published by the Free Software Foundation.
dfc130f3 8#
2bd0ea18
NS
9# This program is distributed in the hope that it would be useful, but
10# WITHOUT ANY WARRANTY; without even the implied warranty of
11# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
dfc130f3 12#
f302e9e4
NS
13# You should have received a copy of the GNU General Public License
14# along with this program; if not, write the Free Software Foundation,
15# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
2bd0ea18
NS
16#
17# @configure_input@
18#
19
6c6508ec
NS
20ifndef _BUILDDEFS_INCLUDED_
21_BUILDDEFS_INCLUDED_ = 1
286ceebb 22
2bd0ea18
NS
23DEBUG = @debug_build@
24OPTIMIZER = @opt_build@
25MALLOCLIB = @malloc_lib@
26
639231be 27LIBUUID = @libuuid@
949c0f10 28LIBPTHREAD = @libpthread@
541a1d4f 29LIBTERMCAP = @libtermcap@
d4b9ebda 30LIBEDITLINE = @libeditline@
e246ba5f 31LIBREADLINE = @libreadline@
f937adac 32LIBXFS = $(TOPDIR)/libxfs/libxfs.la
3d93ccb7 33LIBXCMD = $(TOPDIR)/libxcmd/libxcmd.la
d321ceac 34LIBXLOG = $(TOPDIR)/libxlog/libxlog.la
f937adac
NS
35LIBDISK = $(TOPDIR)/libdisk/libdisk.la
36LIBHANDLE = $(TOPDIR)/libhandle/libhandle.la
fc49813f 37
9440d84d
NS
38DK_INC_DIR = @includedir@/disk
39
e572fea0
NS
40prefix = @prefix@
41exec_prefix = @exec_prefix@
42
9440d84d 43PKG_NAME = @pkg_name@
93d9f139
NS
44PKG_USER = @pkg_user@
45PKG_GROUP = @pkg_group@
9440d84d
NS
46PKG_RELEASE = @pkg_release@
47PKG_VERSION = @pkg_version@
48PKG_PLATFORM = @pkg_platform@
49PKG_DISTRIBUTION= @pkg_distribution@
9440d84d
NS
50PKG_BIN_DIR = @bindir@
51PKG_SBIN_DIR = @sbindir@
52PKG_LIB_DIR = @libdir@
53PKG_DEVLIB_DIR = @libexecdir@
54PKG_INC_DIR = @includedir@/xfs
55PKG_MAN_DIR = @mandir@
56PKG_DOC_DIR = @datadir@/doc/@pkg_name@
57PKG_LOCALE_DIR = @datadir@/locale
2bd0ea18 58
9440d84d 59CC = @cc@
9440d84d
NS
60AWK = @awk@
61SED = @sed@
62TAR = @tar@
63ZIP = @zip@
64MAKE = @make@
65ECHO = @echo@
16c44ed2 66SORT = @sort@
9440d84d
NS
67LN_S = @LN_S@
68LIBTOOL = @LIBTOOL@
69MAKEDEPEND = @makedepend@
70
71MSGFMT = @msgfmt@
72MSGMERGE = @msgmerge@
9440d84d
NS
73
74RPM = @rpm@
75RPMBUILD = @rpmbuild@
76RPM_VERSION = @rpm_version@
f937adac 77
f937adac 78ENABLE_SHARED = @enable_shared@
9440d84d 79ENABLE_GETTEXT = @enable_gettext@
d4b9ebda 80ENABLE_EDITLINE = @enable_editline@
e246ba5f 81ENABLE_READLINE = @enable_readline@
9440d84d
NS
82HAVE_ZIPPED_MANPAGES = @have_zipped_manpages@
83
0bba1a49
NS
84HAVE_FADVISE = @have_fadvise@
85HAVE_MADVISE = @have_madvise@
86HAVE_MINCORE = @have_mincore@
87HAVE_SENDFILE = @have_sendfile@
cfe6e3f0
NS
88HAVE_GETMNTENT = @have_getmntent@
89HAVE_GETMNTINFO = @have_getmntinfo@
0bba1a49 90
9440d84d
NS
91ifeq ($(PKG_PLATFORM),linux)
92PCFLAGS = -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
93d9f139
NS
93endif
94ifeq ($(PKG_PLATFORM),darwin)
9440d84d
NS
95PCFLAGS = -traditional-cpp
96endif
93d9f139
NS
97ifeq ($(PKG_PLATFORM),irix)
98PLDLIBS = -ldisk -lgen
99endif
4f1631ae
RC
100ifeq ($(PKG_PLATFORM),freebsd)
101PLDLIBS = -L/usr/local/lib -lintl
1707056a 102PCFLAGS = -I/usr/local/include
4f1631ae 103endif
9440d84d 104
a85e1c6b 105GCFLAGS = $(OPTIMIZER) $(DEBUG) -funsigned-char -fno-strict-aliasing -Wall \
062998e3
NS
106 -DVERSION=\"$(PKG_VERSION)\" -DLOCALEDIR=\"$(PKG_LOCALE_DIR)\" \
107 -DPACKAGE=\"$(PKG_NAME)\" -I$(TOPDIR)/include
f937adac 108
1bdd986b
NS
109# First, Global, Platform, Local CFLAGS
110CFLAGS += $(FCFLAGS) $(GCFLAGS) $(PCFLAGS) $(LCFLAGS)
2bd0ea18 111
3ded4129 112include $(TOPDIR)/include/buildmacros
286ceebb
NS
113
114endif
115
116#
117# For targets that should always be rebuilt,
118# define a target that is never up-to-date.
119# Targets needing this should depend on $(_FORCE)
120_FORCE = __force_build