]> err.no Git - sope/blob - gnustep-make/config.make.in
use %p for pointer formats
[sope] / gnustep-make / config.make.in
1 #
2 #   config.make.in
3 #
4 #   All of the settings required by the makefile package
5 #   that are determined by configure.
6 #
7 #   Copyright (C) 1997 Free Software Foundation, Inc.
8 #
9 #   Author:  Scott Christley <scottc@net-community.com>
10 #   Author:  Ovidiu Predescu <ovidiu@net-community.com>
11 #
12 #   This file is part of the GNUstep Makefile Package.
13 #
14 #   This library is free software; you can redistribute it and/or
15 #   modify it under the terms of the GNU General Public License
16 #   as published by the Free Software Foundation; either version 2
17 #   of the License, or (at your option) any later version.
18 #   
19 #   You should have received a copy of the GNU General Public
20 #   License along with this library; see the file COPYING.LIB.
21 #   If not, write to the Free Software Foundation,
22 #   51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23
24 #
25 # The GNUstep Make Package Version
26 #
27 GNUSTEP_MAKE_MAJOR_VERSION=@GNUSTEP_MAKE_MAJOR_VERSION@
28 GNUSTEP_MAKE_MINOR_VERSION=@GNUSTEP_MAKE_MINOR_VERSION@
29 GNUSTEP_MAKE_SUBMINOR_VERSION=@GNUSTEP_MAKE_SUBMINOR_VERSION@
30 GNUSTEP_MAKE_VERSION=@GNUSTEP_MAKE_VERSION@
31
32 #
33 # Binary and compile tools
34 #
35 CC       = @CC@
36 OPTFLAG  = @CFLAGS@
37 OBJCFLAGS= @OBJCFLAGS@
38 CPPFLAGS = @CPPFLAGS@
39 CPP      = @CPP@
40
41 EXEEXT = @EXEEXT@
42 OEXT   = .@OBJEXT@
43 LIBEXT = .a
44
45 LN_S = @LN_S@
46
47 # This is the best we can do given the current autoconf, which only
48 # returns LN_S
49 ifeq ($(LN_S), ln -s)
50   HAS_LN_S = yes
51 else
52   HAS_LN_S = no
53 endif
54
55 # Special case - on mingw32, autoconf sets LN_S to 'ln -s', but then
56 # that does a recursive copy (ie, cp -r).
57 ifeq (@target_os@,mingw32)
58   HAS_LN_S = no
59 endif
60
61 # This is used to remove an existing symlink before creating a new
62 # one.  We don't trust 'ln -s -f' as it's unportable so we remove
63 # manually the existing symlink (if any) before creating a new one.
64 # If symlinks are supported on the platform, RM_LN_S is just 'rm -f';
65 # if they are not, we assume they are copies (like cp -r) and we go
66 # heavy-handed with 'rm -Rf'.  Note - this code might need rechecking
67 # for the case where LN_S = 'ln', if that ever happens on some
68 # platforms.
69 ifeq ($(HAS_LN_S), yes)
70   RM_LN_S = rm -f
71   FRAMEWORK_VERSION_SUPPORT = yes
72 else
73   RM_LN_S = rm -Rf
74   FRAMEWORK_VERSION_SUPPORT = no
75 endif
76
77 LD = $(CC)
78 LDOUT =
79 LDFLAGS = @LDFLAGS@ 
80
81 AR      = @AR@
82 AROUT   =
83 ARFLAGS = rc
84 RANLIB  = @RANLIB@
85
86 DLLTOOL = @DLLTOOL@
87
88 # NB: These variables are defined here only so that they can be
89 # overridden on the command line (so you can type 'AWK=mawk make' to
90 # use a different awk for that particular run of make).  We should
91 # *NOT* set them to the full path of these tools at configure time,
92 # because otherwise when you change/update the tools you would need to
93 # reconfigure and reinstall gnustep-make!  We can normally assume that
94 # typing 'awk' and 'sed' on the command line cause the preferred awk
95 # and sed programs on the system to be used.  Hardcoding the full path
96 # (or the name) of the specific awk or sed program on this sytem here
97 # would make it lot more inflexible.  In other words, the following
98 # definitions should remain like in 'AWK = awk' on all systems.
99 AWK             = awk
100 SED             = sed
101 YACC            = yacc
102 BISON           = bison
103 FLEX            = flex
104 LEX             = lex
105 CHOWN           = chown
106 STRIP           = strip
107
108 INSTALL         = @HOST_INSTALL@
109 INSTALL_PROGRAM = @INSTALL_PROGRAM@
110 INSTALL_DATA    = @INSTALL_DATA@
111 TAR             = @TAR@
112 MKDIRS          = $(GNUSTEP_MAKEFILES)/mkinstalldirs
113
114 # Darwin specific flags
115 CC_CPPPRECOMP  = @cc_cppprecomp@
116 CC_BUNDLE      = @cc_bundle@
117
118 # The default library combination
119 default_library_combo = @ac_cv_library_combo@
120
121 # Backend bundle
122 BACKEND_BUNDLE=@BACKEND_BUNDLE@
123
124 #
125 # Do threading stuff.
126 #
127 # Warning - the base library's configure.in will extract the thread
128 # flags from the following line using grep/sed - so if you change the
129 # following lines you *need* to update the base library configure.in
130 # too.
131 #
132 ifndef objc_threaded
133   objc_threaded:=@objc_threaded@
134 endif
135
136 # Any user specified libs
137 CONFIG_SYSTEM_INCL=@INCLUDES@
138 CONFIG_SYSTEM_LIBS = @LIBS@
139 CONFIG_SYSTEM_LIB_DIR = @LIB_DIR@
140
141 #
142 # Whether the C/ObjC/C++ compiler supports auto-dependencies
143 # (generating dependencies of the object files from the include files
144 # used to compile them) via -MMD -MP flags
145 #
146 AUTO_DEPENDENCIES = @AUTO_DEPENDENCIES@
147
148 #
149 # Whether the ObjC compiler supports precompiling headers.
150 #
151 PRECOMPILED_HEADERS = @PRECOMPILED_HEADERS@
152
153 #
154 # Whether the ObjC compiler supports native ObjC exceptions via
155 # @try/@catch/@finally/@throw.
156 #
157 USE_OBJC_EXCEPTIONS = @USE_OBJC_EXCEPTIONS@