1997-09-16 01:07:48 +00:00
|
|
|
#
|
|
|
|
# config.make.in
|
|
|
|
#
|
2006-09-18 20:29:28 +00:00
|
|
|
# The settings required by the makefile package that are determined
|
|
|
|
# by configure and that depend on the platform. There might be
|
|
|
|
# multiple of those files installed in different platform-specific
|
|
|
|
# directories. Global settings that are common to all platforms
|
|
|
|
# should go in config-noarch.make.in instead.
|
1997-09-16 01:07:48 +00:00
|
|
|
#
|
2006-09-18 20:29:28 +00:00
|
|
|
# Copyright (C) 1997-2006 Free Software Foundation, Inc.
|
1997-09-16 01:07:48 +00:00
|
|
|
#
|
|
|
|
# Author: Scott Christley <scottc@net-community.com>
|
1997-10-06 03:58:06 +00:00
|
|
|
# Author: Ovidiu Predescu <ovidiu@net-community.com>
|
2005-10-23 16:44:28 +00:00
|
|
|
# Author: Nicola Pero <n.pero@mi.flashnet.it>
|
1997-09-16 01:07:48 +00:00
|
|
|
#
|
|
|
|
# This file is part of the GNUstep Makefile Package.
|
|
|
|
#
|
|
|
|
# This library is free software; you can redistribute it and/or
|
|
|
|
# modify it under the terms of the GNU General Public License
|
2007-11-07 18:56:37 +00:00
|
|
|
# as published by the Free Software Foundation; either version 3
|
1997-09-16 01:07:48 +00:00
|
|
|
# of the License, or (at your option) any later version.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public
|
2007-11-07 18:56:37 +00:00
|
|
|
# License along with this library; see the file COPYING.
|
1997-09-16 01:07:48 +00:00
|
|
|
# If not, write to the Free Software Foundation,
|
2005-05-22 03:20:14 +00:00
|
|
|
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
1997-09-16 01:07:48 +00:00
|
|
|
|
2007-02-12 22:31:33 +00:00
|
|
|
MAKE_WITH_INFO_FUNCTION = @MAKE_WITH_INFO_FUNCTION@
|
|
|
|
|
1997-09-16 01:07:48 +00:00
|
|
|
#
|
|
|
|
# Binary and compile tools
|
|
|
|
#
|
2003-04-23 07:31:19 +00:00
|
|
|
CC = @CC@
|
|
|
|
OPTFLAG = @CFLAGS@
|
2003-10-21 02:25:44 +00:00
|
|
|
OBJCFLAGS= @OBJCFLAGS@
|
2002-08-16 03:02:06 +00:00
|
|
|
CPPFLAGS = @CPPFLAGS@
|
2003-04-23 07:31:19 +00:00
|
|
|
CPP = @CPP@
|
1997-09-16 01:07:48 +00:00
|
|
|
|
1998-12-07 16:54:26 +00:00
|
|
|
EXEEXT = @EXEEXT@
|
2001-03-15 16:20:41 +00:00
|
|
|
OEXT = .@OBJEXT@
|
1997-09-16 01:07:48 +00:00
|
|
|
LIBEXT = .a
|
|
|
|
|
|
|
|
LN_S = @LN_S@
|
|
|
|
|
2002-03-05 15:03:12 +00:00
|
|
|
# This is the best we can do given the current autoconf, which only
|
|
|
|
# returns LN_S
|
|
|
|
ifeq ($(LN_S), ln -s)
|
|
|
|
HAS_LN_S = yes
|
2005-07-20 16:00:07 +00:00
|
|
|
else
|
|
|
|
HAS_LN_S = no
|
2002-03-05 15:03:12 +00:00
|
|
|
endif
|
|
|
|
|
2004-11-04 08:45:18 +00:00
|
|
|
# Special case - on mingw32, autoconf sets LN_S to 'ln -s', but then
|
|
|
|
# that does a recursive copy (ie, cp -r).
|
2003-10-31 17:12:36 +00:00
|
|
|
ifeq (@target_os@,mingw32)
|
|
|
|
HAS_LN_S = no
|
|
|
|
endif
|
2005-10-07 02:39:08 +00:00
|
|
|
# Special case - on cygwin, autoconf sets LN_S to 'ln -s', but then
|
|
|
|
# that does a recursive copy (ie, cp -r).
|
|
|
|
ifeq (@target_os@,cygwin)
|
|
|
|
HAS_LN_S = no
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
2003-10-31 17:12:36 +00:00
|
|
|
|
2004-11-04 08:45:18 +00:00
|
|
|
# This is used to remove an existing symlink before creating a new
|
|
|
|
# one. We don't trust 'ln -s -f' as it's unportable so we remove
|
|
|
|
# manually the existing symlink (if any) before creating a new one.
|
|
|
|
# If symlinks are supported on the platform, RM_LN_S is just 'rm -f';
|
|
|
|
# if they are not, we assume they are copies (like cp -r) and we go
|
|
|
|
# heavy-handed with 'rm -Rf'. Note - this code might need rechecking
|
|
|
|
# for the case where LN_S = 'ln', if that ever happens on some
|
|
|
|
# platforms.
|
|
|
|
ifeq ($(HAS_LN_S), yes)
|
|
|
|
RM_LN_S = rm -f
|
2005-07-20 16:00:07 +00:00
|
|
|
FRAMEWORK_VERSION_SUPPORT = yes
|
2004-11-04 08:45:18 +00:00
|
|
|
else
|
|
|
|
RM_LN_S = rm -Rf
|
2005-07-20 16:00:07 +00:00
|
|
|
FRAMEWORK_VERSION_SUPPORT = no
|
2004-11-04 08:45:18 +00:00
|
|
|
endif
|
|
|
|
|
1997-10-03 21:12:56 +00:00
|
|
|
LD = $(CC)
|
1997-09-16 01:07:48 +00:00
|
|
|
LDOUT =
|
1999-09-15 02:41:46 +00:00
|
|
|
LDFLAGS = @LDFLAGS@
|
1997-09-16 01:07:48 +00:00
|
|
|
|
1999-04-02 05:31:35 +00:00
|
|
|
AR = @AR@
|
|
|
|
AROUT =
|
1997-09-16 01:07:48 +00:00
|
|
|
ARFLAGS = rc
|
1999-04-02 05:31:35 +00:00
|
|
|
RANLIB = @RANLIB@
|
1997-09-16 01:07:48 +00:00
|
|
|
|
|
|
|
DLLTOOL = @DLLTOOL@
|
|
|
|
|
2002-03-28 15:32:09 +00:00
|
|
|
# NB: These variables are defined here only so that they can be
|
|
|
|
# overridden on the command line (so you can type 'AWK=mawk make' to
|
|
|
|
# use a different awk for that particular run of make). We should
|
|
|
|
# *NOT* set them to the full path of these tools at configure time,
|
|
|
|
# because otherwise when you change/update the tools you would need to
|
|
|
|
# reconfigure and reinstall gnustep-make! We can normally assume that
|
|
|
|
# typing 'awk' and 'sed' on the command line cause the preferred awk
|
|
|
|
# and sed programs on the system to be used. Hardcoding the full path
|
|
|
|
# (or the name) of the specific awk or sed program on this sytem here
|
|
|
|
# would make it lot more inflexible. In other words, the following
|
|
|
|
# definitions should remain like in 'AWK = awk' on all systems.
|
|
|
|
AWK = awk
|
|
|
|
SED = sed
|
1999-04-02 05:31:35 +00:00
|
|
|
YACC = yacc
|
|
|
|
BISON = bison
|
|
|
|
FLEX = flex
|
|
|
|
LEX = lex
|
2002-03-28 15:32:09 +00:00
|
|
|
CHOWN = chown
|
|
|
|
STRIP = strip
|
1997-10-14 17:31:18 +00:00
|
|
|
|
1997-10-03 22:02:27 +00:00
|
|
|
INSTALL = @HOST_INSTALL@
|
1997-10-03 21:12:56 +00:00
|
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
|
|
INSTALL_DATA = @INSTALL_DATA@
|
2000-08-30 15:20:30 +00:00
|
|
|
TAR = @TAR@
|
1998-12-20 21:27:47 +00:00
|
|
|
MKDIRS = $(GNUSTEP_MAKEFILES)/mkinstalldirs
|
1997-10-03 21:12:56 +00:00
|
|
|
|
2007-03-05 15:10:38 +00:00
|
|
|
LATEX2HTML = @LATEX2HTML@
|
|
|
|
|
2004-08-01 02:33:45 +00:00
|
|
|
# Darwin specific flags
|
|
|
|
CC_CPPPRECOMP = @cc_cppprecomp@
|
|
|
|
CC_BUNDLE = @cc_bundle@
|
|
|
|
|
2001-04-13 19:49:16 +00:00
|
|
|
# Backend bundle
|
|
|
|
BACKEND_BUNDLE=@BACKEND_BUNDLE@
|
|
|
|
|
1998-11-11 23:05:50 +00:00
|
|
|
#
|
|
|
|
# Do threading stuff.
|
|
|
|
#
|
2001-01-19 11:49:20 +00:00
|
|
|
# Warning - the base library's configure.in will extract the thread
|
|
|
|
# flags from the following line using grep/sed - so if you change the
|
|
|
|
# following lines you *need* to update the base library configure.in
|
|
|
|
# too.
|
|
|
|
#
|
1998-11-11 23:05:50 +00:00
|
|
|
ifndef objc_threaded
|
|
|
|
objc_threaded:=@objc_threaded@
|
|
|
|
endif
|
1998-09-03 14:35:49 +00:00
|
|
|
|
2003-09-29 16:46:50 +00:00
|
|
|
# Any user specified libs
|
|
|
|
CONFIG_SYSTEM_INCL=@INCLUDES@
|
1997-10-30 22:43:44 +00:00
|
|
|
CONFIG_SYSTEM_LIBS = @LIBS@
|
2003-10-10 02:52:45 +00:00
|
|
|
CONFIG_SYSTEM_LIB_DIR = @LIB_DIR@
|
1998-05-28 06:56:11 +00:00
|
|
|
|
2006-10-26 11:22:00 +00:00
|
|
|
#
|
|
|
|
# Whether the GCC compiler on solaris supports the -shared flag for
|
|
|
|
# linking libraries.
|
|
|
|
#
|
|
|
|
SOLARIS_SHARED = @SOLARIS_SHARED@
|
|
|
|
|
2001-11-22 13:31:51 +00:00
|
|
|
#
|
|
|
|
# Whether the C/ObjC/C++ compiler supports auto-dependencies
|
|
|
|
# (generating dependencies of the object files from the include files
|
|
|
|
# used to compile them) via -MMD -MP flags
|
|
|
|
#
|
|
|
|
AUTO_DEPENDENCIES = @AUTO_DEPENDENCIES@
|
2004-06-19 11:09:53 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Whether the ObjC compiler supports native ObjC exceptions via
|
|
|
|
# @try/@catch/@finally/@throw.
|
|
|
|
#
|
2004-06-22 23:56:41 +00:00
|
|
|
USE_OBJC_EXCEPTIONS = @USE_OBJC_EXCEPTIONS@
|
2007-01-16 00:31:57 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Whether the compiler is GCC with precompiled header support
|
|
|
|
#
|
|
|
|
GCC_WITH_PRECOMPILED_HEADERS = @GCC_WITH_PRECOMPILED_HEADERS@
|