update dev300-m58
[ooovba.git] / forms / util / makefile.mk
blob17f594ba7c4f5846565fad9fcaf0dc879013b478
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.20 $
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=..
33 PRJNAME=forms
34 TARGET=frm
35 USE_DEFFILE=TRUE
37 # --- Settings ----------------------------------
39 .INCLUDE : settings.mk
40 .INCLUDE: $(PRJ)$/makefile.pmk
42 # --- Library -----------------------------------
43 # --- frm ---------------------------------------
44 LIB1TARGET=$(SLB)$/forms.lib
45 LIB1FILES=\
46 $(SLB)$/common.lib \
47 $(SLB)$/resource.lib \
48 $(SLB)$/component.lib \
49 $(SLB)$/helper.lib \
50 $(SLB)$/solarcomponent.lib \
51 $(SLB)$/solarcontrol.lib \
52 $(SLB)$/richtext.lib \
53 $(SLB)$/runtime.lib \
54 $(SLB)$/xforms.lib \
55 $(SLB)$/xformssubmit.lib \
56 $(SLB)$/xformsxpath.lib
58 SHL1TARGET=$(TARGET)$(DLLPOSTFIX)
60 SHL1STDLIBS= \
61 $(SALLIB) \
62 $(CPPULIB) \
63 $(CPPUHELPERLIB) \
64 $(TOOLSLIB) \
65 $(I18NISOLANGLIB) \
66 $(VCLLIB) \
67 $(SVTOOLLIB) \
68 $(SVLLIB) \
69 $(TKLIB) \
70 $(SFX2LIB) \
71 $(VOSLIB) \
72 $(UNOTOOLSLIB) \
73 $(COMPHELPERLIB) \
74 $(DBTOOLSLIB) \
75 $(TKLIB) \
76 $(SVXCORELIB) \
77 $(UCBHELPERLIB) \
78 $(LIBXML2LIB) \
79 $(ICUUCLIB) \
80 $(ICUINLIB)
82 SHL1LIBS=$(LIB1TARGET)
83 SHL1DEPN=$(LIB1TARGET) \
84 makefile.mk
87 SHL1VERSIONMAP=$(TARGET).map
88 SHL1DEF=$(MISC)$/$(SHL1TARGET).def
89 DEF1NAME=$(SHL1TARGET)
91 # === .res file ==========================================================
93 RES1FILELIST=\
94 $(SRS)$/resource.srs \
96 RESLIB1NAME=$(TARGET)
97 RESLIB1SRSFILES=$(RES1FILELIST)
99 .IF "$(GUI)"=="UNX"
101 # [ed] 6/19/02 Only add in libraries for X11 OS X builds
103 .IF "$(OS)"=="MACOSX"
104 .IF "$(GUIBASE)"=="unx"
105 SHL1STDLIBS +=\
106 -lX11 -lXt -lXmu
107 .ENDIF
108 .ELSE
109 SHL1STDLIBS +=\
110 -lX11
111 .ENDIF # OS == MACOSX
113 .ENDIF
115 .IF "$(GUI)"=="OS2"
116 SHL1STDLIBS += pthread.lib libz.lib
117 .ENDIF
119 # --- Targets ----------------------------------
121 .INCLUDE : target.mk
123 # --- Filter-Datei ---
125 $(MISC)$/$(SHL1TARGET).flt: makefile.mk
126 @echo ------------------------------
127 @echo __CT >$@
128 @echo createRegistryInfo >>$@
129 @echo queryInterface >>$@
130 @echo queryAggregation >>$@
131 @echo NavigationToolBar >>$@
132 @echo ONavigationBar >>$@