xref: /aoo42x/main/idlc/Executable_idlc.mk (revision 88fe4d89)
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
23
24$(eval $(call gb_Executable_Executable,idlc))
25
26$(eval $(call gb_Executable_set_targettype_gui,idlc,NO))
27
28$(eval $(call gb_Executable_add_precompiled_header,idlc,$(SRCDIR)/idlc/inc/pch/precompiled_idlc))
29
30#$(eval $(call gb_Executable_add_api,idlc,\
31#	udkapi \
32#	offapi \
33#))
34
35$(eval $(call gb_Executable_set_include,idlc,\
36	$$(INCLUDE) \
37	-I$(WORKDIR)/inc/ \
38	-I$(OUTDIR)/inc/ \
39	-I$(SRCDIR)/idlc/inc \
40	-I$(SRCDIR)/idlc/inc/pch \
41))
42
43$(eval $(call gb_Executable_add_linked_libs,idlc,\
44	reg \
45	sal \
46	salhelper \
47	stl \
48	$(gb_STDLIBS) \
49))
50
51$(eval $(call gb_Executable_add_bison_files,idlc,\
52	idlc/source/parser \
53))
54
55$(eval $(call gb_Executable_add_flex_files,idlc,\
56	idlc/source/scanner \
57))
58
59$(eval $(call gb_Executable_add_exception_objects,idlc,\
60	idlc/source/wrap_scanner \
61	idlc/source/wrap_parser \
62	idlc/source/idlcmain \
63	idlc/source/idlc \
64	idlc/source/idlccompile \
65	idlc/source/idlcproduce \
66	idlc/source/errorhandler \
67	idlc/source/options \
68	idlc/source/fehelper \
69	idlc/source/astdeclaration \
70	idlc/source/astscope \
71	idlc/source/aststack \
72	idlc/source/astdump \
73	idlc/source/astinterface \
74	idlc/source/aststruct \
75	idlc/source/aststructinstance \
76	idlc/source/astoperation \
77	idlc/source/astconstant \
78	idlc/source/astenum \
79	idlc/source/astarray \
80	idlc/source/astunion \
81	idlc/source/astexpression \
82	idlc/source/astservice \
83))
84
85# vim: set noet sw=4 ts=4:
86