summaryrefslogtreecommitdiff
path: root/writerfilter/source/rtftok/makefile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'writerfilter/source/rtftok/makefile.mk')
-rw-r--r--writerfilter/source/rtftok/makefile.mk82
1 files changed, 82 insertions, 0 deletions
diff --git a/writerfilter/source/rtftok/makefile.mk b/writerfilter/source/rtftok/makefile.mk
new file mode 100644
index 000000000000..61399f051e15
--- /dev/null
+++ b/writerfilter/source/rtftok/makefile.mk
@@ -0,0 +1,82 @@
+#************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# Copyright 2000, 2010 Oracle and/or its affiliates.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# This file is part of OpenOffice.org.
+#
+# OpenOffice.org is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License version 3
+# only, as published by the Free Software Foundation.
+#
+# OpenOffice.org 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 version 3 for more details
+# (a copy is included in the LICENSE file that accompanied this code).
+#
+# You should have received a copy of the GNU Lesser General Public License
+# version 3 along with OpenOffice.org. If not, see
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+# ***********************************************************************/
+
+PRJ=..$/..
+PRJNAME=writerfilter
+TARGET=rtftok
+#LIBTARGET=NO
+ENABLE_EXCEPTIONS=TRUE
+#USE_DEFFILE=TRUE
+EXTERNAL_WARNINGS_NOT_ERRORS=TRUE
+
+# --- Settings -----------------------------------------------------
+
+.INCLUDE : settings.mk
+.INCLUDE : $(PRJ)$/inc$/writerfilter.mk
+
+#CFLAGS+=-DISOLATION_AWARE_ENABLED -DWIN32_LEAN_AND_MEAN -DXML_UNICODE -D_NTSDK -DUNICODE -D_UNICODE -D_WIN32_WINNT=0x0501
+#CFLAGS+=-wd4710 -wd4711 -wd4514 -wd4619 -wd4217 -wd4820
+
+
+# --- Files --------------------------------------------------------
+
+SLOFILES=$(SLO)$/RTFScanner.obj $(SLO)$/RTFParseException.obj
+
+
+SHL1TARGET=$(TARGET)
+
+SHL1STDLIBS=$(SALLIB)\
+ $(CPPULIB)\
+ $(CPPUHELPERLIB)
+SHL1IMPLIB=i$(SHL1TARGET)
+SHL1USE_EXPORTS=name
+
+SHL1OBJS=$(SLOFILES)
+
+SHL1DEF=$(MISC)$/$(SHL1TARGET).def
+DEF1NAME=$(SHL1TARGET)
+DEFLIB1NAME=$(TARGET)
+
+# --- Targets ------------------------------------------------------
+
+.INCLUDE : target.mk
+
+RTFSCANNERCXX=$(MISC)/RTFScanner.cxx
+
+GENERATEDFILES=$(RTFSCANNERCXX)
+
+$(RTFSCANNERCXX): RTFScanner.lex RTFScanner.skl FlexLexer.h
+ flex -+ -SRTFScanner.skl -o$@ RTFScanner.lex
+
+$(SLO)/RTFScanner.obj: $(RTFSCANNERCXX)
+
+.PHONY: genmake genclean
+
+genmake: $(GENERATEDFILES)
+
+genclean:
+ rm $(GENERATEDFILES)