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 
24 PRJ=..$/..$/..
25 PRJNAME=embeddedobj
26 TARGET=nativeview
27 # LIBTARGET=NO
28 USE_DEFFILE=TRUE
29 ENABLE_EXCEPTIONS=TRUE
30 VERSIONOBJ=
31 PACKAGE=embeddedobj$/test
32 
33 USE_JAVAVER:=TRUE
34 
35 # --- Settings -----------------------------------------------------
36 
37 .INCLUDE :  settings.mk
38 
39 # --- Files --------------------------------------------------------
40 
41 .IF "$(JAVANUMVER:s/.//)" >= "000100040000"
42 
43 SLOFILES= $(SLO)$/nativeview.obj
44 
45 SHL1TARGET=$(TARGET)
46 SHL1IMPLIB=i$(SHL1TARGET)
47 
48 SHL1STDLIBS= \
49 	jawt.lib
50 
51 SHL1OBJS=$(SLOFILES)
52 SHL1VERSIONOBJ=
53 
54 DEF1NAME=$(SHL1TARGET)
55 DEF1EXPORTFILE=exports.dxp
56 
57 SHL1HEADER=nativeview.h
58 
59 .ENDIF                  # "$(JAVANUMVER:s/.//)" >= "000100040000"
60 
61 # --- Targets ------------------------------------------------------
62 
63 .INCLUDE :      target.mk
64 
65 .IF "$(JAVANUMVER:s/.//)" >= "000100040000"
66 
67 $(SLO)$/nativeview.obj : $(SHL1HEADER)
68 
69 $(SHL1HEADER) :
70         javah -classpath $(OUT)$/class -o $(SHL1HEADER) embeddedobj.test
71 
72 .ENDIF                  # "$(JAVANUMVER:s/.//)" >= "000100040000"
73 
74 
75