~ubuntu-branches/ubuntu/quantal/zeroc-ice/quantal

« back to all changes in this revision

Viewing changes to cpp/src/IceBox/Makefile.mak

  • Committer: Bazaar Package Importer
  • Author(s): Cleto Martin Angelina
  • Date: 2011-04-25 18:44:24 UTC
  • mfrom: (6.1.14 sid)
  • Revision ID: james.westby@ubuntu.com-20110425184424-sep9i9euu434vq4c
Tags: 3.4.1-7
* Bug fix: "libdb5.1-java.jar was renamed to db.jar", thanks to Ondřej
  Surý (Closes: #623555).
* Bug fix: "causes noise in php5", thanks to Jayen Ashar (Closes:
  #623533).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# **********************************************************************
2
2
#
3
 
# Copyright (c) 2003-2009 ZeroC, Inc. All rights reserved.
 
3
# Copyright (c) 2003-2010 ZeroC, Inc. All rights reserved.
4
4
#
5
5
# This copy of Ice is licensed to you under the terms described in the
6
6
# ICE_LICENSE file included in this distribution.
10
10
top_srcdir      = ..\..
11
11
 
12
12
LIBNAME         = $(top_srcdir)\lib\icebox$(LIBSUFFIX).lib
13
 
DLLNAME         = $(top_srcdir)\bin\icebox$(SOVERSION)$(LIBSUFFIX).dll
 
13
DLLNAME         = $(top_srcdir)\bin\icebox$(COMPSUFFIX)$(SOVERSION)$(LIBSUFFIX).dll
14
14
 
15
15
SERVER_D        = $(top_srcdir)\bin\iceboxd.exe
16
16
SERVER_R        = $(top_srcdir)\bin\icebox.exe
48
48
APDBFLAGS       = /pdb:$(ADMIN:.exe=.pdb)
49
49
!endif
50
50
 
51
 
!if "$(BCPLUSPLUS)" == "yes"
52
 
RES_FILE        = ,, IceBox.res
53
 
SRES_FILE       = ,, IceBoxExe.res
54
 
ARES_FILE       = ,, IceBoxAdmin.res
55
 
!else
56
51
RES_FILE        = IceBox.res
57
52
SRES_FILE       = IceBoxExe.res
58
53
ARES_FILE       = IceBoxAdmin.res
59
 
!endif
60
54
 
61
55
$(LIBNAME): $(DLLNAME)
62
56
 
63
57
$(DLLNAME): $(OBJS) IceBox.res
64
 
        $(LINK) $(LD_DLLFLAGS) $(PDBFLAGS) $(OBJS) $(PREOUT)$@ $(PRELIBS)$(LIBS) $(RES_FILE)
 
58
        $(LINK) $(BASE):0x26000000 $(LD_DLLFLAGS) $(PDBFLAGS) $(OBJS) $(PREOUT)$@ $(PRELIBS)$(LIBS) $(RES_FILE)
65
59
        move $(DLLNAME:.dll=.lib) $(LIBNAME)
66
60
        @if exist $@.manifest echo ^ ^ ^ Embedding manifest using $(MT) && \
67
61
            $(MT) -nologo -manifest $@.manifest -outputresource:$@;#2 && del /q $@.manifest
86
80
        -del /q IceBox.res IceBoxAdmin.res IceBoxExe.res
87
81
 
88
82
install:: all
89
 
        copy $(LIBNAME) $(install_libdir)
90
 
        copy $(DLLNAME) $(install_bindir)
91
 
        copy $(SERVER) $(install_bindir)
92
 
        copy $(ADMIN) $(install_bindir)
93
 
 
94
 
 
95
 
!if "$(BCPLUSPLUS)" == "yes" && "$(OPTIMIZE)" != "yes"
96
 
 
97
 
install:: all
98
 
        copy $(DLLNAME:.dll=.tds) $(install_bindir)
99
 
        copy $(SERVER:.exe=.tds) $(install_bindir)
100
 
        copy $(ADMIN:.exe=.tds) $(install_bindir)
101
 
 
102
 
!elseif "$(GENERATE_PDB)" == "yes"
103
 
 
104
 
install:: all
105
 
        copy $(DLLNAME:.dll=.pdb) $(install_bindir)
106
 
        copy $(SERVER:.exe=.pdb) $(install_bindir)
107
 
        copy $(ADMIN:.exe=.pdb) $(install_bindir)
 
83
        copy $(LIBNAME) "$(install_libdir)"
 
84
        copy $(DLLNAME) "$(install_bindir)"
 
85
        copy $(SERVER) "$(install_bindir)"
 
86
        copy $(ADMIN) "$(install_bindir)"
 
87
 
 
88
 
 
89
!if "$(GENERATE_PDB)" == "yes"
 
90
 
 
91
install:: all
 
92
        copy $(DLLNAME:.dll=.pdb) "$(install_bindir)"
 
93
        copy $(SERVER:.exe=.pdb) "$(install_bindir)"
 
94
        copy $(ADMIN:.exe=.pdb) "$(install_bindir)"
108
95
 
109
96
!endif
110
97
 
111
 
!include .depend
 
98
!include .depend.mak