ICE 3.4.2
[php5-ice-freebsdport.git] / Makefile.mak
blob5e384c49481ec814b76506b2a7108ee64b80a772
1 # **********************************************************************
3 # Copyright (c) 2003-2011 ZeroC, Inc. All rights reserved.
5 # This copy of Ice is licensed to you under the terms described in the
6 # ICE_LICENSE file included in this distribution.
8 # **********************************************************************
10 top_srcdir = cpp
11 !include cpp/config/Make.rules.mak
13 SUBDIRS = cpp java py php
14 CLEAN_SUBDIRS = java py php cpp
15 DEPEND_SUBDIRS = cpp py php
16 INSTALL_SUBDIRS = cpp java py php
18 !if "$(CPP_COMPILER)" == "VC60"
19 SUBDIRS = $(SUBDIRS) rb
20 CLEAN_SUBDIRS = rb $(CLEAN_SUBDIRS)
21 DEPEND_SUBDIRS = $(DEPEND_SUBDIRS) rb
22 INSTALL_SUBDIRS = $(INSTALL_SUBDIRS) rb
23 !else
24 SUBDIRS = $(SUBDIRS) cs vb vsaddin
25 CLEAN_SUBDIRS = cs vb vsaddin $(CLEAN_SUBDIRS)
26 DEPEND_SUBDIRS = $(DEPEND_SUBDIRS) cs vb
27 INSTALL_SUBDIRS = $(INSTALL_SUBDIRS) cs
28 !endif
30 all::
31 @for %i in ( $(SUBDIRS) ) do \
32 @echo "making all in %i" && \
33 cmd /c "cd %i && $(MAKE) -nologo -f Makefile.mak $(MAKEFLAGS) all" || exit 1
35 clean::
36 @for %i in ( $(SUBDIRS) ) do \
37 @echo "making clean in %i" && \
38 cmd /c "cd %i && $(MAKE) -nologo -f Makefile.mak $(MAKEFLAGS) clean" || exit 1
40 depend::
41 @for %i in ( $(DEPEND_SUBDIRS) ) do \
42 @echo "making depend in %i" && \
43 cmd /c "cd %i && $(MAKE) -nologo -f Makefile.mak $(MAKEFLAGS) depend" || exit 1
45 install::
46 @for %i in ( $(INSTALL_SUBDIRS) ) do \
47 @echo "making install in %i" && \
48 cmd /c "cd %i && $(MAKE) -nologo -f Makefile.mak $(MAKEFLAGS) install" || exit 1
50 cpp::
51 @echo "making all in cpp" && \
52 cmd /c "cd cpp && $(MAKE) -nologo -f Makefile.mak $(MAKEFLAGS) all" || exit 1
54 java::
55 @echo "making all in java" && \
56 cmd /c "cd java && $(MAKE) -nologo -f Makefile.mak $(MAKEFLAGS) all" || exit 1
58 cs::
59 @echo "making all in cs" && \
60 cmd /c "cd cs && $(MAKE) -nologo -f Makefile.mak $(MAKEFLAGS) all" || exit 1
62 vb::
63 @echo "making all in vb" && \
64 cmd /c "cd vb && $(MAKE) -nologo -f Makefile.mak $(MAKEFLAGS) all" || exit 1
66 py::
67 @echo "making all in py" && \
68 cmd /c "cd py && $(MAKE) -nologo -f Makefile.mak $(MAKEFLAGS) all" || exit 1
70 rb::
71 @echo "making all in rb" && \
72 cmd /c "cd rb && $(MAKE) -nologo -f Makefile.mak $(MAKEFLAGS) all" || exit 1
74 php::
75 @echo "making all in php" && \
76 cmd /c "cd php && $(MAKE) -nologo -f Makefile.mak $(MAKEFLAGS) all" || exit 1
78 vsaddin::
79 @echo "making all in vsaddin" && \
80 cmd /c "cd vsaddin && $(MAKE) -nologo -f Makefile.mak $(MAKEFLAGS) all" || exit 1