1997-09-23 21:00:33 +00:00
|
|
|
#
|
|
|
|
# Makefile.preamble
|
|
|
|
#
|
|
|
|
# Copyright (C) 1997 Free Software Foundation, Inc.
|
|
|
|
#
|
|
|
|
# Author: Scott Christley <scottc@net-community.com>
|
|
|
|
#
|
|
|
|
# This file is part of the GNUstep Base Library.
|
|
|
|
#
|
|
|
|
# This library is free software; you can redistribute it and/or
|
2007-09-14 11:36:11 +00:00
|
|
|
# modify it under the terms of the GNU Lesser General Public
|
1997-09-23 21:00:33 +00:00
|
|
|
# License as published by the Free Software Foundation; either
|
2008-06-08 10:38:33 +00:00
|
|
|
# version 2 of the License, or (at your option) any later version.
|
1997-09-23 21:00:33 +00:00
|
|
|
#
|
|
|
|
# This library is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
# Library General Public License for more details.
|
|
|
|
#
|
|
|
|
# If you are interested in a warranty or support for this source code,
|
|
|
|
# contact Scott Christley at scottc@net-community.com
|
|
|
|
#
|
2007-09-14 11:36:11 +00:00
|
|
|
# You should have received a copy of the GNU Lesser General Public
|
1997-09-23 21:00:33 +00:00
|
|
|
# License along with this library; see the file COPYING.LIB.
|
|
|
|
# If not, write to the Free Software Foundation,
|
2005-05-22 03:32:16 +00:00
|
|
|
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
1997-09-23 21:00:33 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Makefile.preamble
|
|
|
|
#
|
|
|
|
# Project specific makefile variables
|
|
|
|
#
|
|
|
|
# Do not put any Makefile rules in this file, instead they should
|
|
|
|
# be put into Makefile.postamble.
|
|
|
|
#
|
|
|
|
|
|
|
|
#
|
|
|
|
# Flags dealing with compiling and linking
|
|
|
|
#
|
|
|
|
|
|
|
|
# Additional flags to pass to the preprocessor
|
2011-10-15 05:02:22 +00:00
|
|
|
ADDITIONAL_CPPFLAGS = $(DEFS) \
|
2011-10-14 12:00:02 +00:00
|
|
|
$(WARN_FLAGS) \
|
2002-11-09 07:00:37 +00:00
|
|
|
-Wcast-align \
|
2002-11-09 16:40:00 +00:00
|
|
|
#-Wstrict-prototypes \
|
2002-11-09 06:45:31 +00:00
|
|
|
#-Wpointer-arith \
|
|
|
|
#-Wcast-qual \
|
|
|
|
#-Wwrite-strings \
|
|
|
|
#-Wmissing-prototypes \
|
|
|
|
#-Wmissing-declarations \
|
|
|
|
#-Wredundant-decls \
|
|
|
|
#-Wnested-externs \
|
|
|
|
#-Winline \
|
|
|
|
#-Werror \
|
|
|
|
#-Wshadow
|
|
|
|
#-Wconversion
|
|
|
|
|
1997-09-23 21:00:33 +00:00
|
|
|
|
|
|
|
# Additional flags to pass to the Objective-C compiler
|
2011-06-09 17:08:41 +00:00
|
|
|
#ADDITIONAL_OBJCFLAGS+=
|
1997-09-23 21:00:33 +00:00
|
|
|
|
|
|
|
# Additional flags to pass to the C compiler
|
2010-03-08 12:07:11 +00:00
|
|
|
#ADDITIONAL_CFLAGS+=
|
1997-09-23 21:00:33 +00:00
|
|
|
|
2011-06-09 17:08:41 +00:00
|
|
|
ifneq ($(GNUSTEP_GDOMAP_PORT_OVERRIDE),no)
|
|
|
|
ADDITIONAL_CPPFLAGS += -DGDOMAP_PORT_OVERRIDE=$(GNUSTEP_GDOMAP_PORT_OVERRIDE)
|
|
|
|
endif
|
|
|
|
|
1997-09-23 21:00:33 +00:00
|
|
|
# Additional include directories the compiler should search
|
2007-02-19 14:26:53 +00:00
|
|
|
ADDITIONAL_INCLUDE_DIRS = \
|
|
|
|
-I../Headers \
|
|
|
|
-I./$(GNUSTEP_TARGET_DIR)
|
1997-09-23 21:00:33 +00:00
|
|
|
|
|
|
|
# Additional LDFLAGS to pass to the linker
|
2010-03-08 12:07:11 +00:00
|
|
|
#ADDITIONAL_LDFLAGS+=
|
1997-09-23 21:00:33 +00:00
|
|
|
|
|
|
|
# Additional library directories the linker should search
|
2003-10-17 13:24:58 +00:00
|
|
|
ADDITIONAL_LIB_DIRS = -L$(GNUSTEP_OBJ_DIR)
|
1997-09-23 21:00:33 +00:00
|
|
|
|
2005-06-07 04:23:20 +00:00
|
|
|
libgnustep-base_LIBRARIES_DEPEND_UPON += $(AUXILIARY_OBJC_LIBS) $(OBJC_LIBS)
|
2002-12-02 23:59:57 +00:00
|
|
|
ifeq ($(shared),yes)
|
2005-03-01 05:00:35 +00:00
|
|
|
libgnustep-base_LIBRARIES_DEPEND_UPON += $(TARGET_SYSTEM_LIBS)
|
|
|
|
libgnustep-baseadd_LIBRARIES_DEPEND_UPON += $(TARGET_SYSTEM_LIBS)
|
2001-12-28 03:40:03 +00:00
|
|
|
endif
|
2002-02-25 09:23:45 +00:00
|
|
|
|
2002-12-30 17:23:14 +00:00
|
|
|
#
|
1997-09-23 21:00:33 +00:00
|
|
|
# Flags dealing with installing and uninstalling
|
|
|
|
#
|
|
|
|
|
|
|
|
# Additional directories to be created during installation
|
2003-07-31 23:49:32 +00:00
|
|
|
ADDITIONAL_INSTALL_DIRS = $(GNUSTEP_HEADERS)/Foundation \
|
2016-08-19 12:20:24 +00:00
|
|
|
$(GNUSTEP_HEADERS)/GNUstepBase \
|
1999-06-27 14:23:23 +00:00
|
|
|
|
2011-03-13 12:52:37 +00:00
|
|
|
HEADER_DIR_BASE = ../Headers/GNUstepBase
|
2003-10-17 13:24:58 +00:00
|
|
|
HEADER_DIR_FND = ../Headers/Foundation
|
1999-06-27 14:23:23 +00:00
|
|
|
|