~ubuntu-branches/ubuntu/edgy/sope/edgy

« back to all changes in this revision

Viewing changes to libFoundation/Foundation/GNUmakefile.postamble

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Ley
  • Date: 2005-08-19 16:53:31 UTC
  • Revision ID: james.westby@ubuntu.com-20050819165331-hs683wz1osm708pw
Tags: upstream-4.4rc.2
ImportĀ upstreamĀ versionĀ 4.4rc.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#  GNUmakefile.postamble
 
2
#
 
3
#  Copyright (C) 1995, 1996, 1997 Ovidiu Predescu and Mircea Oancea.
 
4
#  All rights reserved.
 
5
#
 
6
#  Author: Ovidiu Predescu <ovidiu@net-community.com>
 
7
#  Date: October 1997
 
8
#
 
9
#  This file is part of libFoundation.
 
10
#
 
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
 
15
#  documentation.
 
16
#
 
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.
 
23
#
 
24
 
 
25
TOP = ..
 
26
 
 
27
before-all:: $(GNUSTEP_OBJ_DIR)/exceptions
 
28
 
 
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)
 
33
 
 
34
$(DIR_FD) :
 
35
        @(if [ ! -d $@ ]; then \
 
36
          echo $(MKINSTALLDIRS) $@; \
 
37
          $(MKINSTALLDIRS) $@; \
 
38
        fi)
 
39
 
 
40
$(DIR_EXT_EXC) $(DIR_FD_EXC) $(DIR_PLAT) : $(DIR_FD)
 
41
        @(if [ ! -d $@ ]; then \
 
42
          echo $(MKINSTALLDIRS) $@; \
 
43
          $(MKINSTALLDIRS) $@; \
 
44
        fi)
 
45
 
 
46
before-install:: $(DIR_EXT_EXC) $(DIR_FD_EXC) $(DIR_PLAT)
 
47
 
 
48
CTO = $(GNUSTEP_TARGET_CPU)/$(GNUSTEP_TARGET_OS)/$(OBJC_RUNTIME)
 
49
 
 
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
 
54
 
 
55
after-install :: after-install-patchit
 
56
 
 
57
 
 
58
$(GNUSTEP_OBJ_DIR)/exceptions: $(GNUSTEP_OBJ_DIR)
 
59
        @if [ ! -d $@ ]; then echo $(MKDIRS) $@; $(MKDIRS) $@; fi
 
60
 
 
61
# DEPRECATED, we optimize for the classes now!
 
62
#NSConcreteNumber.m: NSConcreteNumber.m.sh
 
63
#       ./NSConcreteNumber.m.sh >NSConcreteNumber.m
 
64
 
 
65
after-distclean::
 
66
        rm -rf libFoundation.make NSObject.h
 
67
 
 
68
after-uninstall::
 
69
        rm -f $(GNUSTEP_MAKEFILES)/Additional/libFoundation.make
 
70
 
 
71
include fhs.make