1#**************************************************************
2#
3#  Licensed to the Apache Software Foundation (ASF) under one
4#  or more contributor license agreements.  See the NOTICE file
5#  distributed with this work for additional information
6#  regarding copyright ownership.  The ASF licenses this file
7#  to you under the Apache License, Version 2.0 (the
8#  "License"); you may not use this file except in compliance
9#  with the License.  You may obtain a copy of the License at
10#
11#    http://www.apache.org/licenses/LICENSE-2.0
12#
13#  Unless required by applicable law or agreed to in writing,
14#  software distributed under the License is distributed on an
15#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16#  KIND, either express or implied.  See the License for the
17#  specific language governing permissions and limitations
18#  under the License.
19#
20#**************************************************************
21
22
23
24PRJ = ..$/..
25PRJNAME = cli_ure
26
27# for dummy
28TARGET = dynload
29
30.INCLUDE : settings.mk
31.INCLUDE : $(PRJ)$/util$/makefile.pmk
32
33.INCLUDE : $(PRJ)$/util$/target.pmk
34.INCLUDE : target.mk
35
36.IF "$(BUILD_FOR_CLI)" != ""
37
38ALLTAR : \
39	$(OUT)$/bin$/dynload.exe
40
41CSFILES = \
42	dynload.cs
43
44$(OUT)$/bin$/dynload.exe : $(CSFILES)
45		$(CSC) $(CSCFLAGS) \
46		-target:exe \
47		-out:$@ \
48		-reference:$(OUT)$/bin$/cli_ure.dll \
49		-reference:$(OUT)$/bin$/cli_types.dll \
50		-reference:$(OUT)$/bin$/cli_cppuhelper.dll \
51		-reference:System.dll \
52		$(CSFILES)
53
54#$(OUT)$/bin$/dynload.ini : $(OUT)$/bin$/types.rdb
55#	$(GNUCOPY) -p dynload.ini $(OUT)$/bin
56
57#$(OUT)$/bin$/types.rdb $(OUT)$/bin$/services.rdb
58
59#$(BIN)$/types.rdb : $(SOLARBINDIR)$/types.rdb
60#	$(GNUCOPY) -p $? $@
61
62
63
64.ENDIF
65