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=libtextcat 27TARGET=libtextcat 28 29.IF "$(SYSTEM_LIBTEXTCAT)" == "YES" 30all: 31 @echo "An already available installation of libtextcat should exist on your system." 32 @echo "Therefore the version provided here does not need to be built in addition." 33.ENDIF 34 35# --- Settings ----------------------------------------------------- 36 37.INCLUDE : settings.mk 38 39# --- Files -------------------------------------------------------- 40 41TARFILE_NAME=libtextcat-2.2 42TARFILE_MD5=128cfc86ed5953e57fe0f5ae98b62c2e 43TARFILE_ROOTDIR=libtextcat-2.2 44 45PATCH_FILES=libtextcat-2.2.patch 46 47 48ADDITIONAL_FILES= \ 49 src$/utf8misc.h \ 50 src$/utf8misc.c \ 51 src$/win32_config.h \ 52 src$/makefile.mk \ 53 src$/libtextcat.map 54 55.IF "$(GUI)"=="UNX" 56#CONFIGURE_DIR=$(BUILD_DIR) 57 58#relative to CONFIGURE_DIR 59CONFIGURE_ACTION=configure CFLAGS="$(ARCH_FLAGS) $(EXTRA_CFLAGS)" 60CONFIGURE_FLAGS=$(eq,$(OS),MACOSX CPPFLAGS="$(EXTRA_CDEFS)" $(NULL)) 61 62BUILD_ACTION=make 63 64OUT2LIB=$(BUILD_DIR)$/src$/.libs$/libtextcat*$(DLLPOST) 65 66.ENDIF # "$(GUI)"=="UNX" 67 68 69.IF "$(GUI)"=="WNT" || "$(GUI)"=="OS2" 70BUILD_ACTION=cd src && dmake $(MAKEMACROS) 71.ENDIF # "$(GUI)"=="WNT" || "$(GUI)"=="OS2" 72 73 74OUT2INC= \ 75 $(BUILD_DIR)$/src$/config.h \ 76 $(BUILD_DIR)$/src$/common.h \ 77 $(BUILD_DIR)$/src$/fingerprint.h \ 78 $(BUILD_DIR)$/src$/textcat.h \ 79 $(BUILD_DIR)$/src$/wg_mempool.h 80 81 82# --- Targets ------------------------------------------------------ 83 84.INCLUDE : set_ext.mk 85.INCLUDE : target.mk 86.INCLUDE : tg_ext.mk 87 88