2004-03-18 22:03:49 +00:00
|
|
|
SUBDIRS = . glue
|
2004-03-12 21:18:11 +00:00
|
|
|
|
2005-01-09 00:26:45 +00:00
|
|
|
pkg = gtk
|
|
|
|
pkgconfigdir=$(libdir)/pkgconfig
|
2009-08-30 20:06:33 +00:00
|
|
|
pkgconfig_DATA=gtk-sharp-3.0.pc
|
2004-03-12 21:18:11 +00:00
|
|
|
|
2005-01-09 00:26:45 +00:00
|
|
|
SYMBOLS = gtk-symbols.xml
|
2011-01-30 23:00:03 +00:00
|
|
|
INCLUDE_API = $(top_srcdir)/glib/glib-api.xml $(top_srcdir)/cairo/cairo-api.xml $(top_builddir)/gio/gio-api.xml $(top_builddir)/pango/pango-api.xml $(top_builddir)/atk/atk-api.xml $(top_builddir)/gdk/gdk-api.xml
|
2005-01-09 00:26:45 +00:00
|
|
|
METADATA = Gtk.metadata
|
2011-01-30 23:00:03 +00:00
|
|
|
references = $(top_builddir)/glib/glib-sharp.dll $(top_builddir)/cairo/cairo-sharp.dll $(top_builddir)/gio/gio-sharp.dll $(top_builddir)/pango/pango-sharp.dll $(top_builddir)/atk/atk-sharp.dll $(top_builddir)/gdk/gdk-sharp.dll
|
* generator/StructBase.cs: update field-generation logic a bit
* generator/CodeGenerator.cs: add a --glue-includes flag
* generator/GenerationInfo.cs: Accept glue_includes value from
Main and output it to the glue_filename.
* generator/FieldBase.cs (Ignored): handle more ignorable cases.
(CheckGlue): New method to figure out what kind of glue we'll need
for a field.
(GenerateImports): generate appropriate imports per CheckGlue.
(GenerateGlue): Generate C glue for accessing a struct field;
either a fully-C-based accessor, or a method to just return the
field's offset in the struct.
(Generate): Use the generated glue to read the field.
* generator/PropertyBase.cs (CType): if the field is a single bit,
set its type to gboolean.
* generator/ObjectGen.cs (Generate):
* generator/OpaqueGen.cs (Generate): Call GenFields.
* generator/StructField.cs: Use FieldBase's glue-generation code
to handle bitfields. [#54489]
* generator/ObjectField.cs: Generates accessors for public fields
of objects and opaque structs. [#69514]
* generator/ClassBase.cs (ClassBase): Parse <fields> nodes and
create ObjectField objects.
(GenFields): Output field properties
(IgnoreMethod): Ignore Get/Set methods that duplicate fields
* generator/Makefile.am (sources): update
* {gdk,gnome,gtk,pango}/*.metadata: Mark some additional fields as
public. Rename/retype some fields for consistency with earlier
hand-coded bindings.
* {gdk,gnome,gtk,pango}/*.custom: Remove custom methods that can
now be autogenerated.
* {gdk,gnome,gtk,pango}/glue/*.c: Remove glue methods that can now
be autogenerated
* {gdk,glade,gnome,gtk,pango,vte}/Makefile.am
* {gdk,glade,gnome,gtk,pango,vte}/glue/Makefile.am
* {gdk,gnome,gtk,pango}/glue/makefile.win32: Update
svn path=/trunk/gtk-sharp/; revision=44563
2005-05-16 14:28:55 +00:00
|
|
|
glue_includes = gtk/gtk.h
|
2004-03-12 21:18:11 +00:00
|
|
|
|
|
|
|
sources = \
|
2004-11-26 14:59:38 +00:00
|
|
|
ActionEntry.cs \
|
2004-03-12 21:18:11 +00:00
|
|
|
Application.cs \
|
2004-12-23 22:59:59 +00:00
|
|
|
BindingAttribute.cs \
|
2011-02-09 04:15:37 +00:00
|
|
|
CellAreaBox.cs \
|
2004-11-18 20:31:22 +00:00
|
|
|
ChildPropertyAttribute.cs \
|
2011-07-16 16:18:14 +00:00
|
|
|
ComboBoxText.cs \
|
2011-04-18 16:49:17 +00:00
|
|
|
Global.cs \
|
2004-03-12 21:18:11 +00:00
|
|
|
ITreeNode.cs \
|
2008-04-15 18:44:53 +00:00
|
|
|
Key.cs \
|
2004-12-17 20:32:33 +00:00
|
|
|
NodeCellDataFunc.cs \
|
2004-12-16 20:30:43 +00:00
|
|
|
NodeSelection.cs \
|
2004-03-12 21:18:11 +00:00
|
|
|
NodeStore.cs \
|
2004-12-16 20:30:43 +00:00
|
|
|
NodeView.cs \
|
2004-11-26 14:59:38 +00:00
|
|
|
RadioActionEntry.cs \
|
2007-04-17 17:42:58 +00:00
|
|
|
RowsReorderedHandler.cs \
|
2005-01-18 03:06:15 +00:00
|
|
|
StockManager.cs \
|
2011-04-21 17:10:36 +00:00
|
|
|
StyleContext.cs \
|
2004-03-12 21:18:11 +00:00
|
|
|
ThreadNotify.cs \
|
2004-11-26 14:59:38 +00:00
|
|
|
ToggleActionEntry.cs \
|
2005-05-11 19:41:45 +00:00
|
|
|
TreeEnumerator.cs \
|
2011-02-09 04:15:37 +00:00
|
|
|
TreeMenu.cs \
|
2004-03-12 21:18:11 +00:00
|
|
|
TreeNodeAttribute.cs \
|
|
|
|
TreeNode.cs \
|
|
|
|
TreeNodeValueAttribute.cs
|
|
|
|
|
|
|
|
customs = \
|
|
|
|
Accel.custom \
|
|
|
|
AccelKey.custom \
|
2004-10-29 20:33:07 +00:00
|
|
|
Action.custom \
|
2004-11-26 14:59:38 +00:00
|
|
|
ActionGroup.custom \
|
2004-03-12 21:18:11 +00:00
|
|
|
Adjustment.custom \
|
2004-09-24 15:58:05 +00:00
|
|
|
Bin.custom \
|
2008-10-28 11:16:32 +00:00
|
|
|
Builder.custom \
|
2004-03-12 21:18:11 +00:00
|
|
|
Button.custom \
|
|
|
|
Calendar.custom \
|
2004-05-14 20:25:57 +00:00
|
|
|
CellRenderer.custom \
|
2005-01-04 18:54:02 +00:00
|
|
|
CellLayout.custom \
|
2007-10-02 15:57:45 +00:00
|
|
|
CellLayoutAdapter.custom \
|
2005-01-04 18:54:02 +00:00
|
|
|
CellView.custom \
|
2004-05-07 17:32:32 +00:00
|
|
|
CheckMenuItem.custom \
|
2004-03-12 21:18:11 +00:00
|
|
|
Clipboard.custom \
|
|
|
|
ColorSelection.custom \
|
|
|
|
ColorSelectionDialog.custom \
|
2004-10-29 20:33:07 +00:00
|
|
|
ComboBox.custom \
|
2004-03-12 21:18:11 +00:00
|
|
|
Container.custom \
|
|
|
|
Dialog.custom \
|
2005-09-08 19:01:01 +00:00
|
|
|
Drag.custom \
|
2004-03-12 21:18:11 +00:00
|
|
|
Entry.custom \
|
2005-01-04 18:54:02 +00:00
|
|
|
EntryCompletion.custom \
|
2004-10-29 20:33:07 +00:00
|
|
|
FileChooserDialog.custom \
|
2004-03-12 21:18:11 +00:00
|
|
|
Frame.custom \
|
2004-03-30 22:28:58 +00:00
|
|
|
HBox.custom \
|
2004-05-07 19:04:03 +00:00
|
|
|
HScale.custom \
|
2004-03-12 21:18:11 +00:00
|
|
|
IconFactory.custom \
|
|
|
|
IconSet.custom \
|
2004-10-29 20:33:07 +00:00
|
|
|
IconTheme.custom \
|
2005-12-09 23:16:42 +00:00
|
|
|
IconView.custom \
|
2005-01-07 19:32:23 +00:00
|
|
|
Image.custom \
|
2004-05-07 17:32:32 +00:00
|
|
|
ImageMenuItem.custom \
|
2004-09-03 15:59:29 +00:00
|
|
|
Init.custom \
|
2004-05-10 17:37:02 +00:00
|
|
|
ItemFactory.custom \
|
2004-03-12 21:18:11 +00:00
|
|
|
Label.custom \
|
|
|
|
ListStore.custom \
|
|
|
|
MessageDialog.custom \
|
2004-08-24 19:54:09 +00:00
|
|
|
Menu.custom \
|
2004-05-07 15:48:25 +00:00
|
|
|
MenuItem.custom \
|
2004-03-12 21:18:11 +00:00
|
|
|
Notebook.custom \
|
2009-05-07 01:50:02 +00:00
|
|
|
PaperSize.custom \
|
2004-05-10 17:37:02 +00:00
|
|
|
Plug.custom \
|
2008-04-16 20:23:39 +00:00
|
|
|
PrintContext.custom \
|
2006-08-07 20:45:47 +00:00
|
|
|
Printer.custom \
|
2004-03-12 21:18:11 +00:00
|
|
|
RadioButton.custom \
|
|
|
|
RadioMenuItem.custom \
|
2006-01-21 15:52:50 +00:00
|
|
|
RadioToolButton.custom \
|
2009-05-02 16:51:34 +00:00
|
|
|
RecentManager.custom \
|
2004-03-12 21:18:11 +00:00
|
|
|
ScrolledWindow.custom \
|
|
|
|
SelectionData.custom \
|
2004-05-28 15:05:36 +00:00
|
|
|
Settings.custom \
|
2004-05-07 19:41:36 +00:00
|
|
|
SpinButton.custom \
|
2007-02-03 17:55:23 +00:00
|
|
|
StatusIcon.custom \
|
2004-03-12 21:18:11 +00:00
|
|
|
Stock.custom \
|
2005-01-06 21:41:01 +00:00
|
|
|
StockItem.custom \
|
2004-03-12 21:18:11 +00:00
|
|
|
Style.custom \
|
|
|
|
Table.custom \
|
2009-04-05 08:36:46 +00:00
|
|
|
Target.custom \
|
2004-03-12 21:18:11 +00:00
|
|
|
TargetEntry.custom \
|
2004-10-19 14:21:48 +00:00
|
|
|
TargetList.custom \
|
2005-07-02 15:23:27 +00:00
|
|
|
TargetPair.custom \
|
|
|
|
TextAttributes.custom \
|
2004-03-12 21:18:11 +00:00
|
|
|
TextBuffer.custom \
|
|
|
|
TextChildAnchor.custom \
|
|
|
|
TextIter.custom \
|
2007-12-06 17:23:28 +00:00
|
|
|
TextMark.custom \
|
2004-03-12 21:18:11 +00:00
|
|
|
TextTag.custom \
|
|
|
|
TextView.custom \
|
2005-07-02 15:23:27 +00:00
|
|
|
TooltipsData.custom \
|
2004-03-12 21:18:11 +00:00
|
|
|
TreeIter.custom \
|
|
|
|
TreeModel.custom \
|
2007-10-02 15:57:45 +00:00
|
|
|
TreeModelAdapter.custom \
|
2004-10-29 20:33:07 +00:00
|
|
|
TreeModelFilter.custom \
|
2004-03-12 21:18:11 +00:00
|
|
|
TreeModelSort.custom \
|
|
|
|
TreePath.custom \
|
|
|
|
TreeSelection.custom \
|
|
|
|
TreeStore.custom \
|
|
|
|
TreeViewColumn.custom \
|
|
|
|
TreeView.custom \
|
2005-01-09 00:26:45 +00:00
|
|
|
UIManager.custom \
|
2004-03-30 22:28:58 +00:00
|
|
|
VBox.custom \
|
2004-05-07 19:04:03 +00:00
|
|
|
VScale.custom \
|
2004-03-12 21:18:11 +00:00
|
|
|
Viewport.custom \
|
|
|
|
Widget.custom \
|
|
|
|
Window.custom
|
|
|
|
|
2009-08-30 20:06:33 +00:00
|
|
|
add_dist = gtk-sharp-3.0.pc.in
|
2004-05-01 03:38:54 +00:00
|
|
|
|
2011-01-30 23:00:03 +00:00
|
|
|
include $(top_srcdir)/Makefile.include
|
2004-05-01 03:38:54 +00:00
|
|
|
|