1997-09-23 21:00:33 +00:00
|
|
|
#
|
2000-06-27 21:11:01 +00:00
|
|
|
# Extra make variables for base library
|
1997-09-23 21:00:33 +00:00
|
|
|
#
|
2010-04-18 18:18:45 +00:00
|
|
|
# Copyright (C) 2005-2010 Free Software Foundation
|
2005-07-15 22:51:23 +00:00
|
|
|
# Copying and distribution of this file, with or without modification,
|
|
|
|
# are permitted in any medium without royalty provided the copyright
|
|
|
|
# notice and this notice are preserved.
|
|
|
|
|
2000-06-27 21:11:01 +00:00
|
|
|
WHOAMI=@WHOAMI@
|
|
|
|
|
1997-09-23 21:00:33 +00:00
|
|
|
DYNAMIC_LINKER=@DYNAMIC_LINKER@
|
2000-06-27 21:11:01 +00:00
|
|
|
|
2000-06-20 13:17:22 +00:00
|
|
|
HAVE_LIBXML=@HAVE_LIBXML@
|
2008-01-04 13:06:14 +00:00
|
|
|
HAVE_GNUTLS=@HAVE_GNUTLS@
|
2011-03-13 08:20:17 +00:00
|
|
|
HAVE_BLOCKS=@HAVE_BLOCKS@
|
2024-08-07 15:12:22 +00:00
|
|
|
HAVE_DOT=@HAVE_DOT@
|
2000-06-27 21:11:01 +00:00
|
|
|
|
2000-12-08 19:06:00 +00:00
|
|
|
WITH_FFI=@WITH_FFI@
|
2001-07-10 03:23:39 +00:00
|
|
|
|
2003-01-09 17:41:57 +00:00
|
|
|
NX_CONST_STRING_CLASS=@NX_CONST_STRING_CLASS@
|
2010-03-09 14:01:46 +00:00
|
|
|
OBJCFLAGS+=@OBJCFLAGS@
|
2010-02-19 12:51:02 +00:00
|
|
|
OBJC2RUNTIME=@OBJC2RUNTIME@
|
2010-03-18 05:04:44 +00:00
|
|
|
OBJCSYNC=@OBJCSYNC@
|
2010-03-11 08:08:08 +00:00
|
|
|
WARN_FLAGS=@WARN_FLAGS@
|
2003-01-09 17:41:57 +00:00
|
|
|
|
2006-03-01 23:54:52 +00:00
|
|
|
HAVE_INET_PTON=@HAVE_INET_PTON@
|
2008-01-10 19:57:08 +00:00
|
|
|
HAVE_INET_NTOP=@HAVE_INET_NTOP@
|
2008-09-24 04:38:27 +00:00
|
|
|
HAVE_OBJC_SYNC_ENTER=@HAVE_OBJC_SYNC_ENTER@
|
2002-11-27 17:15:39 +00:00
|
|
|
|
|
|
|
CONFIG_SYSTEM_INCL += @INCLUDE_FLAGS@
|
2002-12-02 23:59:57 +00:00
|
|
|
ifeq ($(shared),yes)
|
|
|
|
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
|
|
|
|
|
2010-06-02 10:17:37 +00:00
|
|
|
GNUSTEP_INSTALL_GDOMAP_AS_SETUID=@GNUSTEP_INSTALL_GDOMAP_AS_SETUID@
|
2011-06-09 17:08:41 +00:00
|
|
|
GNUSTEP_GDOMAP_PORT_OVERRIDE=@GNUSTEP_GDOMAP_PORT_OVERRIDE@
|
2010-06-02 10:17:37 +00:00
|
|
|
|
2010-12-16 10:09:43 +00:00
|
|
|
GNUSTEP_BASE_HAVE_AVAHI=@HAVE_AVAHI@
|
2020-11-29 11:57:47 +00:00
|
|
|
GNUSTEP_BASE_HAVE_GNUTLS=@HAVE_GNUTLS@
|
2010-12-16 10:09:43 +00:00
|
|
|
GNUSTEP_BASE_HAVE_ICU=@HAVE_ICU@
|
2020-11-29 11:57:47 +00:00
|
|
|
GNUSTEP_BASE_HAVE_LIBCURL=@HAVE_LIBCURL@
|
2012-03-27 17:05:19 +00:00
|
|
|
GNUSTEP_BASE_HAVE_LIBDISPATCH=@HAVE_LIBDISPATCH@
|
2016-08-19 12:20:24 +00:00
|
|
|
GNUSTEP_BASE_HAVE_LIBDISPATCH_RUNLOOP=@HAVE_LIBDISPATCH_RUNLOOP@
|
2020-11-29 11:57:47 +00:00
|
|
|
GNUSTEP_BASE_HAVE_LIBXML=@HAVE_LIBXML@
|
|
|
|
GNUSTEP_BASE_HAVE_MDNS=@HAVE_MDNS@
|
2004-05-28 19:44:29 +00:00
|
|
|
|
2003-07-16 15:05:24 +00:00
|
|
|
# Default to building only -baseadd
|
|
|
|
# on non *-gnu-* library combos
|
|
|
|
ifneq ($(FOUNDATION_LIB),gnu)
|
|
|
|
add=yes
|
|
|
|
base=no
|
|
|
|
endif
|
2009-01-06 22:52:31 +00:00
|
|
|
|
2010-04-18 18:18:45 +00:00
|
|
|
GNUSTEP_BASE_DOMAIN=@GNUSTEP_BASE_DOMAIN@
|
|
|
|
GNUSTEP_BASE_RELATIVE_PATHS=@GNUSTEP_BASE_RELATIVE_PATHS@
|
|
|
|
|
2011-10-15 15:44:43 +00:00
|
|
|
# Any global prefprocessor defines can be added here
|
|
|
|
DEFS=
|
2011-10-15 05:02:22 +00:00
|
|
|
|
2010-04-18 18:18:45 +00:00
|
|
|
ifeq ($(GNUSTEP_BASE_RELATIVE_PATHS), yes)
|
|
|
|
ifneq ($(GNUSTEP_BASE_DOMAIN), $(GNUSTEP_INSTALLATION_DOMAIN))
|
|
|
|
$(warning "Error: GNUSTEP_INSTALLATION_DOMAIN does not match GNUSTEP_BASE_DOMAIN")
|
|
|
|
$(warning " ")
|
|
|
|
$(warning "You can install gnustep-base in one of the four domains: SYSTEM, LOCAL, NETWORK or USER.")
|
|
|
|
$(warning " ")
|
|
|
|
$(warning "gnustep-base was configured to be installed into: $(GNUSTEP_BASE_DOMAIN)")
|
|
|
|
$(warning "but it would now being installed into: $(GNUSTEP_INSTALLATION_DOMAIN)")
|
|
|
|
$(warning "That's not right: they must match.")
|
|
|
|
$(warning " ")
|
|
|
|
$(warning "If you want to install into $(GNUSTEP_BASE_DOMAIN), please use")
|
|
|
|
$(warning " ")
|
|
|
|
$(warning " make install GNUSTEP_INSTALLATION_DOMAIN=$(GNUSTEP_BASE_DOMAIN) [plus any other options you need]")
|
|
|
|
$(warning " ")
|
|
|
|
$(warning "Instead, if you want to install into $(GNUSTEP_INSTALLATION_DOMAIN), please reconfigure")
|
|
|
|
$(warning "gnustep-base by doing")
|
|
|
|
$(warning " ")
|
|
|
|
$(warning " ./configure --with-installation-domain=$(GNUSTEP_INSTALLATION_DOMAIN) [plus any other options you need]")
|
|
|
|
$(warning " ")
|
|
|
|
$(warning "and then recompile and reinstall.")
|
|
|
|
|
|
|
|
# We used to automatically rerun configure here. Unfortunately we
|
|
|
|
# don't know if the right domain that we should be installing into is
|
|
|
|
# GNUSTEP_BASE_DOMAIN (specified or automatically picked up by
|
|
|
|
# configure) or GNUSTEP_INSTALLATION_DOMAIN (specified or
|
|
|
|
# automatically picked up by make install) so the user really has to
|
|
|
|
# spend two minutes checking this and fixing it herself.
|
|
|
|
|
|
|
|
$(error "Please fix the installation domain then try again. If you are stuck, contact discuss-gnustep@gnu.org for help.")
|
|
|
|
endif
|
|
|
|
endif
|