update dev300-m58
[ooovba.git] / toolkit / util / makefile.mk
bloba04bdcbdf8015e21a7b106f6fc0e02b42a867e58
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.26 $
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 # tk.dxp should contain all c functions that have to be exported. MT 2001/11/29
34 PRJ=..
36 PRJNAME=toolkit
37 TARGET=tk
38 TARGET2=tka
39 USE_DEFFILE=TRUE
41 # --- Settings -----------------------------------------------------------
43 .INCLUDE : settings.mk
44 .INCLUDE : $(PRJ)$/util$/makefile.pmk
47 # --- Allgemein ----------------------------------------------------------
49 # ========================================================================
50 # = tk lib: the "classic" toolkit library
52 LIB1TARGET= $(SLB)$/$(TARGET).lib
53 LIB1FILES= $(SLB)$/awt.lib \
54 $(SLB)$/tree.lib \
55 $(SLB)$/grid.lib \
56 $(SLB)$/controls.lib \
57 $(SLB)$/helper.lib\
58 $(SLB)$/layout-core.lib \
59 $(SLB)$/layout-vcl.lib
61 SHL1TARGET= tk$(DLLPOSTFIX)
62 SHL1IMPLIB= itk
63 SHL1USE_EXPORTS=name
65 SHL1STDLIBS=\
66 $(VCLLIB) \
67 $(UNOTOOLSLIB) \
68 $(TOOLSLIB) \
69 $(COMPHELPERLIB) \
70 $(CPPUHELPERLIB) \
71 $(CPPULIB) \
72 $(SALLIB)
74 SHL1LIBS= $(LIB1TARGET)
75 SHL1DEF= $(MISC)$/$(SHL1TARGET).def
76 SHL1DEPN=$(LIB1TARGET)
78 DEF1NAME =$(SHL1TARGET)
79 DEF1DEPN =$(LIB1TARGET)
80 DEF1DES =TK
81 DEFLIB1NAME =tk
83 .IF "$(OS)"=="MACOSX"
85 # [ed] 6/16/02 Add in X libraries if we're building X
87 .IF "$(GUIBASE)"=="unx"
88 SHL1STDLIBS +=\
89 -lX11 -lXt -lXmu
90 .ENDIF
92 .ELSE
93 .IF "$(GUI)"=="UNX"
94 SHL1STDLIBS +=\
95 -lX11
96 .ENDIF
97 .ENDIF
99 RESLIB1IMAGES=$(PRJ)$/source$/awt
100 RES1FILELIST=$(SRS)$/awt.srs
101 RESLIB1NAME=$(TARGET)
102 RESLIB1SRSFILES=$(RES1FILELIST)
104 # --- Footer -------------------------------------------------------------
105 .INCLUDE : target.mk