2001-01-29 19:41:38 +00:00
|
|
|
#
|
|
|
|
# base.make
|
|
|
|
#
|
|
|
|
# Makefile flags and configs to build with the base library.
|
|
|
|
#
|
|
|
|
# Copyright (C) 2001 Free Software Foundation, Inc.
|
|
|
|
#
|
|
|
|
# Author: Nicola Pero <n.pero@mi.flashnet.it>
|
|
|
|
# Based on code originally in the gnustep make package
|
|
|
|
#
|
|
|
|
# This file is part of the GNUstep Base Library.
|
|
|
|
#
|
|
|
|
# This library is free software; you can redistribute it and/or
|
|
|
|
# modify it under the terms of the GNU General Public License
|
|
|
|
# as published by the Free Software Foundation; either version 2
|
|
|
|
# of the License, or (at your option) any later version.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public
|
|
|
|
# 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.
|
2001-01-29 19:41:38 +00:00
|
|
|
|
|
|
|
ifeq ($(BASE_MAKE_LOADED),)
|
|
|
|
BASE_MAKE_LOADED=yes
|
|
|
|
|
|
|
|
ifeq ($(FOUNDATION_LIB),gnu)
|
|
|
|
#
|
|
|
|
# FIXME - macro names
|
|
|
|
#
|
2003-01-03 20:14:47 +00:00
|
|
|
AUXILIARY_OBJCFLAGS += @NX_CONST_STRING_OBJCFLAGS@
|
2002-12-02 23:59:57 +00:00
|
|
|
ifeq ($(shared),no)
|
|
|
|
CONFIG_SYSTEM_LIBS += @LIBS@
|
2004-10-26 19:08:17 +00:00
|
|
|
CONFIG_SYSTEM_LIB_DIR += @LDIR_FLAGS@
|
2002-12-02 23:59:57 +00:00
|
|
|
endif
|
2001-01-29 19:41:38 +00:00
|
|
|
|
2001-04-25 11:07:06 +00:00
|
|
|
GNUSTEP_BASE_VERSION = @VERSION@
|
|
|
|
GNUSTEP_BASE_MAJOR_VERSION = @MAJOR_VERSION@
|
|
|
|
GNUSTEP_BASE_MINOR_VERSION = @MINOR_VERSION@
|
|
|
|
GNUSTEP_BASE_SUBMINOR_VERSION = @SUBMINOR_VERSION@
|
|
|
|
|
2001-01-29 19:41:38 +00:00
|
|
|
FND_LDFLAGS =
|
|
|
|
FND_LIBS = -lgnustep-base
|
|
|
|
FND_DEFINE = -DGNUSTEP_BASE_LIBRARY=1
|
|
|
|
GNUSTEP_DEFINE = -DGNUSTEP
|
|
|
|
# If gc=yes was passed, use the appropriate library and defines
|
|
|
|
ifeq ($(gc), yes)
|
|
|
|
AUXILIARY_CPPFLAGS += -DGS_WITH_GC=1
|
2001-03-06 15:45:33 +00:00
|
|
|
AUXILIARY_INCLUDE_DIRS += -I/usr/include/gc
|
2001-01-29 19:41:38 +00:00
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2004-01-26 04:42:28 +00:00
|
|
|
GNUSTEP_BASE_HAVE_LIBXML=@HAVE_LIBXML@
|
|
|
|
|
2001-01-29 19:41:38 +00:00
|
|
|
endif # BASE_MAKE_LOADED
|