Update ooo320-m1
[ooovba.git] / binfilter / bf_so3 / util / makefile.mk
blob96f5390baee182582bac267e6b52eaa73565943e
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.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 #*************************************************************************
31 PRJ=..$/..
32 SUBPRJ=$(PRJ)$/bf_so3
34 PRJPCH=
36 PRJNAME=binfilter
37 TARGET=bf_so
39 USE_LDUMP2=TRUE
40 #LDUMP2=LDUMP3
42 # --- Settings -----------------------------------------------------
44 .INCLUDE : settings.mk
45 .INCLUDE : $(SUBPRJ)$/util$/makefile.pmk
47 RSCFLAGS+=-p
49 # --- Files --------------------------------------------------------
52 LIB1TARGET= $(SLB)$/$(TARGET).lib
53 LIB1FILES=\
54 $(SLB)$/so3_solink.lib \
55 $(SLB)$/so3_dialog.lib \
56 $(SLB)$/so3_data.lib \
57 $(SLB)$/so3_inplace.lib \
58 $(SLB)$/so3_misc.lib \
59 $(SLB)$/so3_persist.lib \
60 $(SLB)$/so3_copied.lib
62 .IF "$(GUI)"=="WNT"
63 LIB1FILES+=$(SLB)$/so3_ole.lib
64 .ENDIF
66 .IF "$(UPDATER)"==""
67 RESLIB1NAME=so
68 RESLIB1SRSFILES= $(SRS)$/so3_src.srs
69 .ENDIF
71 SHL1TARGET= $(TARGET)$(DLLPOSTFIX)
72 SHL1IMPLIB= $(TARGET)
73 SHL1STDLIBS=\
74 $(VCLLIB) \
75 $(SOTLIB) \
76 $(UNOTOOLSLIB) \
77 $(TOOLSLIB) \
78 $(BFSVTOOLLIB) \
79 $(VOSLIB) \
80 $(COMPHELPERLIB) \
81 $(CPPUHELPERLIB) \
82 $(CPPULIB) \
83 $(SALLIB) \
84 $(UCBHELPERLIB)
86 .IF "$(linkinc)" == ""
87 SHL1LIBS= $(SLB)$/$(TARGET).lib
88 .ENDIF
90 .IF "$(GUI)"=="WNT"
91 SHL1STDLIBS+= \
92 $(OLE32LIB) $(UUIDLIB) $(ADVAPI32LIB) $(GDI32LIB)
93 .ENDIF
95 .IF "$(GUI)"=="WIN"
96 SHL1STDLIBS=$(VOSLIB) \
97 ole2.lib compobj.lib storage.lib shell.lib \
98 ole2disp.lib typelib.lib
99 .ENDIF
101 .IF "$(GUI)"=="UNX"
102 SHL1DEPN= $(LIB1TARGET)
103 .ELSE
104 SHL1DEPN= $(LIB1TARGET)
105 .ENDIF
107 .IF "$(linkinc)" == ""
108 .IF "$(GUI)"=="WNT"
109 .IF "$(COM)"=="GCC"
110 SHL1OBJS+= $(SHLOBJECTS)
111 .ELSE
112 SHL1OBJS+= $(SLO)$/so2dll.obj \
113 $(SHLOBJECTS)
114 .ENDIF
115 .ENDIF
116 SHL1DEF= $(MISC)$/$(SHL1TARGET).def
118 .ELSE #"$(linkinc)" == ""
119 SHL11FILE= $(MISC)$/so3_data.slo
120 SHL12FILE= $(MISC)$/so3_dialog.slo
121 SHL13FILE= $(MISC)$/so3_inplace.slo
122 SHL14FILE= $(MISC)$/vmisc.slo
123 .IF "$(GUI)"=="WNT"
124 SHL15FILE= $(MISC)$/so3_ole.slo
125 .ENDIF
126 SHL16FILE= $(MISC)$/so3_persist.slo
127 SHL17FILE= $(MISC)$/so3_solink.slo
128 .ENDIF
130 DEF1NAME =$(SHL1TARGET)
131 DEF1DEPN =$(MISC)$/$(SHL1TARGET).flt
132 DEFLIB1NAME =$(TARGET)
133 DEF1DES =StarObjects
135 # --- Targets ------------------------------------------------------
137 .INCLUDE : target.mk
138 .INCLUDE : target.pmk
141 # --- SO2-Filter-Datei ---
143 $(MISC)$/$(SHL1TARGET).flt: makefile.mk
144 @echo ------------------------------
145 @echo Making: $@
146 @echo WEP > $@
147 @echo LIBMAIN >> $@
148 @echo LibMain >> $@
149 @echo CreateDdeExtern@SvBaseLink >> $@
150 @echo RemoveDdeExtern@SvBaseLink >> $@
151 @echo DataChanged@SvBaseLink >> $@
152 @echo allocator >> $@
153 @echo Exception >> $@
154 @echo =@8 >> $@
155 @echo __CT >> $@