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=. 25 26PRJNAME=mythes 27TARGET=mythes 28 29# --- Settings ----------------------------------------------------- 30 31.INCLUDE : settings.mk 32 33# --- Files -------------------------------------------------------- 34 35 36TARFILE_NAME=mythes-1.2.0 37TARFILE_MD5=067201ea8b126597670b5eff72e1f66c 38 39ADDITIONAL_FILES += makefile.mk 40 41PATCH_FILES=mythes-1.2.0-vanilla-th-gen-idx.patch \ 42 mythes-1.2.0-makefile-mk.diff \ 43 mythes-1.2.0-disable-example.patch 44 45.IF "$(GUI)"=="UNX" 46CONFIGURE_DIR=$(BUILD_DIR) 47 48.IF "$(SYSTEM_MYTHES)" != "YES" 49 50#relative to CONFIGURE_DIR 51# still needed also in system-mythes case as it creates the makefile 52CONFIGURE_ACTION=configure 53CONFIGURE_FLAGS= --disable-shared --with-pic 54 55.IF "$(COM)"=="C52" && "$(CPU)"=="U" 56LCL_CONFIGURE_CFLAGS+=-m64 57.ENDIF 58 59.IF "$(SYSBASE)"!="" 60.IF "$(EXTRA_CFLAGS)"!="" 61LCL_CONFIGURE_CFLAGS+=$(EXTRA_CFLAGS) 62CONFIGURE_FLAGS+=CXXFLAGS="$(EXTRA_CFLAGS)" 63.ENDIF # "$(EXTRA_CFLAGS)"!="" 64.ELIF "$(OS)"=="MACOSX" # "$(SYSBASE)"!="" 65CONFIGURE_FLAGS+=CPPFLAGS="$(EXTRA_CDEFS)" 66.ENDIF 67 68.IF "$(LCL_CONFIGURE_CFLAGS)"!="" 69CONFIGURE_FLAGS+=CFLAGS='$(LCL_CONFIGURE_CFLAGS)' 70.ENDIF 71 72BUILD_ACTION=make 73OUT2INC += mythes.hxx 74.ENDIF 75.ENDIF # "$(GUI)"=="UNX" 76 77 78.IF "$(GUI)"=="WNT" 79.IF "$(COM)"=="GCC" 80CONFIGURE_ACTION=configure 81CONFIGURE_FLAGS= --disable-shared --with-pic 82 83BUILD_ACTION=make 84 85.ELSE 86BUILD_ACTION=dmake 87.ENDIF # "$(COM)"=="GCC" 88OUT2INC += mythes.hxx 89.ENDIF # "$(GUI)"=="WNT" 90 91.IF "$(GUI)"=="OS2" 92BUILD_ACTION=dmake 93OUT2INC += mythes.hxx 94.ENDIF # "$(GUI)"=="OS2" 95 96# --- Targets ------------------------------------------------------ 97 98.INCLUDE : set_ext.mk 99.INCLUDE : target.mk 100.INCLUDE : tg_ext.mk 101