2002-03-06 15:02:42 +00:00
|
|
|
#
|
|
|
|
# src 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
|
2007-09-14 11:36:11 +00:00
|
|
|
# modify it under the terms of the GNU Lesser General Public
|
2002-03-06 15:02:42 +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.
|
2002-03-06 15:02:42 +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.
|
|
|
|
#
|
2007-09-14 11:36:11 +00:00
|
|
|
# You should have received a copy of the GNU Lesser General Public
|
2002-03-06 15:02:42 +00:00
|
|
|
# License along with this library; if not, write to the Free
|
2007-02-19 14:26:53 +00:00
|
|
|
# Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
|
|
|
# Boston, MA 02111 USA.
|
2002-03-06 15:02:42 +00:00
|
|
|
#
|
|
|
|
|
2007-02-20 00:09:10 +00:00
|
|
|
ifeq ($(GNUSTEP_MAKEFILES),)
|
|
|
|
GNUSTEP_MAKEFILES := $(shell gnustep-config --variable=GNUSTEP_MAKEFILES 2>/dev/null)
|
2009-05-04 07:23:46 +00:00
|
|
|
ifeq ($(GNUSTEP_MAKEFILES),)
|
2009-05-29 10:17:21 +00:00
|
|
|
$(warning )
|
|
|
|
$(warning Unable to obtain GNUSTEP_MAKEFILES setting from gnustep-config!)
|
|
|
|
$(warning Perhaps gnustep-make is not properly installed,)
|
|
|
|
$(warning so gnustep-config is not in your PATH.)
|
|
|
|
$(warning )
|
|
|
|
$(warning Your PATH is currently $(PATH))
|
|
|
|
$(warning )
|
2009-05-04 07:23:46 +00:00
|
|
|
endif
|
2007-02-20 00:09:10 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(GNUSTEP_MAKEFILES),)
|
|
|
|
$(error You need to set GNUSTEP_MAKEFILES before compiling!)
|
|
|
|
endif
|
|
|
|
|
2008-12-19 12:53:30 +00:00
|
|
|
PACKAGE_NAME = gnustep-base
|
2004-03-12 13:50:39 +00:00
|
|
|
# This must set be before reading common.make, which will read the
|
|
|
|
# Additional makefiles.
|
|
|
|
GNUSTEP_LOCAL_ADDITIONAL_MAKEFILES=../base.make
|
|
|
|
|
2004-03-06 14:08:46 +00:00
|
|
|
include $(GNUSTEP_MAKEFILES)/common.make
|
|
|
|
|
2004-01-13 02:39:43 +00:00
|
|
|
-include ../config.mak
|
2002-03-06 15:02:42 +00:00
|
|
|
-include config.mak
|
2002-03-08 06:57:03 +00:00
|
|
|
|
2002-03-06 15:02:42 +00:00
|
|
|
srcdir = .
|
|
|
|
PACKAGE_NAME = gnustep-base
|
|
|
|
|
2002-12-31 03:48:01 +00:00
|
|
|
ifneq ($(base),no)
|
2002-03-06 15:02:42 +00:00
|
|
|
ifeq ($(HAVE_OPENSSL), yes)
|
|
|
|
|
|
|
|
# The bundles to be compiled
|
|
|
|
BUNDLE_NAME=SSL
|
|
|
|
|
2007-03-17 16:56:23 +00:00
|
|
|
# Interface version changes with each minor release
|
|
|
|
include ../Version
|
|
|
|
libgnustep-base_INTERFACE_VERSION=$(MAJOR_VERSION).$(MINOR_VERSION)
|
|
|
|
SSL_INSTALL_DIR = $(GNUSTEP_LIBRARY)/Libraries/gnustep-base/Versions/$(libgnustep-base_INTERFACE_VERSION)/Resources/
|
|
|
|
|
2002-03-06 15:02:42 +00:00
|
|
|
# Additional search directories for linking
|
|
|
|
SSL_LIB_DIRS += -L$(GNUSTEP_OBJ_DIR)
|
|
|
|
|
|
|
|
# The bundle Objective-C source files to be compiled
|
2002-08-14 17:00:05 +00:00
|
|
|
SSL_OBJC_FILES = GSSSLHandle.m
|
2002-03-06 15:02:42 +00:00
|
|
|
|
|
|
|
# The principal class in the bundle
|
2002-08-14 17:00:05 +00:00
|
|
|
SSL_PRINCIPAL_CLASS = GSSSLHandle
|
2002-03-06 15:02:42 +00:00
|
|
|
|
2011-06-18 12:57:30 +00:00
|
|
|
SSL_BUNDLE_LIBS = $(SSLLIBS) -lgnustep-base
|
2002-03-06 15:02:42 +00:00
|
|
|
|
2008-02-19 11:01:07 +00:00
|
|
|
SSL_NEEDS_GUI = NO
|
|
|
|
|
2002-12-31 03:48:01 +00:00
|
|
|
endif
|
2002-03-06 15:02:42 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
-include Makefile.preamble
|
|
|
|
|
|
|
|
include $(GNUSTEP_MAKEFILES)/bundle.make
|
|
|
|
|
|
|
|
-include Makefile.postamble
|