1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3
4 This file is part of GtkSourceView
5
6 Author: Yevgen Muntyan <muntyan@tamu.edu>
7 Copyright (C) 2006-2007 Yevgen Muntyan <muntyan@tamu.edu>
8
9 GtkSourceView is free software; you can redistribute it and/or
10 modify it under the terms of the GNU Lesser General Public
11 License as published by the Free Software Foundation; either
12 version 2.1 of the License, or (at your option) any later version.
13
14 GtkSourceView is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17 Lesser General Public License for more details.
18
19 You should have received a copy of the GNU Lesser General Public License
20 along with this library; if not, see <http://www.gnu.org/licenses/>.
21
22-->
23<language id="libtool" name="libtool" version="2.0" _section="Other">
24  <metadata>
25    <property name="mimetypes">text/x-libtool</property>
26    <property name="globs">*.la;*.lai;*.lo</property>
27    <property name="line-comment-start">#</property>
28  </metadata>
29
30  <styles>
31    <style id="constant" name="Constant" map-to="def:constant"/>
32    <style id="boolean" name="Boolean" map-to="libtool:constant"/>
33  </styles>
34
35  <definitions>
36    <context id="libtool">
37      <include>
38        <context ref="def:shell-like-comment"/>
39        <context end-at-line-end="true">
40          <start>\=</start>
41          <include>
42            <context ref="def:single-quoted-string"/>
43            <context ref="def:string"/>
44            <context ref="def:shell-like-comment"/>
45            <context ref="def:decimal"/>
46            <context style-ref="boolean">
47              <keyword>yes</keyword>
48              <keyword>no</keyword>
49            </context>
50          </include>
51        </context>
52      </include>
53    </context>
54  </definitions>
55</language>
56