sync master with lastest vba changes
[ooovba.git] / binfilter / bf_svtools / util / makefile.mk
blobf607da023b683045a93eb36a996e6017b38f88aa
1 #*************************************************************************
2 #*
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.5 $
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=..$/..
33 BFPRJ=..
35 PRJNAME=binfilter
36 RESTARGET=bf_svt
37 TARGET=bf_svtool
39 NO_HIDS=TRUE
40 LIBTARGET=NO
42 # --- Settings -----------------------------------------------------
44 .INCLUDE : settings.mk
45 INC+= -I$(PRJ)$/inc$/bf_svtools
47 # --- general section ----------------------------------------------------
49 LIB1TARGET= $(SLB)$/bf_svt.lib
50 LIB1FILES= \
51 $(SLB)$/misc.lib \
52 $(SLB)$/items.lib \
53 $(SLB)$/unoiface.lib \
54 $(SLB)$/filter.lib \
55 $(SLB)$/igif.lib \
56 $(SLB)$/jpeg.lib \
57 $(SLB)$/ixpm.lib \
58 $(SLB)$/ixbm.lib \
59 $(SLB)$/numbers.lib \
60 $(SLB)$/numbers.uno.lib \
61 $(SLB)$/wmf.lib \
62 $(SLB)$/undo.lib \
63 $(SLB)$/syslocale.lib \
64 $(SLB)$/svdde.lib \
65 $(SLB)$/config.lib \
66 $(SLB)$/filerec.lib \
67 $(SLB)$/items1.lib \
68 $(SLB)$/misc1.lib \
69 $(SLB)$/notify.lib \
70 $(SLB)$/svarray.lib
72 RESLIB1NAME= $(RESTARGET)
73 RESLIB1IMAGES=$(PRJ)$/res
74 RESLIB1SRSFILES= \
75 $(SRS)$/ehdl.srs \
77 SHL1TARGET= bf_svt$(DLLPOSTFIX)
78 SHL1IMPLIB= bf_svt
79 SHL1DEF = $(MISC)$/$(SHL1TARGET).def
80 SHL1LIBS= $(SLB)$/bf_svt.lib
82 .IF "$(OS)"!="MACOSX"
83 # static libraries
84 SHL1STDLIBS+= $(JPEG3RDLIB)
85 .ENDIF
87 # dynamic libraries
88 SHL1STDLIBS+= \
89 $(UNOTOOLSLIB) \
90 $(TKLIB) \
91 $(VCLLIB) \
92 $(SOTLIB) \
93 $(TOOLSLIB) \
94 $(I18NISOLANGLIB) \
95 $(UCBHELPERLIB) \
96 $(COMPHELPERLIB) \
97 $(CPPUHELPERLIB) \
98 $(CPPULIB) \
99 $(VOSLIB) \
100 $(SALLIB) \
101 $(ICUUCLIB) \
102 $(JVMFWKLIB)
104 .IF "$(OS)"=="MACOSX"
105 # static libraries go at end
106 SHL1STDLIBS+= $(JPEG3RDLIB)
107 .ENDIF
109 .IF "$(GUI)"=="WNT"
110 SHL1STDLIBS+= \
111 $(UWINAPILIB) \
112 $(ADVAPI32LIB) \
113 $(GDI32LIB) \
114 $(OLE32LIB) \
115 $(UUIDLIB) \
116 $(ADVAPI32LIB) \
117 $(OLEAUT32LIB)
118 .ENDIF # WNT
121 DEF1NAME = $(SHL1TARGET)
122 DEF1DEPN = $(MISC)$/$(SHL1TARGET).flt \
123 $(LIB1TARGET)
125 DEF1DES =Bf_Svtools
126 DEFLIB1NAME =bf_svt
128 # --- Targets ------------------------------------------------------
130 .INCLUDE : target.mk
132 $(MISC)$/$(SHL1TARGET).flt: svt.flt
133 @echo ------------------------------
134 @echo Making: $@
135 $(TYPE) svt.flt >$@