xref: /aoo41x/main/ucbhelper/util/makefile.mk (revision 7871dc3e)
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=..
25
26PRJNAME=	ucbhelper
27TARGET=		ucbhelper
28
29# --- Settings -----------------------------------------------------
30
31.INCLUDE :	settings.mk
32.INCLUDE :	..$/version.mk
33
34# --- Files --------------------------------------------------------
35
36LIB1TARGET=	$(SLB)$/$(TARGET).lib
37LIB1FILES=	$(SLB)$/client.lib \
38			$(SLB)$/provider.lib
39
40SHL1TARGET=	$(TARGET)$(UCBHELPER_MAJOR)$(COMID)
41.IF "$(GUI)" == "OS2"
42SHL1TARGET=	ucbh$(UCBHELPER_MAJOR)
43.ENDIF
44SHL1STDLIBS = \
45    $(CPPUHELPERLIB) \
46    $(CPPULIB) \
47    $(SALHELPERLIB) \
48    $(SALLIB)
49
50SHL1DEPN=
51SHL1IMPLIB=	i$(TARGET)
52SHL1USE_EXPORTS=name
53SHL1LIBS=	$(LIB1TARGET)
54SHL1DEF=	$(MISC)$/$(SHL1TARGET).def
55
56DEF1NAME=	$(SHL1TARGET)
57DEF1DEPN=	$(MISC)$/$(SHL1TARGET).flt
58DEFLIB1NAME=	$(TARGET)
59DEF1DES=	Universal Content Broker - Helpers
60
61# --- Targets ------------------------------------------------------
62
63.INCLUDE :	target.mk
64
65# --- Filter -----------------------------------------------------------
66
67$(MISC)$/$(SHL1TARGET).flt : ucbhelper.flt
68	@echo ------------------------------
69	@echo Making: $@
70	@$(TYPE) ucbhelper.flt > $@
71
72