update dev300-m58
[ooovba.git] / transex3 / layout / makefile.mk
blob9864b46242b2bf244c0c34390ee6918d5f8da6e7
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
11 # $Revision: 1.3 $
13 # This file is part of OpenOffice.org.
15 # OpenOffice.org is free software: you can redistribute it and/or modify
16 # it under the terms of the GNU Lesser General Public License version 3
17 # only, as published by the Free Software Foundation.
19 # OpenOffice.org is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 # GNU Lesser General Public License version 3 for more details
23 # (a copy is included in the LICENSE file that accompanied this code).
25 # You should have received a copy of the GNU Lesser General Public License
26 # version 3 along with OpenOffice.org. If not, see
27 # <http://www.openoffice.org/license.html>
28 # for a copy of the LGPLv3 License.
30 #*************************************************************************
32 PRJ=..
34 INCPRE=$(MISC)
36 PRJNAME=transex3
37 TARGET=tralay
38 #TARGETTYPE=GUI
39 TARGETTYPE=CUI
40 LIBTARGET=no
42 # --- Settings -----------------------------------------------------
44 ENABLE_EXCEPTIONS=TRUE
46 .INCLUDE : settings.mk
48 .IF "$(SYSTEM_EXPAT)" == "YES"
49 CFLAGS+=-DSYSTEM_EXPAT
50 .ENDIF
52 # --- Files --------------------------------------------------------
54 APP1TARGET=$(TARGET)
56 OBJFILES =\
57 $(OBJ)/export2.obj\
58 $(OBJ)/helpmerge.obj\
59 $(OBJ)/layoutparse.obj\
60 $(OBJ)/merge.obj\
61 $(OBJ)/tralay.obj\
62 $(OBJ)/xmlparse.obj
64 APP1OBJS = $(OBJFILES)
66 APP1STDLIBS =\
67 $(TOOLSLIB)\
68 $(EXPATASCII3RDLIB)\
69 $(VOSLIB)\
70 $(CPPULIB) \
71 $(SALLIB)
73 # --- Targets ------------------------------------------------------
75 .INCLUDE : target.mk
77 test .PHONY:
78 ../$(INPATH)/bin/tralay -l en-US -o out.sdf zoom.xml
79 cat out.sdf > trans.sdf
80 sed 's/en-US\t/de\tde:/' out.sdf >> trans.sdf
81 ../$(INPATH)/bin/tralay -m trans.sdf -l de -o zoom-DE.xml zoom.xml