~ubuntu-branches/ubuntu/karmic/firebird2.1/karmic

« back to all changes in this revision

Viewing changes to builds/posix/Makefile.in.boot.gpre

  • Committer: Bazaar Package Importer
  • Author(s): Damyan Ivanov
  • Date: 2008-05-26 23:59:25 UTC
  • Revision ID: james.westby@ubuntu.com-20080526235925-2pnqj6nxpppoeaer
Tags: upstream-2.1.0.17798-0.ds2
ImportĀ upstreamĀ versionĀ 2.1.0.17798-0.ds2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# This library is free software; you can redistribute it and/or
 
2
# modify it under the terms of the GNU Lesser General Public
 
3
# License as published by the Free Software Foundation; either
 
4
# version 2.1 of the License, or (at your option) any later version.
 
5
# You may obtain a copy of the Licence at
 
6
# http://www.gnu.org/licences/lgpl.html
 
7
 
8
# As a special exception this file can also be included in modules
 
9
# with other source code as long as that source code has been 
 
10
# released under an Open Source Initiative certificed licence.  
 
11
# More information about OSI certification can be found at: 
 
12
# http://www.opensource.org 
 
13
 
14
# This module is distributed in the hope that it will be useful,
 
15
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
16
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
17
# GNU Lesser General Public Licence for more details.
 
18
 
19
# This module was created by members of the firebird development 
 
20
# team.  All individual contributions remain the Copyright (C) of 
 
21
# those individuals and all rights are reserved.  Contributors to 
 
22
# this file are either listed below or can be obtained from a CVS 
 
23
# history command.
 
24
#
 
25
#  Created by:  Mark O'Donohue <mark.odonohue@ludwig.edu.au>
 
26
#
 
27
#  Contributor(s):
 
28
 
29
#
 
30
#
 
31
ROOT=..
 
32
ObjModuleType=boot
 
33
CFLAGS += -DBOOT_BUILD
 
34
 
 
35
include     $(ROOT)/gen/make.defaults
 
36
include     $(ROOT)/gen/make.platform
 
37
include     $(ROOT)/gen/make.rules
 
38
include     $(ROOT)/gen/make.shared.variables
 
39
 
 
40
@SET_MAKE@
 
41
 
 
42
 
 
43
JRDBOOT_Files = dsc.cpp gds.cpp isc.cpp isc_ipc.cpp $(JRDBOOT_Extra_Files)
 
44
JRDBOOT_Sources = $(addprefix jrd/, $(JRDBOOT_Files))
 
45
JRDBOOT_Objects = $(addprefix $(OBJ)/, $(addsuffix .o, $(basename $(JRDBOOT_Sources))))
 
46
 
 
47
 
 
48
GPRECOMMON_Files += cmd.cpp cme.cpp cmp.cpp c_cxx.cpp exp.cpp \
 
49
                gpre.cpp hsh.cpp int_cxx.cpp jrdmet.cpp movg.cpp \
 
50
                msc.cpp par.cpp pat.cpp sqe.cpp sql.cpp
 
51
 
 
52
GPRE_Files = $(GPRECOMMON_Files) pretty.cpp gpre_meta_boot.cpp
 
53
GPRE_Sources = $(addprefix gpre/, $(GPRE_Files))
 
54
GPRE_Objects = $(addprefix $(OBJ)/, $(addsuffix .o, $(basename $(GPRE_Sources))))
 
55
 
 
56
 
 
57
 
 
58
GPREBOOT_Objects = $(JRDBOOT_Objects) $(GPRE_Objects) $(OS_SPECIFIC_Objects) \
 
59
 $(FBCOMMON_Objects) $(FBCONFIG_Objects) $(FBCLASSES_ClientObjects) $(FBCLASSES_MsgObjects)
 
60
 
 
61
AllObjects = $(GPREBOOT_Objects)
 
62
 
 
63
Dependencies = $(AllObjects:.o=.d) 
 
64
 
 
65
 
 
66
 
 
67
.PHONY: gpre_boot
 
68
 
 
69
 
 
70
gpre_boot : $(GPRE_BOOT)
 
71
 
 
72
$(GPRE_BOOT):   $(GPREBOOT_Objects)
 
73
        $(STATICEXE_LINK) $(LINK_OPTS) $^ -o $@ -L$(LIB) $(LINK_LIBS)
 
74
        -$(RM) $(GPRE_CURRENT)
 
75
        (cd $(@D); $(LN) $(@F) $(notdir $(GPRE_CURRENT)))
 
76
 
 
77
 
 
78
 
 
79
include $(ROOT)/gen/make.shared.targets
 
80
 
 
81
 
 
82
-include $(Dependencies)