File: Makefile.mak

package info (click to toggle)
zeroc-ice 3.3.1-12
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 40,720 kB
  • ctags: 46,971
  • sloc: cpp: 241,481; java: 104,729; cs: 66,568; python: 18,996; makefile: 5,797; xml: 5,397; ruby: 4,788; php: 3,172; yacc: 3,113; lex: 2,223; ansic: 1,249; perl: 1,200; sh: 182; sql: 73
file content (119 lines) | stat: -rw-r--r-- 3,068 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
# **********************************************************************
#
# Copyright (c) 2003-2009 ZeroC, Inc. All rights reserved.
#
# This copy of Ice is licensed to you under the terms described in the
# ICE_LICENSE file included in this distribution.
#
# **********************************************************************

top_srcdir	= ..

!include $(top_srcdir)\config\Make.rules.mak

#
# IMPORTANT: If you add or remove Slice files, you also need to check Ice.rb!
#
ICE_SRCS	= Ice\LocalException.rb \
		  Ice\Communicator.rb \
		  Ice\CommunicatorF.rb \
		  Ice\Logger.rb \
		  Ice\LoggerF.rb \
		  Ice\BuiltinSequences.rb \
		  Ice\ObjectAdapterF.rb \
		  Ice\Properties.rb \
		  Ice\PropertiesF.rb \
		  Ice\ObjectFactory.rb \
		  Ice\ObjectFactoryF.rb \
		  Ice\Identity.rb \
		  Ice\Current.rb \
		  Ice\ImplicitContextF.rb \
		  Ice\ImplicitContext.rb \
		  Ice\Router.rb \
		  Ice\RouterF.rb \
		  Ice\Plugin.rb \
		  Ice\PluginF.rb \
		  Ice\Locator.rb \
		  Ice\LocatorF.rb \
		  Ice\StatsF.rb \
		  Ice\Stats.rb \
		  Ice\Process.rb \
		  Ice\ProcessF.rb \
		  Ice\FacetMap.rb \
		  Ice\Connection.rb \
		  Ice\ConnectionF.rb \
		  Ice\SliceChecksumDict.rb \
		  Ice\Endpoint.rb

#
# IMPORTANT: If you add or remove Slice files, you also need to check Glacier2.rb!
#
GLACIER2_SRCS	= Glacier2\RouterF.rb \
		  Glacier2\Router.rb \
		  Glacier2\SessionF.rb \
		  Glacier2\Session.rb \
		  Glacier2\PermissionsVerifierF.rb \
		  Glacier2\PermissionsVerifier.rb \
		  Glacier2\SSLInfo.rb

#
# IMPORTANT: If you add or remove Slice files, you also need to check IceBox.rb!
#
ICEBOX_SRCS	= IceBox\IceBox.rb

#
# IMPORTANT: If you add or remove Slice files, you also need to check IceGrid.rb!
#
ICEGRID_SRCS	= IceGrid\Admin.rb \
		  IceGrid\Descriptor.rb \
		  IceGrid\Exception.rb \
		  IceGrid\FileParser.rb \
		  IceGrid\Locator.rb \
		  IceGrid\Observer.rb \
		  IceGrid\Query.rb \
		  IceGrid\Registry.rb \
		  IceGrid\Session.rb \
		  IceGrid\UserAccountMapper.rb

#
# IMPORTANT: If you add or remove Slice files, you also need to check IcePatch2.rb!
#
ICEPATCH2_SRCS	= IcePatch2\FileInfo.rb \
		  IcePatch2\FileServer.rb

#
# IMPORTANT: If you add or remove Slice files, you also need to check IceStorm.rb!
#
ICESTORM_SRCS	= IceStorm\IceStorm.rb

ALL_SRCS	= $(ICE_SRCS) \
		  $(GLACIER2_SRCS) \
		  $(ICEBOX_SRCS) \
		  $(ICEGRID_SRCS) \
		  $(ICEPATCH2_SRCS) \
		  $(ICESTORM_SRCS)

MODULES		= Glacier2 Ice IceBox IceGrid IcePatch2 IceStorm

SLICE2RBFLAGS	= -I$(slicedir) --ice

all:: $(ALL_SRCS)

$(MODULES):
	-mkdir $@

$(ALL_SRCS): $(MODULES) {$(slicedir)}$*.ice
	-$(SLICE2RB) $(SLICE2RBFLAGS) --output-dir $(*D) $(slicedir)\$*.ice


install::
	@echo "Installing generated code"
	copy *.rb $(install_rubydir)
	@for %i in ( $(MODULES) ) do \
	    @if not exist $(install_rubydir)\%i \
	        mkdir $(install_rubydir)\%i
	@for %i in ( $(MODULES) ) do \
	    copy %i\* $(install_rubydir)\%i

clean::
	-rmdir /S /Q $(MODULES)