2 # This file is part of the LibreOffice project.
4 # This Source Code Form is subject to the terms of the Mozilla Public
5 # License, v. 2.0. If a copy of the MPL was not distributed with this
6 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 # Welcome to the mkid language mapper.
10 # The format of each line is:
12 # <pattern> <language> [options]
14 # Filenames are matched top-to-bottom against the patterns, and the
15 # first match is chosen. The special language `IGNORE' means that
16 # this file should be ignored by mkid. The options are
17 # language-specific command-line options to mkid.
19 # If a file name doesn't match any pattern, it is assigned the default
20 # language. The default language may be specified here with the
21 # special pattern `**', or overridden from the mkid command-line with
22 # the `--default-lang=LANG' option.
24 # The special pattern `***' means to include the named file that
25 # immediately follows. If no file is named, then the default system
26 # language mapper file (i.e., this file) is included.
29 ** IGNORE # Although this is listed first,
30 # the default language pattern is
31 # logically matched last.
41 # C dependencies created by automake
66 *.[sS] asm --comment=;
80 # portable object (i18n)
100 *.gz FILTER gzip -d <%s
101 *.Z FILTER gzip -d <%s
103 ######### LibO-specific stuff #######################################
105 # Treat LibO resource header files as C files
107 # Treat LibO header files generated from *.idl as C++ files
109 # Treat LibO IDL files as C++ files, not exactly a header file, but ...
111 # Treat LibO resource files as C files
113 # Treat LibO *.mk files as makefiles