Build additional classes in a separat library.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@13027 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2002-03-06 15:50:14 +00:00
parent 78b5d57426
commit 5ec35d168b
7 changed files with 5569 additions and 12 deletions

View file

@ -1,3 +1,11 @@
2002-03-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GNUmakefile: build subproject.
* Source/Additions/Makefile.preamble: set include flags.
* Source/Additions/GSXML.m: moved implementation here.
* Source/Additions/GSMime.m: moved implementation here.
* Source/GNUmakefile: build subproject.
2002-03-06 Richard Frith-Macdonald <rfm@gnu.org>
* GNUmakefile: build SSL aggregate project

View file

@ -0,0 +1,40 @@
#
# 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
# modify it under the terms of the GNU Library General Public
# 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
# Library General Public License for more details.
#
# You should have received a copy of the GNU Library General Public
# License along with this library; if not, write to the Free
# Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA.
#
GNUSTEP_MAKEFILES = $(GNUSTEP_SYSTEM_ROOT)/Makefiles
include $(GNUSTEP_MAKEFILES)/common.make
SUBPROJECT_NAME=Additions
Additions_OBJC_FILES =\
GSMime.m \
GSXML.m
-include Makefile.preamble
include $(GNUSTEP_MAKEFILES)/subproject.make
-include Makefile.postamble

2450
Source/Additions/GSMime.m Normal file

File diff suppressed because it is too large Load diff

3012
Source/Additions/GSXML.m Normal file

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,56 @@
#
# Makefile.preamble
#
# Copyright (C) 1997 Free Software Foundation, Inc.
#
# Author: 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
# modify it under the terms of the GNU Library General Public
# 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
# Library General Public License for more details.
#
# If you are interested in a warranty or support for this source code,
# contact Scott Christley at scottc@net-community.com
#
# You should have received a copy of the GNU Library General Public
# License along with this library; see the file COPYING.LIB.
# If not, write to the Free Software Foundation,
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
# Makefile.preamble
#
# Project specific makefile variables
#
# 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
ADDITIONAL_CPPFLAGS = $(DEFS) $(CONFIG_SYSTEM_DEFS) -Wall
# Additional flags to pass to the Objective-C compiler
ADDITIONAL_OBJCFLAGS =
# Additional flags to pass to the C compiler
ADDITIONAL_CFLAGS =
# Additional include directories the compiler should search
ADDITIONAL_INCLUDE_DIRS = -I../../Headers/gnustep -I../../Headers \
-I../$(GNUSTEP_TARGET_DIR)
# Additional LDFLAGS to pass to the linker
ADDITIONAL_LDFLAGS =

View file

@ -45,6 +45,9 @@ else
LIBRARY_NAME=libgnustep-base
endif
libgnustep-base_SUBPROJECTS=Additions
libgnustep-baseadd_SUBPROJECTS=Additions
# GNUSTEP_INSTALL_PREFIX must be defined here and not in config.h because
# the installing person may set it on the `make' command line.
@ -219,10 +222,6 @@ NSZone.m \
externs.m \
objc-load.m
ifneq ($(add),yes)
BASE_MFILES += GSMime.m GSXML.m
endif
ifeq ($(WITH_FFI),libffi)
GNU_MFILES += cifframe.m
BASE_MFILES += GSFFIInvocation.m
@ -355,10 +354,6 @@ libgnustep-base_C_FILES = $(GNU_CFILES)
libgnustep-base_OBJC_FILES = $(GNU_MFILES) \
$(BASE_MFILES) $(NSVALUE_MFILES) $(NSNUMBER_MFILES)
ifeq ($(add),yes)
libgnustep-baseadd_OBJC_FILES = GSMime.m GSXML.m
endif
# Extra DLL exports file
libgnustep-base_DLL_DEF = libgnustep-base.def

View file

@ -68,10 +68,6 @@ libgnustep-base_LIBRARIES_DEPEND_UPON += $(CONFIG_SYSTEM_LIBS) \
-flat_namespace
endif
ifeq ($(add),yes)
libgnustep-base_LIBRARIES_DEPEND_UPON += -lgnustep-baseadd
endif
# Flags dealing with installing and uninstalling
#