update dev300-m58
[ooovba.git] / tools / util / makefile.mk
blobd9ba720543e39b2d7442dc7e6c95e05dd2f401d4
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.27 $
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 PRJNAME=TOOLS
35 TARGET=tools
36 ENABLE_EXCEPTIONS=true
38 # --- Settings -----------------------------------------------------
40 .INCLUDE : settings.mk
42 # --- Allgemein ----------------------------------------------------
44 # --- STDSTRM.LIB ---
45 LIB3TARGET= $(LB)$/stdstrm.lib
46 LIB3ARCHIV= $(LB)$/libstdstrm.a
47 LIB3FILES= $(LB)$/stream.lib
49 LIB7TARGET= $(LB)$/a$(TARGET).lib
50 LIB7ARCHIV= $(LB)$/liba$(TARGET).a
51 LIB7FILES= $(LB)$/gen.lib \
52 $(LB)$/str.lib \
53 $(LB)$/mtools.lib \
54 $(LB)$/datetime.lib \
55 $(LB)$/fsys.lib \
56 $(LB)$/communi.lib \
57 $(LB)$/stream.lib \
58 $(LB)$/ref.lib \
59 $(LB)$/rc.lib \
60 $(LB)$/inet.lib \
61 $(LB)$/debug.lib
64 LIB7FILES+= $(LB)$/dll.lib
66 # --- TOOLS.LIB ---
67 LIB1TARGET:= $(SLB)$/$(TARGET).lib
68 LIB1FILES+= \
69 $(SLB)$/gen.lib \
70 $(SLB)$/str.lib \
71 $(SLB)$/mtools.lib \
72 $(SLB)$/datetime.lib \
73 $(SLB)$/fsys.lib \
74 $(SLB)$/communi.lib \
75 $(SLB)$/stream.lib \
76 $(SLB)$/ref.lib \
77 $(SLB)$/rc.lib \
78 $(SLB)$/debug.lib \
79 $(SLB)$/zcodec.lib \
80 $(SLB)$/inet.lib \
81 $(SLB)$/testtoolloader.lib \
82 $(SLB)$/misc.lib
84 .IF "$(OS)"=="MACOSX"
85 SHL1STDLIBS += $(CPPULIB) \
86 $(ZLIB3RDLIB)
87 .ELSE
88 SHL1STDLIBS += $(ZLIB3RDLIB) \
89 $(CPPULIB)
90 .ENDIF
92 LIB1FILES+= $(SLB)$/dll.lib
95 .IF "$(BIG_TOOLS)"!=""
96 .IF "$(GUI)"=="WNT"
97 #SOLARLIBDIR=$(SOLARVER)\$((INPATH)\lib
98 #SOLARLIBDIR=..\$(INPATH)\lib
99 # bei lokalen osl rtl oder vos das SOLARLIBDIR bitte patchen !
100 LIB1FILES+= $(SOLARLIBDIR)\xosl.lib \
101 $(SOLARLIBDIR)\xrtl.lib \
102 $(SOLARLIBDIR)\xvos.lib
103 SHL1STDLIBS+= $(WSOCK32LIB)
104 .ENDIF
105 .ENDIF # "$(BIG_TOOLS)"!=""
107 # --- TOOLS.DLL ---
109 SHL1TARGET= tl$(DLLPOSTFIX)
110 SHL1LIBS= $(LIB1TARGET)
111 SHL1DEF= $(MISC)$/$(SHL1TARGET).def
112 SHL1IMPLIB= itools
113 SHL1USE_EXPORTS=name
114 SHL1STDLIBS+= $(SALLIB) $(VOSLIB) $(BASEGFXLIB) $(I18NISOLANGLIB) $(COMPHELPERLIB)
116 .IF "$(GUI)"=="WNT"
117 SHL1STDLIBS+= $(SHELL32LIB) \
118 $(MPRLIB) \
119 $(OLE32LIB) \
120 $(UUIDLIB) \
121 $(ADVAPI32LIB)
122 .ENDIF
124 DEF1NAME =$(SHL1TARGET)
125 DEF1DEPN = \
126 $(MISC)$/$(SHL1TARGET).flt \
127 $(HXX1FILES) \
128 $(HXX2FILES) \
129 $(HXX3FILES) \
130 $(HXX4FILES) \
131 $(HXX5FILES) \
132 $(HXX6FILES) \
133 $(HXX7FILES) \
134 $(HXX8FILES) \
135 $(HXX9FILES) \
136 $(HXX10FILES) \
137 $(HXX11FILES) \
138 $(HXX12FILES) \
139 $(HXX13FILES) \
140 $(HXX14FILES) \
141 $(HXX15FILES) \
142 $(HXX16FILES) \
143 $(HXX17FILES) \
144 $(HXX18FILES) \
145 $(HXX19FILES) \
146 $(HXX20FILES) \
147 makefile.mk
149 DEFLIB1NAME =tools
151 # --- Targets ------------------------------------------------------
153 .INCLUDE : target.mk
155 # --- TOOLS.FLT ---
156 $(MISC)$/$(SHL1TARGET).flt: makefile.mk
157 @echo ------------------------------
158 @echo Making: $@
159 @echo Imp>$@
160 @echo PointerList>>$@
161 @echo DbgCheck>>$@
162 @echo LabelList>>$@
163 @echo ActionList>>$@
164 @echo CBlock>>$@
165 @echo DirEntryStack>>$@
166 @echo readdir>>$@
167 @echo closedir>>$@
168 @echo opendir>>$@
169 @echo volumeid>>$@
170 @echo MsDos2Time>>$@
171 @echo MsDos2Date>>$@
172 @echo __new_alloc>>$@
173 @echo __CT>>$@
174 @echo unnamed>>$@
175 .IF "$(COM)"=="BLC"
176 @echo WEP>>$@
177 .ENDIF