update dev300-m58
[ooovba.git] / dtrans / source / X11 / makefile.mk
blob219033cb706dbd5de202c2b320a1a3ca66a8971e
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.14 $
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=dtrans
35 TARGET=dtransX11
36 TARGETTYPE=GUI
38 ENABLE_EXCEPTIONS=TRUE
39 COMP1TYPELIST=$(TARGET)
40 LIBTARGET=NO
42 # --- Settings -----------------------------------------------------
44 .INCLUDE : settings.mk
46 # ------------------------------------------------------------------
48 .IF "$(GUIBASE)"=="aqua"
50 dummy:
51 @echo "Nothing to build for Mac OS X"
53 .ELSE # "$(GUIBASE)"=="aqua"
55 .IF "$(COM)$(CPU)" == "C50I" || "$(COM)$(CPU)" == "C52I"
56 NOOPTFILES=\
57 $(SLO)$/X11_selection.obj
58 .ENDIF
60 SLOFILES=\
61 $(SLO)$/X11_dndcontext.obj \
62 $(SLO)$/X11_transferable.obj \
63 $(SLO)$/X11_clipboard.obj \
64 $(SLO)$/X11_selection.obj \
65 $(SLO)$/X11_droptarget.obj \
66 $(SLO)$/X11_service.obj \
67 $(SLO)$/bmp.obj \
68 $(SLO)$/config.obj
70 SHL1TARGET= $(TARGET)$(DLLPOSTFIX)
72 .IF "$(OS)"=="MACOSX"
73 SHL1STDLIBS= $(LIBSTLPORT) $(CPPUHELPERLIB)
74 .ELSE
75 SHL1STDLIBS= $(CPPUHELPERLIB)
76 .ENDIF
78 SHL1STDLIBS+= \
79 $(UNOTOOLSLIB) \
80 $(CPPULIB) \
81 $(SALLIB) \
82 -lX11
84 SHL1DEPN=
85 SHL1IMPLIB= i$(SHL1TARGET)
86 SHL1OBJS= $(SLOFILES)
88 SHL1VERSIONMAP=exports.map
89 SHL1DEF=$(MISC)$/$(SHL1TARGET).def
90 DEF1NAME=$(SHL1TARGET)
92 .ENDIF # "$(OS)"=="MACOSX"
94 # --- Targets ------------------------------------------------------
96 .INCLUDE : target.mk