Update ooo320-m1
[ooovba.git] / binfilter / bf_offmgr / util / makefile.mk
blobc9e542b682c33736015b93fd7386cb39850cbd9d
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.18 $
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 EXTERNAL_WARNINGS_NOT_ERRORS := TRUE
34 PRJ=..$/..
35 BFPRJ=..
37 PRJNAME=binfilter
38 TARGET=bf_ofa
40 NO_HIDS=TRUE
42 # --- Settings ------------------------------------------------------------
44 .INCLUDE : settings.mk
45 #INC+= -I$(PRJ)$/inc$/bf_offmgr
47 .IF "$(prjpch)" != ""
48 CDEFS+=-DPRECOMPILED
49 .ENDIF
51 RSCLOCINC!:=$(RSCLOCINC);$(PRJ)$/RES
52 SOLARLIB+=-L$(LB)
54 # --- Allgemein -----------------------------------------------------------
56 RESLIB1LIST=\
57 $(SRS)$/so3_src.srs
59 RESLIB1NAME=$(TARGET)
60 RESLIB1SRSFILES=$(RESLIB1LIST)
62 # -------------------------------------------------------------------------
63 LIB3TARGET= $(SLB)$/$(TARGET).lib
64 LIB3FILES= $(SLB)$/offmgr_app.lib
66 SHL2TARGET= $(TARGET)$(DLLPOSTFIX)
67 SHL2IMPLIB= $(TARGET)
68 SHL2LIBS= $(SLB)$/$(TARGET).lib
70 # dynamic libraries
71 SHL2STDLIBS+= \
72 $(BFSVTOOLLIB) \
73 $(BFSVXLIB) \
74 $(LEGACYSMGRLIB) \
75 $(BFBASICLIB) \
76 $(TOOLSLIB) \
77 $(CPPUHELPERLIB) \
78 $(CPPULIB) \
79 $(SALLIB)
81 .IF "$(GUI)"=="WNT"
82 SHL2STDLIBS += $(ADVAPI32LIB)
83 .ENDIF # WNT
85 SHL2DEF= $(MISC)$/$(SHL2TARGET).def
86 SHL2BASE= 0x1de00000
88 DEF2NAME= $(SHL2TARGET)
89 DEF2DEPN= $(MISC)$/$(SHL2TARGET).flt
90 DEFLIB2NAME =$(TARGET)
91 DEF2DES =offmgr app-interface
93 # -------------------------------------------------------------------------
95 .IF "$(GUI)"=="WNT"
96 LIB4TARGET= $(LB)$/a$(TARGET).lib
97 LIB4FILES= $(LB)$/$(TARGET).lib
98 .ENDIF
100 .IF "$(L10N_framework)"==""
101 .IF "$(BUILD_SOSL)"==""
102 .IF "$(depend)" == ""
103 ALL:\
104 $(LIB3TARGET) \
105 $(INCCOM)$/class.lst \
106 ALLTAR
108 .ENDIF # "$(depend)" == ""
109 .ENDIF # "$(BUILD_SOSL)" == ""
110 .ENDIF
112 .INCLUDE : target.mk
114 $(MISC)$/$(SHL2TARGET).flt: makefile.mk
115 @echo ------------------------------
116 @echo Making: $@
117 @echo WEP>$@
118 @echo PlugInApplication>>$@
119 @echo __dt__17OfficeApplication>>$@
120 @echo LibMain>>$@
121 @echo _Impl>>$@
122 @echo _Imp>>$@
123 @echo solver>>$@
124 @echo bad_alloc>>$@
125 @echo exception12>>$@
126 .IF "$(GUI)"=="WNT"
127 @echo __CT>>$@
128 .ENDIF
130 # ------------------------------------------------------------------
131 # Windows NT
132 # ------------------------------------------------------------------
134 $(INCCOM)$/class.lst:
135 .IF "$(BUILD_SOSL)"==""
136 .IF "$(GUI)$(CPU)$(UPDATER)"=="WNTIYES"
137 -$(COPY) class.lst $@
138 .ELSE
139 @echo nix
140 .ENDIF
141 .ENDIF # "$(BUILD_SOSL)"==""