1*8f71f2daSDamjan Jovanovic#************************************************************** 2*8f71f2daSDamjan Jovanovic# 3*8f71f2daSDamjan Jovanovic# Licensed to the Apache Software Foundation (ASF) under one 4*8f71f2daSDamjan Jovanovic# or more contributor license agreements. See the NOTICE file 5*8f71f2daSDamjan Jovanovic# distributed with this work for additional information 6*8f71f2daSDamjan Jovanovic# regarding copyright ownership. The ASF licenses this file 7*8f71f2daSDamjan Jovanovic# to you under the Apache License, Version 2.0 (the 8*8f71f2daSDamjan Jovanovic# "License"); you may not use this file except in compliance 9*8f71f2daSDamjan Jovanovic# with the License. You may obtain a copy of the License at 10*8f71f2daSDamjan Jovanovic# 11*8f71f2daSDamjan Jovanovic# http://www.apache.org/licenses/LICENSE-2.0 12*8f71f2daSDamjan Jovanovic# 13*8f71f2daSDamjan Jovanovic# Unless required by applicable law or agreed to in writing, 14*8f71f2daSDamjan Jovanovic# software distributed under the License is distributed on an 15*8f71f2daSDamjan Jovanovic# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*8f71f2daSDamjan Jovanovic# KIND, either express or implied. See the License for the 17*8f71f2daSDamjan Jovanovic# specific language governing permissions and limitations 18*8f71f2daSDamjan Jovanovic# under the License. 19*8f71f2daSDamjan Jovanovic# 20*8f71f2daSDamjan Jovanovic#************************************************************** 21*8f71f2daSDamjan Jovanovic 22*8f71f2daSDamjan Jovanovic 23*8f71f2daSDamjan Jovanovic 24*8f71f2daSDamjan Jovanovic$(eval $(call gb_Executable_Executable,javamaker)) 25*8f71f2daSDamjan Jovanovic 26*8f71f2daSDamjan Jovanovic$(eval $(call gb_Executable_set_targettype_gui,javamaker,NO)) 27*8f71f2daSDamjan Jovanovic 28*8f71f2daSDamjan Jovanovic$(eval $(call gb_StaticLibrary_add_package_headers,javamaker,codemaker_inc)) 29*8f71f2daSDamjan Jovanovic 30*8f71f2daSDamjan Jovanovic$(eval $(call gb_Library_add_precompiled_header,javamaker,$(SRCDIR)/commoncpp/inc/pch/precompiled_javamaker)) 31*8f71f2daSDamjan Jovanovic 32*8f71f2daSDamjan Jovanovic$(eval $(call gb_Executable_set_include,javamaker,\ 33*8f71f2daSDamjan Jovanovic $$(INCLUDE) \ 34*8f71f2daSDamjan Jovanovic -I$(SRCDIR)/codemaker/inc/ \ 35*8f71f2daSDamjan Jovanovic -I$(SRCDIR)/codemaker/inc/pch \ 36*8f71f2daSDamjan Jovanovic)) 37*8f71f2daSDamjan Jovanovic 38*8f71f2daSDamjan Jovanovic#$(eval $(call gb_Executable_add_defs,javamaker,\ 39*8f71f2daSDamjan Jovanovic# -D_TOOLS_STRINGLIST \ 40*8f71f2daSDamjan Jovanovic#)) 41*8f71f2daSDamjan Jovanovic 42*8f71f2daSDamjan Jovanovic$(eval $(call gb_Executable_add_linked_libs,javamaker,\ 43*8f71f2daSDamjan Jovanovic reg \ 44*8f71f2daSDamjan Jovanovic sal \ 45*8f71f2daSDamjan Jovanovic salhelper \ 46*8f71f2daSDamjan Jovanovic stl \ 47*8f71f2daSDamjan Jovanovic $(gb_STDLIBS) \ 48*8f71f2daSDamjan Jovanovic)) 49*8f71f2daSDamjan Jovanovic 50*8f71f2daSDamjan Jovanovic$(eval $(call gb_Executable_add_linked_static_libs,javamaker,\ 51*8f71f2daSDamjan Jovanovic codemaker \ 52*8f71f2daSDamjan Jovanovic commonjava \ 53*8f71f2daSDamjan Jovanovic)) 54*8f71f2daSDamjan Jovanovic 55*8f71f2daSDamjan Jovanovic$(eval $(call gb_Executable_add_exception_objects,javamaker,\ 56*8f71f2daSDamjan Jovanovic codemaker/source/javamaker/classfile \ 57*8f71f2daSDamjan Jovanovic codemaker/source/javamaker/javamaker \ 58*8f71f2daSDamjan Jovanovic codemaker/source/javamaker/javaoptions \ 59*8f71f2daSDamjan Jovanovic codemaker/source/javamaker/javatype \ 60*8f71f2daSDamjan Jovanovic)) 61*8f71f2daSDamjan Jovanovic 62*8f71f2daSDamjan Jovanovic# vim: set noet sw=4 ts=4: 63