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=embeddedobj 26TARGET=nativeview 27# LIBTARGET=NO 28USE_DEFFILE=TRUE 29ENABLE_EXCEPTIONS=TRUE 30VERSIONOBJ= 31PACKAGE=embeddedobj$/test 32 33USE_JAVAVER:=TRUE 34 35# --- Settings ----------------------------------------------------- 36 37.INCLUDE : settings.mk 38 39# --- Files -------------------------------------------------------- 40 41.IF "$(JAVANUMVER:s/.//)" >= "000100040000" 42 43SLOFILES= $(SLO)$/nativeview.obj 44 45SHL1TARGET=$(TARGET) 46SHL1IMPLIB=i$(SHL1TARGET) 47 48SHL1STDLIBS= \ 49 jawt.lib 50 51SHL1OBJS=$(SLOFILES) 52SHL1VERSIONOBJ= 53 54DEF1NAME=$(SHL1TARGET) 55DEF1EXPORTFILE=exports.dxp 56 57SHL1HEADER=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