Library_tk.mk (e821fb77) Library_tk.mk (2e2269f7)
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

--- 7 unchanged lines hidden (view full) ---

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
23
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

--- 7 unchanged lines hidden (view full) ---

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
23
24$(eval $(call gb_Library_Library,tk))
24$(eval $(call gb_Library_Library,ootk))
25
25
26$(eval $(call gb_Library_set_componentfile,tk,toolkit/util/tk))
26$(eval $(call gb_Library_set_componentfile,ootk,toolkit/util/ootk))
27
27
28$(eval $(call gb_Library_add_package_headers,tk,toolkit_inc))
28$(eval $(call gb_Library_add_package_headers,ootk,toolkit_inc))
29
29
30#$(eval $(call gb_Library_add_precompiled_header,tk,$(SRCDIR)/toolkit/inc/pch/precompiled_toolkit))
30#$(eval $(call gb_Library_add_precompiled_header,ootk,$(SRCDIR)/toolkit/inc/pch/precompiled_toolkit))
31
31
32$(eval $(call gb_Library_set_include,tk,\
32$(eval $(call gb_Library_set_include,ootk,\
33 $$(INCLUDE) \
34 -I$(SRCDIR)/toolkit/inc \
35 -I$(SRCDIR)/toolkit/inc/pch \
36 -I$(SRCDIR)/toolkit/source \
37 -I$(OUTDIR)/inc/offuh \
38))
39
33 $$(INCLUDE) \
34 -I$(SRCDIR)/toolkit/inc \
35 -I$(SRCDIR)/toolkit/inc/pch \
36 -I$(SRCDIR)/toolkit/source \
37 -I$(OUTDIR)/inc/offuh \
38))
39
40$(eval $(call gb_Library_set_defs,tk,\
40$(eval $(call gb_Library_set_defs,ootk,\
41 $$(DEFS) \
42 -DTOOLKIT_DLLIMPLEMENTATION \
43))
44
41 $$(DEFS) \
42 -DTOOLKIT_DLLIMPLEMENTATION \
43))
44
45$(eval $(call gb_Library_add_linked_libs,tk,\
45$(eval $(call gb_Library_add_linked_libs,ootk,\
46 comphelper \
47 cppu \
48 cppuhelper \
49 sal \
50 stl \
51 tl \
52 utl \
53 vcl \
54 $(gb_STDLIBS) \
55))
56
46 comphelper \
47 cppu \
48 cppuhelper \
49 sal \
50 stl \
51 tl \
52 utl \
53 vcl \
54 $(gb_STDLIBS) \
55))
56
57$(eval $(call gb_Library_add_exception_objects,tk,\
57$(eval $(call gb_Library_add_exception_objects,ootk,\
58 toolkit/source/awt/asynccallback \
59 toolkit/source/awt/stylesettings \
60 toolkit/source/awt/vclxaccessiblecomponent \
61 toolkit/source/awt/vclxbitmap \
62 toolkit/source/awt/vclxbutton \
63 toolkit/source/awt/vclxcontainer \
64 toolkit/source/awt/vclxdevice \
65 toolkit/source/awt/vclxdialog \

--- 81 unchanged lines hidden (view full) ---

147 toolkit/source/layout/core/vcl \
148 toolkit/source/layout/vcl/wbutton \
149 toolkit/source/layout/vcl/wcontainer \
150 toolkit/source/layout/vcl/wfield \
151 toolkit/source/layout/vcl/wrapper \
152))
153
154ifeq ($(GUIBASE),aqua)
58 toolkit/source/awt/asynccallback \
59 toolkit/source/awt/stylesettings \
60 toolkit/source/awt/vclxaccessiblecomponent \
61 toolkit/source/awt/vclxbitmap \
62 toolkit/source/awt/vclxbutton \
63 toolkit/source/awt/vclxcontainer \
64 toolkit/source/awt/vclxdevice \
65 toolkit/source/awt/vclxdialog \

--- 81 unchanged lines hidden (view full) ---

147 toolkit/source/layout/core/vcl \
148 toolkit/source/layout/vcl/wbutton \
149 toolkit/source/layout/vcl/wcontainer \
150 toolkit/source/layout/vcl/wfield \
151 toolkit/source/layout/vcl/wrapper \
152))
153
154ifeq ($(GUIBASE),aqua)
155$(eval $(call gb_Library_set_cxxflags,tk,\
155$(eval $(call gb_Library_set_cxxflags,ootk,\
156 $$(CXXFLAGS) $(gb_OBJCXXFLAGS)))
157endif
158
159ifeq ($(OS),LINUX)
156 $$(CXXFLAGS) $(gb_OBJCXXFLAGS)))
157endif
158
159ifeq ($(OS),LINUX)
160$(eval $(call gb_Library_add_linked_libs,tk,\
160$(eval $(call gb_Library_add_linked_libs,ootk,\
161 X11 \
162))
163endif
164
165# vim: set noet sw=4 ts=4:
161 X11 \
162))
163endif
164
165# vim: set noet sw=4 ts=4: