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
|
|
|
|
# version 2 of the License, or (at your option) any later version.
|
|
|
|
#
|
|
|
|
# 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
|
2005-05-22 03:32:16 +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
|
2003-10-17 13:03:27 +00:00
|
|
|
# ADDITIONAL_CPPFLAGS +=
|
1997-10-28 14:34:49 +00:00
|
|
|
|
|
|
|
# Additional flags to pass to the Objective-C compiler
|
2002-01-03 18:27:13 +00:00
|
|
|
ADDITIONAL_OBJCFLAGS += -Wall
|
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
|
2003-07-31 23:49:32 +00:00
|
|
|
ADDITIONAL_INCLUDE_DIRS += -I../Headers/Additions \
|
2000-12-05 16:11:55 +00:00
|
|
|
-I../Source/$(GNUSTEP_TARGET_DIR)
|
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
|
|
|
|
|