1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
4 Copyright (C) 2000 Naba Kumar
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
27 #include <libanjuta/interfaces/ianjuta-builder.h>
32 GFile
* build_file_from_file (BasicAutotoolsPlugin
*plugin
, GFile
*file
, gchar
**target
);
33 GFile
* build_object_from_file (BasicAutotoolsPlugin
*plugin
, GFile
*file
);
34 GFile
* normalize_project_file (GFile
*file
, GFile
*root
);
35 gboolean
directory_has_makefile (GFile
*dir
);
36 gboolean
directory_has_makefile_am (BasicAutotoolsPlugin
*bb_plugin
, GFile
*dir
);
38 /* Build function type */
39 typedef BuildContext
* (*BuildFunc
) (BasicAutotoolsPlugin
*plugin
, GFile
*file
,
40 IAnjutaBuilderCallback callback
, gpointer user_data
,
43 BuildContext
* build_build_file_or_dir (BasicAutotoolsPlugin
*plugin
,
45 IAnjutaBuilderCallback callback
,
49 BuildContext
* build_is_file_built (BasicAutotoolsPlugin
*plugin
,
51 IAnjutaBuilderCallback callback
,
55 BuildContext
* build_install_dir (BasicAutotoolsPlugin
*plugin
,
57 IAnjutaBuilderCallback callback
,
61 BuildContext
* build_clean_dir (BasicAutotoolsPlugin
*plugin
,
65 BuildContext
* build_check_dir (BasicAutotoolsPlugin
*plugin
,
67 IAnjutaBuilderCallback callback
,
71 BuildContext
* build_distclean (BasicAutotoolsPlugin
*plugin
);
73 BuildContext
* build_tarball (BasicAutotoolsPlugin
*plugin
);
75 BuildContext
* build_compile_file (BasicAutotoolsPlugin
*plugin
,
78 BuildContext
* build_configure_dir (BasicAutotoolsPlugin
*plugin
,
83 IAnjutaBuilderCallback callback
,
87 BuildContext
* build_generate_dir (BasicAutotoolsPlugin
*plugin
,
92 IAnjutaBuilderCallback callback
,
96 void build_project_configured (GObject
*sender
,
97 IAnjutaBuilderHandle handle
,
101 BuildContext
* build_configure_and_build (BasicAutotoolsPlugin
*plugin
,
104 IAnjutaBuilderCallback callback
,
108 BuildContext
* build_configure_dialog (BasicAutotoolsPlugin
*plugin
,
109 BuildFunc func
, GFile
*file
,
110 IAnjutaBuilderCallback callback
,
115 GList
* build_list_configuration (BasicAutotoolsPlugin
*plugin
);
116 const gchar
* build_get_uri_configuration (BasicAutotoolsPlugin
*plugin
, const gchar
*uri
);