xref: /aoo41x/main/vos/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
24RTLLIB=irtl.lib
25
26PRJ=..
27
28PRJNAME=vos
29TARGET=vos
30TARGETTYPE=CUI
31
32# --- Settings -----------------------------------------------------
33
34.INCLUDE :  settings.mk
35.INCLUDE :  ..$/version.mk
36
37# --- Files --------------------------------------------------------
38
39SHL1TARGET=$(VOS_TARGET)$(VOS_MAJOR)$(COMID)
40SHL1IMPLIB=i$(TARGET)
41
42.IF "$(GUI)"=="WNT"
43SHL1STDLIBS=$(WSOCK32LIB) $(SALLIB)
44.ELSE
45SHL1STDLIBS=$(SALLIB)
46.ENDIF
47
48SHL1LIBS=    $(SLB)$/cpp$(TARGET).lib
49.IF "$(GUI)" != "UNX"
50.IF "$(COM)" != "GCC"
51SHL1OBJS=    \
52    $(SLO)$/object.obj
53.ENDIF
54.ENDIF
55
56SHL1DEPN=
57SHL1DEF=    $(MISC)$/$(SHL1TARGET).def
58
59DEF1NAME    =$(SHL1TARGET)
60DEF1DEPN    =$(MISC)$/$(SHL1TARGET).flt
61DEFLIB1NAME =cppvos
62
63# --- Targets ------------------------------------------------------
64
65.INCLUDE :  target.mk
66
67$(MISC)$/$(SHL1TARGET).flt:
68    @echo ------------------------------
69    @echo Making: $@
70    @echo WEP > $@
71    @echo LIBMAIN >> $@
72    @echo LibMain >> $@
73    @echo _alloc >> $@
74    @echo alloc >> $@
75    @echo _CT >> $@
76    @echo _TI2 >> $@
77    @echo _TI1 >> $@
78    @echo exception::exception >> $@
79    @echo @std@ >> $@
80    @echo __>>$@
81
82