xref: /AOO41X/main/jvmfwk/source/makefile.mk (revision 3c1322392c0f0de644bc78d910dc47c80f4e0163)
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 = jvmfwk
26FRAMEWORKLIB=jvmfwk
27TARGET = $(FRAMEWORKLIB)
28ENABLE_EXCEPTIONS = TRUE
29
30.IF "$(OS)" != "WNT" && "$(GUI)"!="OS2"
31UNIXVERSIONNAMES = UDK
32.ENDIF # WNT
33
34.INCLUDE: settings.mk
35
36.IF "$(SYSTEM_LIBXML)" == "YES"
37INCSYSTEM+=$(LIBXML_CFLAGS)
38CFLAGS+=-DSYSTEM_LIBXML
39.ENDIF
40
41UNOUCROUT = $(OUT)$/inc
42
43SLOFILES = \
44    $(SLO)$/framework.obj \
45    $(SLO)$/libxmlutil.obj \
46    $(SLO)$/fwkutil.obj \
47    $(SLO)$/elements.obj \
48    $(SLO)$/fwkbase.obj
49
50
51#LIB1TARGET=$(SLB)$/$(FRAMEWORKLIB).lib
52
53.IF "$(UNIXVERSIONNAMES)" == ""
54SHL1TARGET = $(FRAMEWORKLIB)$(UDK_MAJOR)
55.ELSE # UNIXVERSIONNAMES
56SHL1TARGET = $(FRAMEWORKLIB)
57.ENDIF # UNIXVERSIONNAMES
58
59#SHL1TARGET=$(FRAMEWORKLIB)
60SHL1DEPN=
61SHL1IMPLIB = i$(FRAMEWORKLIB)
62SHL1LIBS = $(SLB)$/$(TARGET).lib
63SHL1STDLIBS = $(CPPUHELPERLIB) $(SALLIB) $(LIBXML2LIB)
64SHL1RPATH = URELIB
65
66.IF "$(OS)" == "WNT"
67SHL1STDLIBS += $(ADVAPI32LIB)
68.ENDIF # WNT
69
70SHL1VERSIONMAP = framework.map
71SHL1DEF=$(MISC)$/$(SHL1TARGET).def
72DEF1NAME = $(SHL1TARGET)
73
74.IF "$(GUI)"=="UNX"
75RCFILE=$(BIN)$/jvmfwk3rc
76.ELIF "$(GUI)"=="WNT" || "$(GUI)"=="OS2"
77RCFILE=$(BIN)$/jvmfwk3.ini
78.END
79
80
81.INCLUDE: target.mk
82$(RCFILE): jvmfwk3rc
83    -$(COPY) $< $@
84
85ALLTAR: \
86    $(RCFILE)
87
88