1997-10-31 20:24:01 +00:00
|
|
|
#
|
|
|
|
# Tools makefile for the GNUstep Base Library
|
|
|
|
#
|
|
|
|
# Copyright (C) 1997 Free Software Foundation, Inc.
|
|
|
|
#
|
|
|
|
# Written by: 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
|
2005-07-15 22:51:23 +00:00
|
|
|
# modify it under the terms of the GNU General Public
|
1997-10-31 20:24:01 +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-10-31 20:24:01 +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
|
2005-07-15 22:51:23 +00:00
|
|
|
# General Public License for more details.
|
1997-10-31 20:24:01 +00:00
|
|
|
#
|
2005-07-15 22:51:23 +00:00
|
|
|
# You should have received a copy of the GNU General Public
|
1997-10-31 20:24:01 +00:00
|
|
|
# License along with this library; if not, write to the Free
|
2006-10-09 14:00:01 +00:00
|
|
|
# Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
|
|
|
# Boston, MA 02111 USA.
|
1997-10-31 20:24:01 +00:00
|
|
|
#
|
|
|
|
|
1997-10-28 14:34:49 +00:00
|
|
|
#
|
|
|
|
# Makefile.preamble
|
|
|
|
#
|
|
|
|
# Project specific makefile variables, and additional
|
|
|
|
#
|
|
|
|
# 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) $(WARN_FLAGS)
|
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-10-28 14:34:49 +00:00
|
|
|
|
|
|
|
# Additional flags to pass to the Objective-C compiler
|
2010-03-03 09:56:34 +00:00
|
|
|
#ADDITIONAL_OBJCFLAGS +=
|
1997-10-28 14:34:49 +00:00
|
|
|
|
|
|
|
# Additional flags to pass to the C compiler
|
1997-10-31 20:24:01 +00:00
|
|
|
#ADDITIONAL_CFLAGS +=
|
1997-10-28 14:34:49 +00:00
|
|
|
|
|
|
|
# Additional include directories the compiler should search
|
2016-08-19 12:20:24 +00:00
|
|
|
ADDITIONAL_INCLUDE_DIRS += -I../Source/$(GNUSTEP_TARGET_DIR) -I../Source/
|
1999-01-12 20:11:26 +00:00
|
|
|
|
2003-07-31 23:49:32 +00:00
|
|
|
ifeq ($(FOUNDATION_LIB),gnu)
|
|
|
|
ADDITIONAL_INCLUDE_DIRS += -I../Headers
|
|
|
|
endif
|
1997-10-28 14:34:49 +00:00
|
|
|
|
|
|
|
# Additional LDFLAGS to pass to the linker
|
1997-10-31 20:24:01 +00:00
|
|
|
#ADDITIONAL_LDFLAGS +=
|
1997-10-28 14:34:49 +00:00
|
|
|
|
|
|
|
# Additional library directories the linker should search
|
1999-01-28 20:32:58 +00:00
|
|
|
ADDITIONAL_LIB_DIRS += -L../Source/$(GNUSTEP_OBJ_DIR)
|
1997-10-28 14:34:49 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Flags dealing with installing and uninstalling
|
|
|
|
#
|
|
|
|
|
|
|
|
# Additional directories to be created during installation
|
1997-10-31 20:24:01 +00:00
|
|
|
#ADDITIONAL_INSTALL_DIRS +=
|
2002-12-31 03:48:01 +00:00
|
|
|
|
|
|
|
ifeq ($(add),yes)
|
|
|
|
ADDITIONAL_TOOL_LIBS = -lgnustep-baseadd
|
|
|
|
endif
|
|
|
|
|