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

« back to all changes in this revision

Viewing changes to .pc/local-CFLAGS.patch/builds/posix/Makefile.in.embed.fbudf

  • Committer: Bazaar Package Importer
  • Author(s): Damyan Ivanov
  • Date: 2011-04-22 18:59:44 UTC
  • mfrom: (2.1.24 sid)
  • Revision ID: james.westby@ubuntu.com-20110422185944-egwy9r5xynjddku5
Tags: 2.1.4.18393-0.ds2-2
* apply patch from upstream SVN fixing ICU collations
* remove lintian overrides about manpages shipped in dependency package
* claim compliancy with Policy 3.9.2

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:  Blas Rodriguez Somoza
 
26
#
 
27
#  Contributor(s):
 
28
 
29
#
 
30
#
 
31
ROOT=..
 
32
ObjModuleType=superclient
 
33
CFLAGS+=-DSUPERCLIENT @PTHREAD_CFLAGS@
 
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
UDF=    $(FIREBIRD)/UDF
 
43
 
 
44
FBUDF_Other_Sources = common/classes/timestamp.cpp
 
45
FBUDF_Files = fbudf.cpp
 
46
FBUDF_Sources = $(addprefix extlib/fbudf/, $(FBUDF_Files)) $(FBUDF_Other_Sources)
 
47
FBUDF_Objects = $(addprefix $(OBJ)/, $(addsuffix .o, $(basename $(FBUDF_Sources))))
 
48
 
 
49
UTIL_Files = ib_util.c
 
50
UTIL_Sources = $(addprefix extlib/, $(UTIL_Files))
 
51
UTIL_Objects = $(addprefix $(OBJ)/, $(addsuffix .o, $(basename $(UTIL_Sources))))
 
52
 
 
53
AllObjects = $(FBUDF_Objects) $(FBUTIL_Objects)
 
54
Dependencies = $(AllObjects:.o=.d)
 
55
 
 
56
 
 
57
.PHONY: all lib_fbudf
 
58
 
 
59
all: lib_fbudf
 
60
 
 
61
 
 
62
#
 
63
# User defined functions.  (I've put the .$(SHRLIB_EXT) extension back onto the library)
 
64
 
65
 
 
66
lib_fbudf: $(UDF)/fbudf.$(SHRLIB_EXT) 
 
67
 
 
68
$(UDF)/fbudf.$(SHRLIB_EXT):     $(FBUDF_Objects) $(FBUTIL_Objects)
 
69
ifeq ($(PLATFORM),win32)
 
70
        $(LIB_LINK) $(LIB_LINK_OPTIONS) $(LIB_LINK_SONAME)fbudf.$(SHRLIB_EXT) -L$(LIB) -lfbembed -o $@ $^
 
71
endif
 
72
ifeq ($(PLATFORM),DARWIN)
 
73
        $(LIB_LINK) $(LIB_BUNDLE_OPTIONS) \
 
74
-lm -o $@ $^
 
75
else
 
76
        $(LIB_LINK) $(LIB_LINK_OPTIONS) $(LIB_LINK_SONAME)fbudf.$(SHRLIB_EXT) \
 
77
$(LIB_LINK_RPATH)$(FirebirdInstallPrefix)/lib -lm -o $@ $^
 
78
endif
 
79
 
 
80
 
 
81
include $(ROOT)/gen/make.shared.targets
 
82
 
 
83
-include $(Dependencies)