xref: /aoo4110/main/cui/source/dialogs/makefile.mk (revision b1cdbd2c)
1#**************************************************************
2#
3#  Licensed to the Apache Software Foundation (ASF) under one
4#  or more contributor license agreements.  See the NOTICE file
5#  distributed with this work for additional information
6#  regarding copyright ownership.  The ASF licenses this file
7#  to you under the Apache License, Version 2.0 (the
8#  "License"); you may not use this file except in compliance
9#  with the License.  You may obtain a copy of the License at
10#
11#    http://www.apache.org/licenses/LICENSE-2.0
12#
13#  Unless required by applicable law or agreed to in writing,
14#  software distributed under the License is distributed on an
15#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16#  KIND, either express or implied.  See the License for the
17#  specific language governing permissions and limitations
18#  under the License.
19#
20#**************************************************************
21
22
23PRJ=..$/..
24PRJNAME=cui
25TARGET=dialogs
26ENABLE_EXCEPTIONS=TRUE
27
28# --- Settings -----------------------------------------------------
29
30.INCLUDE :  settings.mk
31.INCLUDE :  $(PRJ)$/util$/makefile.pmk
32
33.IF "$(ENABLE_LAYOUT)" == "TRUE"
34CFLAGS+= -DENABLE_LAYOUT=1 -I../$(PRJ)/layout/inc -I../$(PRJ)/layout/$(INPATH)/inc
35.ENDIF # ENABLE_LAYOUT == TRUE
36
37.IF "$(BUILD_VER_STRING)" != ""
38CFLAGS+= -DBUILD_VER_STRING="$(BUILD_VER_STRING)"
39.ENDIF
40
41# compile date (year) = copyright year used in About dialog
42CFLAGS+= -DCOPYRIGHT_YEAR="$(shell date +"%Y")"
43
44
45# --- Files --------------------------------------------------------
46
47SRS1NAME=dialogs
48SRC1FILES =  \
49        about.src \
50        colorpicker.src \
51        charmap.src \
52        commonlingui.src \
53        cuiimapdlg.src \
54        dlgname.src \
55        fmsearch.src \
56        gallery.src \
57        grfflt.src \
58        hangulhanjadlg.src \
59        hyphen.src \
60		hlmarkwn.src \
61        hyperdlg.src \
62		iconcdlg.src \
63        insrc.src \
64        multipat.src \
65        newtabledlg.src \
66        passwdomdlg.src \
67        postdlg.src \
68        scriptdlg.src \
69        sdrcelldlg.src \
70		showcols.src \
71        SpellDialog.src \
72        splitcelldlg.src \
73        srchxtra.src \
74        svuidlg.src \
75		tbxform.src \
76		thesdlg.src \
77		zoom.src \
78
79
80SLOFILES+=\
81        $(SLO)$/about.obj \
82        $(SLO)$/colorpicker.obj \
83        $(SLO)$/commonlingui.obj \
84        $(SLO)$/cuicharmap.obj \
85        $(SLO)$/cuifmsearch.obj \
86        $(SLO)$/cuigaldlg.obj \
87        $(SLO)$/cuigrfflt.obj \
88        $(SLO)$/cuihyperdlg.obj \
89        $(SLO)$/cuiimapwnd.obj \
90        $(SLO)$/cuitbxform.obj \
91        $(SLO)$/dlgname.obj \
92        $(SLO)$/hangulhanjadlg.obj \
93		$(SLO)$/hldocntp.obj \
94		$(SLO)$/hldoctp.obj \
95		$(SLO)$/hlinettp.obj \
96		$(SLO)$/hlmailtp.obj \
97		$(SLO)$/hlmarkwn.obj \
98		$(SLO)$/hltpbase.obj \
99		$(SLO)$/hyphen.obj \
100        $(SLO)$/iconcdlg.obj \
101        $(SLO)$/insdlg.obj \
102        $(SLO)$/insrc.obj \
103        $(SLO)$/linkdlg.obj \
104        $(SLO)$/multifil.obj \
105        $(SLO)$/multipat.obj \
106        $(SLO)$/newtabledlg.obj \
107        $(SLO)$/passwdomdlg.obj \
108        $(SLO)$/pastedlg.obj \
109		$(SLO)$/plfilter.obj \
110        $(SLO)$/postdlg.obj \
111        $(SLO)$/scriptdlg.obj \
112        $(SLO)$/sdrcelldlg.obj \
113        $(SLO)$/showcols.obj \
114        $(SLO)$/SpellAttrib.obj \
115        $(SLO)$/SpellDialog.obj \
116        $(SLO)$/splitcelldlg.obj \
117        $(SLO)$/srchxtra.obj \
118        $(SLO)$/thesdlg.obj \
119        $(SLO)$/zoom.obj \
120
121
122.IF "$(GUI)"=="WNT"
123SLOFILES+=$(SLO)$/winpluginlib.obj
124.ENDIF
125
126# --- Targets -------------------------------------------------------
127
128.INCLUDE :  target.mk
129