1
# GNUmakefile.postamble
3
# Copyright (C) 1995, 1996, 1997 Ovidiu Predescu and Mircea Oancea.
6
# Author: Ovidiu Predescu <ovidiu@net-community.com>
9
# This file is part of libFoundation.
11
# Permission to use, copy, modify, and distribute this software and its
12
# documentation for any purpose and without fee is hereby granted, provided
13
# that the above copyright notice appear in all copies and that both that
14
# copyright notice and this permission notice appear in supporting
17
# We disclaim all warranties with regard to this software, including all
18
# implied warranties of merchantability and fitness, in no event shall
19
# we be liable for any special, indirect or consequential damages or any
20
# damages whatsoever resulting from loss of use, data or profits, whether in
21
# an action of contract, negligence or other tortious action, arising out of
22
# or in connection with the use or performance of this software.
27
before-all:: $(GNUSTEP_OBJ_DIR)/exceptions
29
DIR_FD = $(GNUSTEP_HEADERS)$(libFoundation_HEADER_FILES_INSTALL_DIR)
30
DIR_EXT_EXC = $(DIR_FD)/extensions/exceptions
31
DIR_FD_EXC = $(DIR_FD)/Foundation/exceptions
32
DIR_PLAT = $(DIR_FD)/$(GNUSTEP_TARGET_CPU)/$(GNUSTEP_TARGET_OS)/$(OBJC_RUNTIME)
35
@(if [ ! -d $@ ]; then \
36
echo $(MKINSTALLDIRS) $@; \
37
$(MKINSTALLDIRS) $@; \
40
$(DIR_EXT_EXC) $(DIR_FD_EXC) $(DIR_PLAT) : $(DIR_FD)
41
@(if [ ! -d $@ ]; then \
42
echo $(MKINSTALLDIRS) $@; \
43
$(MKINSTALLDIRS) $@; \
46
before-install:: $(DIR_EXT_EXC) $(DIR_FD_EXC) $(DIR_PLAT)
48
CTO = $(GNUSTEP_TARGET_CPU)/$(GNUSTEP_TARGET_OS)/$(OBJC_RUNTIME)
50
after-install-patchit ::
51
$(INSTALL_DATA) $(CTO)/real_exception_file.h $(GNUSTEP_HEADERS)$(libFoundation_HEADER_FILES_INSTALL_DIR)/$(CTO)
52
$(INSTALL_DATA) $(CTO)/lfmemory.h $(GNUSTEP_HEADERS)$(libFoundation_HEADER_FILES_INSTALL_DIR)/$(CTO)
53
$(INSTALL_DATA) libFoundation.make $(INSTALL_ROOT_DIR)$(GNUSTEP_MAKEFILES)/Additional
55
after-install :: after-install-patchit
58
$(GNUSTEP_OBJ_DIR)/exceptions: $(GNUSTEP_OBJ_DIR)
59
@if [ ! -d $@ ]; then echo $(MKDIRS) $@; $(MKDIRS) $@; fi
61
# DEPRECATED, we optimize for the classes now!
62
#NSConcreteNumber.m: NSConcreteNumber.m.sh
63
# ./NSConcreteNumber.m.sh >NSConcreteNumber.m
66
rm -rf libFoundation.make NSObject.h
69
rm -f $(GNUSTEP_MAKEFILES)/Additional/libFoundation.make