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

« back to all changes in this revision

Viewing changes to demo/Ice/async/Makefile.mak

  • Committer: Bazaar Package Importer
  • Author(s): Francisco Moya
  • Date: 2008-02-12 16:28:20 UTC
  • mfrom: (4.1.5 hardy)
  • Revision ID: james.westby@ubuntu.com-20080212162820-x3e046s7nmabeswv
Tags: 3.2.1-8
Added -g to global compilation flags (Closes: #465074).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# **********************************************************************
 
2
#
 
3
# Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved.
 
4
#
 
5
# This copy of Ice is licensed to you under the terms described in the
 
6
# ICE_LICENSE file included in this distribution.
 
7
#
 
8
# **********************************************************************
 
9
 
 
10
top_srcdir      = ..\..\..
 
11
 
 
12
CLIENT          = client.exe
 
13
SERVER          = server.exe
 
14
 
 
15
TARGETS         = $(CLIENT) $(SERVER)
 
16
 
 
17
OBJS            = Hello.obj
 
18
 
 
19
COBJS           = Client.obj
 
20
 
 
21
SOBJS           = HelloI.obj \
 
22
                  Server.obj \
 
23
                  WorkQueue.obj
 
24
 
 
25
SRCS            = $(OBJS:.obj=.cpp) \
 
26
                  $(COBJS:.obj=.cpp) \
 
27
                  $(SOBJS:.obj=.cpp)
 
28
 
 
29
!include $(top_srcdir)/config/Make.rules.mak
 
30
 
 
31
CPPFLAGS        = -I. $(CPPFLAGS) -DWIN32_LEAN_AND_MEAN
 
32
 
 
33
!if "$(CPP_COMPILER)" != "BCC2006" && "$(OPTIMIZE)" != "yes"
 
34
CPDBFLAGS        = /pdb:$(CLIENT:.exe=.pdb)
 
35
SPDBFLAGS        = /pdb:$(SERVER:.exe=.pdb)
 
36
!endif
 
37
 
 
38
$(CLIENT): $(OBJS) $(COBJS)
 
39
        $(LINK) $(LD_EXEFLAGS) $(CPDBFLAGS) $(SETARGV) $(OBJS) $(COBJS) $(PREOUT)$@ $(PRELIBS)$(LIBS)
 
40
        @if exist $@.manifest echo ^ ^ ^ Embedding manifest using $(MT) && \
 
41
            $(MT) -nologo -manifest $@.manifest -outputresource:$@;#1 && del /q $@.manifest
 
42
 
 
43
$(SERVER): $(OBJS) $(SOBJS)
 
44
        $(LINK) $(LD_EXEFLAGS) $(SPDBFLAGS) $(SETARGV) $(OBJS) $(SOBJS) $(PREOUT)$@ $(PRELIBS)$(LIBS)
 
45
        @if exist $@.manifest echo ^ ^ ^ Embedding manifest using $(MT) && \
 
46
            $(MT) -nologo -manifest $@.manifest -outputresource:$@;#1 && del /q $@.manifest
 
47
 
 
48
clean::
 
49
        del /q Hello.cpp Hello.h
 
50
 
 
51
!include .depend