merge the formfield patch from ooo-build
[ooovba.git] / binfilter / bf_svtools / util / makefile.mk
blob196b48152f8347f47f16aae35c8a942aa53cc478
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 $(VCLLIB) \
91 $(SOTLIB) \
92 $(TOOLSLIB) \
93 $(I18NISOLANGLIB) \
94 $(UCBHELPERLIB) \
95 $(COMPHELPERLIB) \
96 $(CPPUHELPERLIB) \
97 $(CPPULIB) \
98 $(VOSLIB) \
99 $(SALLIB)
101 .IF "$(OS)"=="MACOSX"
102 # static libraries go at end
103 SHL1STDLIBS+= $(JPEG3RDLIB)
104 .ENDIF
106 .IF "$(GUI)"=="WNT"
107 SHL1STDLIBS+= \
108 $(UWINAPILIB) \
109 $(ADVAPI32LIB) \
110 $(GDI32LIB) \
111 $(OLE32LIB) \
112 $(UUIDLIB) \
113 $(ADVAPI32LIB) \
114 $(OLEAUT32LIB)
115 .ENDIF # WNT
118 DEF1NAME = $(SHL1TARGET)
119 DEF1DEPN = $(MISC)$/$(SHL1TARGET).flt \
120 $(LIB1TARGET)
122 DEF1DES =Bf_Svtools
123 DEFLIB1NAME =bf_svt
125 # --- Targets ------------------------------------------------------
127 .INCLUDE : target.mk
129 $(MISC)$/$(SHL1TARGET).flt: svt.flt
130 @echo ------------------------------
131 @echo Making: $@
132 $(TYPE) svt.flt >$@