2004-03-18 23:03:49 +01:00
|
|
|
SUBDIRS = . glue
|
2004-03-12 22:18:11 +01:00
|
|
|
|
2008-10-10 00:35:02 +02:00
|
|
|
if ENABLE_MONO_CAIRO
|
|
|
|
local_mono_cairo=$(top_builddir)/cairo/Mono.Cairo.dll
|
|
|
|
else
|
|
|
|
local_mono_cairo=
|
|
|
|
endif
|
|
|
|
|
2005-01-09 01:26:45 +01:00
|
|
|
pkg = gtk
|
|
|
|
pkgconfigdir=$(libdir)/pkgconfig
|
|
|
|
pkgconfig_DATA=gtk-sharp-2.0.pc
|
2004-03-12 22:18:11 +01:00
|
|
|
|
2005-01-09 01:26:45 +01:00
|
|
|
SYMBOLS = gtk-symbols.xml
|
2009-01-04 23:29:56 +01:00
|
|
|
INCLUDE_API = $(srcdir)/../glib/glib-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 01:26:45 +01:00
|
|
|
METADATA = Gtk.metadata
|
2009-01-04 23:29:56 +01:00
|
|
|
references = $(top_builddir)/glib/glib-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 $(local_mono_cairo)
|
* 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 16:28:55 +02:00
|
|
|
glue_includes = gtk/gtk.h
|
2004-03-12 22:18:11 +01:00
|
|
|
|
|
|
|
sources = \
|
2004-11-26 15:59:38 +01:00
|
|
|
ActionEntry.cs \
|
2004-03-12 22:18:11 +01:00
|
|
|
Application.cs \
|
2004-12-23 23:59:59 +01:00
|
|
|
BindingAttribute.cs \
|
2004-11-18 21:31:22 +01:00
|
|
|
ChildPropertyAttribute.cs \
|
2004-03-12 22:18:11 +01:00
|
|
|
ITreeNode.cs \
|
2008-04-15 20:44:53 +02:00
|
|
|
Key.cs \
|
2004-12-17 21:32:33 +01:00
|
|
|
NodeCellDataFunc.cs \
|
2004-12-16 21:30:43 +01:00
|
|
|
NodeSelection.cs \
|
2004-03-12 22:18:11 +01:00
|
|
|
NodeStore.cs \
|
2004-12-16 21:30:43 +01:00
|
|
|
NodeView.cs \
|
2004-11-26 15:59:38 +01:00
|
|
|
RadioActionEntry.cs \
|
2007-04-17 19:42:58 +02:00
|
|
|
RowsReorderedHandler.cs \
|
2005-01-18 04:06:15 +01:00
|
|
|
StockManager.cs \
|
2004-03-12 22:18:11 +01:00
|
|
|
ThreadNotify.cs \
|
2004-11-26 15:59:38 +01:00
|
|
|
ToggleActionEntry.cs \
|
2005-04-05 22:14:02 +02:00
|
|
|
Timeout.cs \
|
2005-05-11 21:41:45 +02:00
|
|
|
TreeEnumerator.cs \
|
2004-03-12 22:18:11 +01:00
|
|
|
TreeNodeAttribute.cs \
|
|
|
|
TreeNode.cs \
|
|
|
|
TreeNodeValueAttribute.cs
|
|
|
|
|
|
|
|
customs = \
|
2007-12-06 18:23:28 +01:00
|
|
|
AboutDialog.custom \
|
2004-03-12 22:18:11 +01:00
|
|
|
Accel.custom \
|
|
|
|
AccelKey.custom \
|
2004-10-29 22:33:07 +02:00
|
|
|
Action.custom \
|
2004-11-26 15:59:38 +01:00
|
|
|
ActionGroup.custom \
|
2004-03-12 22:18:11 +01:00
|
|
|
Adjustment.custom \
|
2004-09-24 17:58:05 +02:00
|
|
|
Bin.custom \
|
2008-10-28 12:16:32 +01:00
|
|
|
Builder.custom \
|
2004-03-12 22:18:11 +01:00
|
|
|
Button.custom \
|
|
|
|
Calendar.custom \
|
2004-05-14 22:25:57 +02:00
|
|
|
CellRenderer.custom \
|
2007-02-16 19:28:37 +01:00
|
|
|
CellRendererAccel.custom \
|
|
|
|
CellRendererCombo.custom \
|
|
|
|
CellRendererPixbuf.custom \
|
|
|
|
CellRendererProgress.custom \
|
|
|
|
CellRendererSpin.custom \
|
|
|
|
CellRendererText.custom \
|
|
|
|
CellRendererToggle.custom \
|
2005-01-04 19:54:02 +01:00
|
|
|
CellLayout.custom \
|
2007-10-02 17:57:45 +02:00
|
|
|
CellLayoutAdapter.custom \
|
2005-01-04 19:54:02 +01:00
|
|
|
CellView.custom \
|
2004-05-07 19:32:32 +02:00
|
|
|
CheckMenuItem.custom \
|
2004-03-12 22:18:11 +01:00
|
|
|
Clipboard.custom \
|
|
|
|
ColorSelection.custom \
|
|
|
|
ColorSelectionDialog.custom \
|
|
|
|
Combo.custom \
|
2004-10-29 22:33:07 +02:00
|
|
|
ComboBox.custom \
|
2005-06-28 18:35:36 +02:00
|
|
|
ComboBoxEntry.custom \
|
2004-03-12 22:18:11 +01:00
|
|
|
Container.custom \
|
|
|
|
Dialog.custom \
|
2005-09-08 21:01:01 +02:00
|
|
|
Drag.custom \
|
2004-03-12 22:18:11 +01:00
|
|
|
Entry.custom \
|
2005-01-04 19:54:02 +01:00
|
|
|
EntryCompletion.custom \
|
2004-10-29 22:33:07 +02:00
|
|
|
FileChooserDialog.custom \
|
2004-03-12 22:18:11 +01:00
|
|
|
FileSelection.custom \
|
|
|
|
Frame.custom \
|
2004-03-31 00:28:58 +02:00
|
|
|
HBox.custom \
|
2004-05-07 21:04:03 +02:00
|
|
|
HScale.custom \
|
2004-03-12 22:18:11 +01:00
|
|
|
IconFactory.custom \
|
|
|
|
IconSet.custom \
|
2004-10-29 22:33:07 +02:00
|
|
|
IconTheme.custom \
|
2005-12-10 00:16:42 +01:00
|
|
|
IconView.custom \
|
2005-01-07 20:32:23 +01:00
|
|
|
Image.custom \
|
2004-05-07 19:32:32 +02:00
|
|
|
ImageMenuItem.custom \
|
2004-09-03 17:59:29 +02:00
|
|
|
Init.custom \
|
2005-04-05 22:14:02 +02:00
|
|
|
Input.custom \
|
2004-05-10 19:37:02 +02:00
|
|
|
ItemFactory.custom \
|
2004-03-12 22:18:11 +01:00
|
|
|
Label.custom \
|
|
|
|
ListStore.custom \
|
|
|
|
MessageDialog.custom \
|
2004-08-24 21:54:09 +02:00
|
|
|
Menu.custom \
|
2004-05-07 17:48:25 +02:00
|
|
|
MenuItem.custom \
|
2004-03-12 22:18:11 +01:00
|
|
|
Notebook.custom \
|
|
|
|
Object.custom \
|
2004-05-10 19:37:02 +02:00
|
|
|
Plug.custom \
|
2008-04-16 22:23:39 +02:00
|
|
|
PrintContext.custom \
|
2006-08-07 22:45:47 +02:00
|
|
|
Printer.custom \
|
2004-03-12 22:18:11 +01:00
|
|
|
RadioButton.custom \
|
|
|
|
RadioMenuItem.custom \
|
2006-01-21 16:52:50 +01:00
|
|
|
RadioToolButton.custom \
|
2004-03-12 22:18:11 +01:00
|
|
|
ScrolledWindow.custom \
|
|
|
|
SelectionData.custom \
|
2004-05-28 17:05:36 +02:00
|
|
|
Settings.custom \
|
2004-05-07 21:41:36 +02:00
|
|
|
SpinButton.custom \
|
2007-02-03 18:55:23 +01:00
|
|
|
StatusIcon.custom \
|
2004-03-12 22:18:11 +01:00
|
|
|
Stock.custom \
|
2005-01-06 22:41:01 +01:00
|
|
|
StockItem.custom \
|
2004-03-12 22:18:11 +01:00
|
|
|
Style.custom \
|
|
|
|
Table.custom \
|
|
|
|
TargetEntry.custom \
|
2004-10-19 16:21:48 +02:00
|
|
|
TargetList.custom \
|
2005-07-02 17:23:27 +02:00
|
|
|
TargetPair.custom \
|
|
|
|
TextAttributes.custom \
|
|
|
|
TextAppearance.custom \
|
2004-03-12 22:18:11 +01:00
|
|
|
TextBuffer.custom \
|
|
|
|
TextChildAnchor.custom \
|
|
|
|
TextIter.custom \
|
2007-12-06 18:23:28 +01:00
|
|
|
TextMark.custom \
|
2004-03-12 22:18:11 +01:00
|
|
|
TextTag.custom \
|
|
|
|
TextView.custom \
|
2005-01-25 16:28:42 +01:00
|
|
|
Toolbar.custom \
|
2005-07-02 17:23:27 +02:00
|
|
|
TooltipsData.custom \
|
2004-03-12 22:18:11 +01:00
|
|
|
TreeIter.custom \
|
|
|
|
TreeModel.custom \
|
2007-10-02 17:57:45 +02:00
|
|
|
TreeModelAdapter.custom \
|
2004-10-29 22:33:07 +02:00
|
|
|
TreeModelFilter.custom \
|
2004-03-12 22:18:11 +01:00
|
|
|
TreeModelSort.custom \
|
|
|
|
TreePath.custom \
|
|
|
|
TreeSelection.custom \
|
2005-03-15 18:30:59 +01:00
|
|
|
TreeSortable.custom \
|
2007-10-02 17:57:45 +02:00
|
|
|
TreeSortableAdapter.custom \
|
2004-03-12 22:18:11 +01:00
|
|
|
TreeStore.custom \
|
|
|
|
TreeViewColumn.custom \
|
|
|
|
TreeView.custom \
|
2005-01-09 01:26:45 +01:00
|
|
|
UIManager.custom \
|
2004-03-31 00:28:58 +02:00
|
|
|
VBox.custom \
|
2004-05-07 21:04:03 +02:00
|
|
|
VScale.custom \
|
2004-03-12 22:18:11 +01:00
|
|
|
Viewport.custom \
|
|
|
|
Widget.custom \
|
|
|
|
Window.custom
|
|
|
|
|
2008-05-15 19:36:46 +02:00
|
|
|
add_dist = gtk-sharp-2.0.pc.in
|
2004-05-01 05:38:54 +02:00
|
|
|
|
2005-01-09 01:26:45 +01:00
|
|
|
include ../Makefile.include
|
2004-05-01 05:38:54 +02:00
|
|
|
|