blob: 09811b8be47589f89d617156467487c5d4e719b4 (
plain)
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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
|
# **********************************************************************
#
# Copyright (c) 2003-2016 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.php
#
# IMPORTANT: If you add or remove Slice files, you also need to check Ice.php!
#
ICE_SRCS = Ice\LocalException.php \
Ice\Communicator.php \
Ice\CommunicatorF.php \
Ice\Logger.php \
Ice\LoggerF.php \
Ice\BuiltinSequences.php \
Ice\ObjectAdapterF.php \
Ice\PropertiesAdmin.php \
Ice\Properties.php \
Ice\PropertiesF.php \
Ice\ObjectFactory.php \
Ice\ObjectFactoryF.php \
Ice\Identity.php \
Ice\Current.php \
Ice\ImplicitContextF.php \
Ice\ImplicitContext.php \
Ice\RemoteLogger.php \
Ice\Router.php \
Ice\RouterF.php \
Ice\Plugin.php \
Ice\PluginF.php \
Ice\Locator.php \
Ice\LocatorF.php \
Ice\Process.php \
Ice\ProcessF.php \
Ice\FacetMap.php \
Ice\Connection.php \
Ice\ConnectionF.php \
Ice\SliceChecksumDict.php \
Ice\Endpoint.php \
Ice\EndpointF.php \
Ice\EndpointTypes.php \
Ice\Version.php \
Ice\InstrumentationF.php \
Ice\Instrumentation.php \
Ice\Metrics.php
#
# IMPORTANT: If you add or remove Slice files, you also need to check Glacier2.php!
#
GLACIER2_SRCS = Glacier2\RouterF.php \
Glacier2\Router.php \
Glacier2\Session.php \
Glacier2\PermissionsVerifierF.php \
Glacier2\PermissionsVerifier.php \
Glacier2\SSLInfo.php \
Glacier2\Metrics.php
#
# IMPORTANT: If you add or remove Slice files, you also need to check IceBox.php!
#
ICEBOX_SRCS = IceBox\IceBox.php
#
# IMPORTANT: If you add or remove Slice files, you also need to check IceGrid.php!
#
ICEGRID_SRCS = IceGrid\Admin.php \
IceGrid\Descriptor.php \
IceGrid\Exception.php \
IceGrid\FileParser.php \
IceGrid\Locator.php \
IceGrid\Observer.php \
IceGrid\Query.php \
IceGrid\Registry.php \
IceGrid\Session.php \
IceGrid\UserAccountMapper.php
#
# IMPORTANT: If you add or remove Slice files, you also need to check IcePatch2.php!
#
ICEPATCH2_SRCS = IcePatch2\FileInfo.php \
IcePatch2\FileServer.php
#
# IMPORTANT: If you add or remove Slice files, you also need to check IceStorm.php!
#
ICESTORM_SRCS = IceStorm\IceStorm.php \
IceStorm\Metrics.php
ALL_SRCS = $(ICE_SRCS) \
$(GLACIER2_SRCS) \
$(ICEBOX_SRCS) \
$(ICEGRID_SRCS) \
$(ICEPATCH2_SRCS) \
$(ICESTORM_SRCS)
DEPENDS = $(ALL_SRCS:.php=.d)
MODULES = Glacier2 Ice IceBox IceGrid IcePatch2 IceStorm
!if "$(USE_NAMESPACES)" == "yes"
MODULE_SRCS = Glacier2.php Ice_ns.php IceBox.php IceGrid.php IcePatch2.php IceStorm.php
!else
MODULE_SRCS = Glacier2.php Ice.php IceBox.php IceGrid.php IcePatch2.php IceStorm.php
!endif
SLICE2PHPFLAGS = $(SLICE2PHPFLAGS) --ice
all:: $(ALL_SRCS)
$(MODULES):
-$(MKDIR) $@
$(ALL_SRCS): $(MODULES) {$(slicedir)}$*.ice "$(SLICE2PHP)" "$(SLICEPARSERLIB)"
-"$(SLICE2PHP)" $(SLICE2PHPFLAGS) --output-dir $(*D) "$(slicedir)\$*.ice"
{$(slicedir)\Ice\}.ice{Ice\}.d:
@echo Generating dependencies for $<
@"$(SLICE2PHP)" $(SLICE2PHPFLAGS) --output-dir Ice --depend "$<" | \
cscript /NoLogo $(top_srcdir)\..\config\makedepend-slice.vbs $(*F).ice
{$(slicedir)\Glacier2\}.ice{Glacier2\}.d:
@echo Generating dependencies for $<
@"$(SLICE2PHP)" $(SLICE2PHPFLAGS) --output-dir Glacier2 --depend "$<" | \
cscript /NoLogo $(top_srcdir)\..\config\makedepend-slice.vbs $(*F).ice
{$(slicedir)\IceBox\}.ice{IceBox\}.d:
@echo Generating dependencies for $<
@"$(SLICE2PHP)" $(SLICE2PHPFLAGS) --output-dir IceBox --depend "$<" | \
cscript /NoLogo $(top_srcdir)\..\config\makedepend-slice.vbs $(*F).ice
{$(slicedir)\IceGrid\}.ice{IceGrid\}.d:
@echo Generating dependencies for $<
@"$(SLICE2PHP)" $(SLICE2PHPFLAGS) --output-dir IceGrid --depend "$<" | \
cscript /NoLogo $(top_srcdir)\..\config\makedepend-slice.vbs $(*F).ice
{$(slicedir)\IcePatch2\}.ice{IcePatch2\}.d:
@echo Generating dependencies for $<
@"$(SLICE2PHP)" $(SLICE2PHPFLAGS) --output-dir IcePatch2 --depend "$<" | \
cscript /NoLogo $(top_srcdir)\..\config\makedepend-slice.vbs $(*F).ice
{$(slicedir)\IceStorm\}.ice{IceStorm\}.d:
@echo Generating dependencies for $<
@"$(SLICE2PHP)" $(SLICE2PHPFLAGS) --output-dir IceStorm --depend "$<" | \
cscript /NoLogo $(top_srcdir)\..\config\makedepend-slice.vbs $(*F).ice
depend:: $(DEPENDS)
install:: $(ALL_SRCS)
@echo "Installing generated code"
@for %i in ( $(MODULES) ) do \
@if not exist "$(install_phpdir)\%i" \
$(MKDIR) "$(install_phpdir)\%i"
@for %i in ( $(MODULES) ) do \
copy %i\* "$(install_phpdir)\%i"
@for %i in ( $(MODULE_SRCS) ) do \
copy %i "$(install_phpdir)"
clean::
-rmdir /S /Q $(MODULES)
|