2007-01-12 05:40:54 -06:00
|
|
|
#*************************************************************************
|
|
|
|
#
|
|
|
|
# OpenOffice.org - a multi-platform office productivity suite
|
|
|
|
#
|
|
|
|
# $RCSfile: makefile.mk,v $
|
|
|
|
#
|
2008-01-04 08:02:43 -06:00
|
|
|
# $Revision: 1.6 $
|
2007-01-12 05:40:54 -06:00
|
|
|
#
|
2008-01-04 08:02:43 -06:00
|
|
|
# last change: $Author: obo $ $Date: 2008-01-04 15:02:43 $
|
2007-01-12 05:40:54 -06:00
|
|
|
#
|
|
|
|
# The Contents of this file are made available subject to
|
|
|
|
# the terms of GNU Lesser General Public License Version 2.1.
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# GNU Lesser General Public License Version 2.1
|
|
|
|
# =============================================
|
|
|
|
# Copyright 2005 by Sun Microsystems, Inc.
|
|
|
|
# 901 San Antonio Road, Palo Alto, CA 94303, USA
|
|
|
|
#
|
|
|
|
# This library is free software; you can redistribute it and/or
|
|
|
|
# modify it under the terms of the GNU Lesser General Public
|
|
|
|
# License version 2.1, as published by the Free Software Foundation.
|
|
|
|
#
|
|
|
|
# This library is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
# Lesser General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU Lesser General Public
|
|
|
|
# License along with this library; if not, write to the Free Software
|
|
|
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
|
|
|
# MA 02111-1307 USA
|
|
|
|
#
|
|
|
|
#*************************************************************************
|
|
|
|
|
|
|
|
PRJ=.
|
|
|
|
|
|
|
|
PRJNAME=libtextcat
|
|
|
|
TARGET=libtextcat
|
|
|
|
|
|
|
|
# --- Settings -----------------------------------------------------
|
|
|
|
|
|
|
|
.INCLUDE : settings.mk
|
|
|
|
|
|
|
|
# --- Files --------------------------------------------------------
|
|
|
|
|
|
|
|
TARFILE_NAME=libtextcat-2.2
|
|
|
|
TARFILE_ROOTDIR=libtextcat-2.2
|
|
|
|
|
|
|
|
PATCH_FILE_NAME=libtextcat-2.2.patch
|
|
|
|
|
|
|
|
|
|
|
|
ADDITIONAL_FILES= \
|
|
|
|
src$/utf8misc.h \
|
|
|
|
src$/utf8misc.c \
|
|
|
|
src$/win32_config.h \
|
2007-06-21 10:09:52 -05:00
|
|
|
src$/makefile.mk \
|
|
|
|
src$/libtextcat.map
|
2007-01-12 05:40:54 -06:00
|
|
|
|
|
|
|
.IF "$(GUI)"=="UNX"
|
|
|
|
#CONFIGURE_DIR=$(BUILD_DIR)
|
|
|
|
|
|
|
|
#relative to CONFIGURE_DIR
|
2008-01-04 08:02:43 -06:00
|
|
|
CONFIGURE_ACTION=configure CFLAGS="$(EXTRA_CFLAGS)"
|
2007-01-12 05:40:54 -06:00
|
|
|
CONFIGURE_FLAGS=
|
|
|
|
|
|
|
|
BUILD_ACTION=make
|
|
|
|
|
2007-06-21 10:09:52 -05:00
|
|
|
OUT2LIB=$(BUILD_DIR)$/src$/.libs$/libtextcat*$(DLLPOST)
|
2007-01-12 05:40:54 -06:00
|
|
|
|
|
|
|
.ENDIF # "$(GUI)"=="UNX"
|
|
|
|
|
|
|
|
|
2007-11-02 08:13:23 -05:00
|
|
|
.IF "$(GUI)"=="WNT" || "$(GUI)"=="OS2"
|
2007-11-01 05:00:03 -05:00
|
|
|
BUILD_ACTION=cd src && dmake $(MAKEMACROS)
|
2007-11-02 08:13:23 -05:00
|
|
|
.ENDIF # "$(GUI)"=="WNT" || "$(GUI)"=="OS2"
|
2007-01-12 05:40:54 -06:00
|
|
|
|
|
|
|
|
|
|
|
OUT2INC= \
|
|
|
|
$(BUILD_DIR)$/src$/config.h \
|
|
|
|
$(BUILD_DIR)$/src$/common.h \
|
|
|
|
$(BUILD_DIR)$/src$/fingerprint.h \
|
|
|
|
$(BUILD_DIR)$/src$/textcat.h \
|
|
|
|
$(BUILD_DIR)$/src$/wg_mempool.h
|
|
|
|
|
|
|
|
|
|
|
|
# --- Targets ------------------------------------------------------
|
|
|
|
|
|
|
|
.INCLUDE : set_ext.mk
|
|
|
|
.INCLUDE : target.mk
|
|
|
|
.INCLUDE : tg_ext.mk
|
|
|
|
|