2000-10-22 16:01:20 +00:00
|
|
|
## Makefile for building the gtk DLL with Microsoft C
|
|
|
|
## Use: nmake -f makefile.msc
|
|
|
|
|
|
|
|
## There is no install target, you have to decide where and
|
|
|
|
## how to install for yourself.
|
|
|
|
|
2001-03-31 19:33:49 +00:00
|
|
|
TOP = ..\..
|
2001-11-09 21:52:52 +00:00
|
|
|
!INCLUDE $(TOP)/glib/build/win32/make.msc
|
2000-10-22 16:01:20 +00:00
|
|
|
|
|
|
|
################################################################
|
|
|
|
|
2005-07-30 18:53:44 +00:00
|
|
|
# Not the real version but the one used in the DLL names
|
|
|
|
GTK_VER = 2,0
|
|
|
|
GDK_PIXBUF_VER = 2.0
|
2000-10-22 16:01:20 +00:00
|
|
|
|
2001-07-20 18:05:33 +00:00
|
|
|
|
2000-10-22 16:01:20 +00:00
|
|
|
GDK_LIBS = ../gdk/gdk-win32-$(GTK_VER).lib
|
|
|
|
GTK_LIBS = gtk-win32-$(GTK_VER).lib
|
|
|
|
GDK_PIXBUF_LIBS = ../gdk-pixbuf/gdk_pixbuf-$(GDK_PIXBUF_VER).lib
|
2001-11-09 21:52:52 +00:00
|
|
|
GTK_BINARY_VERSION = @GTK_MAJOR_VERSION@.@GTK_MINOR_VERSION@.@LT_CURRENT@
|
2000-10-22 16:01:20 +00:00
|
|
|
|
|
|
|
# Perl and awk are needed to generate some source files.
|
|
|
|
# These generated source files are distribuyted with the Win32 GTk+ source
|
|
|
|
# distributions, so don't worry if you don't have perl and awk.
|
|
|
|
PERL = perl
|
|
|
|
AWK = gawk
|
|
|
|
|
2002-02-27 16:37:04 +00:00
|
|
|
INCLUDES = -FImsvc_recommended_pragmas.h -I . -I .. -I ../gdk -I ../gdk-pixbuf
|
2001-10-26 14:38:12 +00:00
|
|
|
DEPCFLAGS = $(PANGO_CFLAGS) $(GLIB_CFLAGS) $(LIBICONV_CFLAGS) \
|
2005-02-07 20:22:05 +00:00
|
|
|
$(INTL_CFLAGS) $(ATK_CFLAGS) $(CAIRO_CFLAGS)
|
2001-11-18 15:37:13 +00:00
|
|
|
LDFLAGS = $(ATK_LIBS) /link /machine:ix86 $(LINKDEBUG)
|
2000-10-22 16:01:20 +00:00
|
|
|
# Some files use near as an identifier
|
2001-02-25 17:25:09 +00:00
|
|
|
# Don't define GTK_COMPILATION here, because it's for gtk-x.x.dll only
|
2001-11-09 21:52:52 +00:00
|
|
|
DEFINES = $(G_DEBUGGING) -DGTK_DISABLE_COMPAT_H -DG_LOG_DOMAIN=\"Gtk\" -Dnear=xxnear \
|
2002-02-27 16:37:04 +00:00
|
|
|
-DPANGO_ENABLE_BACKEND \
|
|
|
|
-DGTK_VERSION=\"$(GTK_VER)\" -DGTK_BINARY_VERSION=\"$(GTK_BINARY_VERSION)\" \
|
2003-11-15 20:35:55 +00:00
|
|
|
-DGTK_HOST=\"win32\" \
|
|
|
|
-DGTK_FILE_SYSTEM_ENABLE_UNSUPPORTED
|
2000-10-22 16:01:20 +00:00
|
|
|
|
|
|
|
TOUCH = copy makefile.msc+nul
|
|
|
|
|
2001-08-04 13:19:59 +00:00
|
|
|
gtk-stocks-icons :
|
|
|
|
cd stock-icons
|
|
|
|
nmake -nologo -f makefile.msc
|
|
|
|
cd ..
|
|
|
|
|
2000-10-22 16:01:20 +00:00
|
|
|
all : \
|
|
|
|
..\config.h \
|
|
|
|
generated \
|
2001-08-04 13:19:59 +00:00
|
|
|
gtk-stocks-icons \
|
2003-07-20 15:50:14 +00:00
|
|
|
libgtk-win32-$(GTK_VER)-0.dll \
|
2001-11-18 15:37:13 +00:00
|
|
|
gtk-query-immodules-$(GTK_VER).exe \
|
2001-10-26 14:38:12 +00:00
|
|
|
# gtk-win32-$(GTK_VER)s.lib \
|
|
|
|
# gtk-x11-$(GTK_VER).dll
|
2000-10-22 16:01:20 +00:00
|
|
|
|
2000-10-27 21:12:58 +00:00
|
|
|
gtk_OBJECTS = \
|
2000-10-22 16:01:20 +00:00
|
|
|
fnmatch.obj \
|
2004-08-09 21:32:58 +00:00
|
|
|
gtkaboutdialog.obj \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkaccelgroup.obj \
|
|
|
|
gtkaccellabel.obj \
|
2001-11-18 15:37:13 +00:00
|
|
|
gtkaccelmap.obj \
|
2001-07-20 18:05:33 +00:00
|
|
|
gtkaccessible.obj \
|
2003-11-15 20:35:55 +00:00
|
|
|
gtkaction.obj \
|
|
|
|
gtkactiongroup.obj \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkadjustment.obj \
|
|
|
|
gtkalignment.obj \
|
|
|
|
gtkarrow.obj \
|
|
|
|
gtkaspectframe.obj \
|
|
|
|
gtkbin.obj \
|
|
|
|
gtkbindings.obj \
|
|
|
|
gtkbbox.obj \
|
|
|
|
gtkbox.obj \
|
|
|
|
gtkbutton.obj \
|
|
|
|
gtkcalendar.obj \
|
2001-10-26 14:38:12 +00:00
|
|
|
gtkcelleditable.obj \
|
2003-07-20 15:50:14 +00:00
|
|
|
gtkcelllayout.obj \
|
2000-11-17 21:59:04 +00:00
|
|
|
gtkcellrenderer.obj \
|
2004-08-06 19:20:42 +00:00
|
|
|
gtkcellrenderercombo.obj \
|
2000-11-17 21:59:04 +00:00
|
|
|
gtkcellrenderertext.obj \
|
|
|
|
gtkcellrenderertoggle.obj \
|
|
|
|
gtkcellrendererpixbuf.obj \
|
2004-08-06 19:20:42 +00:00
|
|
|
gtkcellrendererprogress.obj \
|
2003-11-15 20:35:55 +00:00
|
|
|
gtkcellview.obj \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkcheckbutton.obj \
|
|
|
|
gtkcheckmenuitem.obj \
|
|
|
|
gtkclipboard.obj \
|
|
|
|
gtkclist.obj \
|
2003-07-20 15:50:14 +00:00
|
|
|
gtkcolorbutton.obj \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkcolorsel.obj \
|
|
|
|
gtkcolorseldialog.obj \
|
|
|
|
gtkcombo.obj \
|
2003-11-15 20:35:55 +00:00
|
|
|
gtkcombobox.obj \
|
|
|
|
gtkcomboboxentry.obj \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkcontainer.obj \
|
|
|
|
gtkctree.obj \
|
|
|
|
gtkcurve.obj \
|
|
|
|
gtkdialog.obj \
|
|
|
|
gtkdnd.obj \
|
|
|
|
gtkdrawingarea.obj \
|
|
|
|
gtkeditable.obj \
|
|
|
|
gtkentry.obj \
|
2003-07-20 15:50:14 +00:00
|
|
|
gtkentrycompletion.obj \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkeventbox.obj \
|
2003-07-20 15:50:14 +00:00
|
|
|
gtkexpander.obj \
|
2003-11-15 20:35:55 +00:00
|
|
|
gtkfilechooser.obj \
|
2004-10-29 21:44:53 +00:00
|
|
|
gtkfilechooserbutton.obj \
|
2003-11-15 20:35:55 +00:00
|
|
|
gtkfilechooserdefault.obj \
|
|
|
|
gtkfilechooserdialog.obj \
|
2004-02-28 15:09:27 +00:00
|
|
|
gtkfilechooserembed.obj \
|
2003-11-15 20:35:55 +00:00
|
|
|
gtkfilechooserentry.obj \
|
|
|
|
gtkfilechooserutils.obj \
|
|
|
|
gtkfilechooserwidget.obj \
|
|
|
|
gtkfilefilter.obj \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkfilesel.obj \
|
2003-11-15 20:35:55 +00:00
|
|
|
gtkfilesystem.obj \
|
|
|
|
gtkfilesystemmodel.obj \
|
|
|
|
gtkfilesystemwin32.obj \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkfixed.obj \
|
|
|
|
gtkfontsel.obj \
|
2003-07-20 15:50:14 +00:00
|
|
|
gtkfontbutton.obj \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkframe.obj \
|
|
|
|
gtkgamma.obj \
|
|
|
|
gtkgc.obj \
|
|
|
|
gtkhandlebox.obj \
|
|
|
|
gtkhbbox.obj \
|
|
|
|
gtkhbox.obj \
|
|
|
|
gtkhpaned.obj \
|
|
|
|
gtkhruler.obj \
|
|
|
|
gtkhscale.obj \
|
|
|
|
gtkhscrollbar.obj \
|
|
|
|
gtkhseparator.obj \
|
|
|
|
gtkhsv.obj \
|
2004-10-29 21:44:53 +00:00
|
|
|
gtkiconcache.obj \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkiconfactory.obj \
|
2003-07-20 15:50:14 +00:00
|
|
|
gtkicontheme.obj \
|
2004-08-06 19:20:42 +00:00
|
|
|
gtkiconview.obj \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkimage.obj \
|
2001-02-25 17:25:09 +00:00
|
|
|
gtkimagemenuitem.obj \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkimcontext.obj \
|
|
|
|
gtkimcontextsimple.obj \
|
2000-11-14 23:01:47 +00:00
|
|
|
gtkimmodule.obj \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkimmulticontext.obj \
|
|
|
|
gtkinputdialog.obj \
|
|
|
|
gtkinvisible.obj \
|
|
|
|
gtkitem.obj \
|
|
|
|
gtkitemfactory.obj \
|
2002-02-27 16:37:04 +00:00
|
|
|
gtkkeyhash.obj \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtklabel.obj \
|
|
|
|
gtklayout.obj \
|
|
|
|
gtklist.obj \
|
|
|
|
gtklistitem.obj \
|
2001-03-31 19:33:49 +00:00
|
|
|
gtkliststore.obj \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkmain.obj \
|
2001-11-18 15:37:13 +00:00
|
|
|
gtkmarshalers.obj \
|
|
|
|
gtkmarshal.obj \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkmenu.obj \
|
|
|
|
gtkmenubar.obj \
|
|
|
|
gtkmenuitem.obj \
|
|
|
|
gtkmenushell.obj \
|
2004-10-29 21:44:53 +00:00
|
|
|
gtkmenutoolbutton.obj \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkmessagedialog.obj \
|
|
|
|
gtkmisc.obj \
|
2005-02-07 20:22:05 +00:00
|
|
|
gtkmnemonichash.obj \
|
2004-10-29 21:44:53 +00:00
|
|
|
gtkmodules.obj \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtknotebook.obj \
|
|
|
|
gtkobject.obj \
|
2000-11-14 23:01:47 +00:00
|
|
|
gtkoldeditable.obj \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkoptionmenu.obj \
|
|
|
|
gtkpaned.obj \
|
2004-03-07 13:40:19 +00:00
|
|
|
gtkpathbar.obj \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkpixmap.obj \
|
2005-07-30 18:53:44 +00:00
|
|
|
gtkplug.obj \
|
|
|
|
gtkplug-win32.obj \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkpreview.obj \
|
|
|
|
gtkprogress.obj \
|
|
|
|
gtkprogressbar.obj \
|
2003-11-15 20:35:55 +00:00
|
|
|
gtkradioaction.obj \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkradiobutton.obj \
|
2003-07-20 15:50:14 +00:00
|
|
|
gtkradiotoolbutton.obj \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkradiomenuitem.obj \
|
|
|
|
gtkrange.obj \
|
2001-02-25 17:25:09 +00:00
|
|
|
gtkrbtree.obj \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkrc.obj \
|
|
|
|
gtkruler.obj \
|
|
|
|
gtkscale.obj \
|
|
|
|
gtkscrollbar.obj \
|
|
|
|
gtkscrolledwindow.obj \
|
|
|
|
gtkselection.obj \
|
|
|
|
gtkseparator.obj \
|
2001-02-25 17:25:09 +00:00
|
|
|
gtkseparatormenuitem.obj \
|
2003-07-20 15:50:14 +00:00
|
|
|
gtkseparatortoolitem.obj \
|
2004-10-29 21:44:53 +00:00
|
|
|
gtksequence.obj \
|
2001-03-31 19:33:49 +00:00
|
|
|
gtksettings.obj \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtksignal.obj \
|
2001-07-20 18:05:33 +00:00
|
|
|
gtksizegroup.obj \
|
2005-07-30 18:53:44 +00:00
|
|
|
gtksocket.obj \
|
|
|
|
gtksocket-win32.obj \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkspinbutton.obj \
|
|
|
|
gtkstyle.obj \
|
|
|
|
gtkstatusbar.obj \
|
|
|
|
gtkstock.obj \
|
|
|
|
gtktable.obj \
|
|
|
|
gtktearoffmenuitem.obj \
|
|
|
|
gtktext.obj \
|
|
|
|
gtktextbtree.obj \
|
|
|
|
gtktextbuffer.obj \
|
|
|
|
gtktextchild.obj \
|
|
|
|
gtktextdisplay.obj \
|
|
|
|
gtktextiter.obj \
|
|
|
|
gtktextlayout.obj \
|
|
|
|
gtktextmark.obj \
|
|
|
|
gtktextsegment.obj \
|
|
|
|
gtktexttag.obj \
|
|
|
|
gtktexttagtable.obj \
|
|
|
|
gtktexttypes.obj \
|
2002-01-05 19:07:13 +00:00
|
|
|
gtktextutil.obj \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtktextview.obj \
|
|
|
|
gtkthemes.obj \
|
|
|
|
gtktipsquery.obj \
|
2003-11-15 20:35:55 +00:00
|
|
|
gtktoggleaction.obj \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtktogglebutton.obj \
|
2003-07-20 15:50:14 +00:00
|
|
|
gtktoggletoolbutton.obj \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtktoolbar.obj \
|
2003-07-20 15:50:14 +00:00
|
|
|
gtktoolbutton.obj \
|
|
|
|
gtktoolitem.obj \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtktooltips.obj \
|
|
|
|
gtktree.obj \
|
2001-02-25 17:25:09 +00:00
|
|
|
gtktreedatalist.obj \
|
|
|
|
gtktreednd.obj \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtktreeitem.obj \
|
2000-11-11 18:39:57 +00:00
|
|
|
gtktreemodel.obj \
|
2003-07-20 15:50:14 +00:00
|
|
|
gtktreemodelfilter.obj \
|
2001-02-25 17:25:09 +00:00
|
|
|
gtktreemodelsort.obj \
|
|
|
|
gtktreeselection.obj \
|
2001-03-31 19:33:49 +00:00
|
|
|
gtktreesortable.obj \
|
2001-02-25 17:25:09 +00:00
|
|
|
gtktreestore.obj \
|
|
|
|
gtktreeview.obj \
|
|
|
|
gtktreeviewcolumn.obj \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtktypeutils.obj \
|
2002-03-03 15:04:56 +00:00
|
|
|
gtktypebuiltins.obj \
|
2003-11-15 20:35:55 +00:00
|
|
|
gtkuimanager.obj \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkvbbox.obj \
|
|
|
|
gtkvbox.obj \
|
|
|
|
gtkviewport.obj \
|
|
|
|
gtkvpaned.obj \
|
|
|
|
gtkvruler.obj \
|
|
|
|
gtkvscale.obj \
|
|
|
|
gtkvscrollbar.obj \
|
|
|
|
gtkvseparator.obj \
|
|
|
|
gtkwidget.obj \
|
2005-07-30 18:53:44 +00:00
|
|
|
gtkwin32embed.obj \
|
2001-01-15 22:12:31 +00:00
|
|
|
gtkwindow.obj \
|
|
|
|
gtkwindow-decorate.obj
|
2000-10-22 16:01:20 +00:00
|
|
|
|
|
|
|
# Source headers which are non-autogenerated headers
|
2000-10-27 21:12:58 +00:00
|
|
|
gtk_public_h_sources = \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtk.h \
|
2004-08-09 21:32:58 +00:00
|
|
|
gtkaboutdialog.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkaccelgroup.h \
|
|
|
|
gtkaccellabel.h \
|
2003-07-20 15:50:14 +00:00
|
|
|
gtkaccelmap.h \
|
2001-07-20 18:05:33 +00:00
|
|
|
gtkaccessible.h \
|
2004-03-14 16:02:33 +00:00
|
|
|
gtkaction.h \
|
|
|
|
gtkactiongroup.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkadjustment.h \
|
|
|
|
gtkalignment.h \
|
|
|
|
gtkarrow.h \
|
|
|
|
gtkaspectframe.h \
|
2003-07-20 15:50:14 +00:00
|
|
|
gtkbbox.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkbin.h \
|
|
|
|
gtkbindings.h \
|
|
|
|
gtkbox.h \
|
|
|
|
gtkbutton.h \
|
|
|
|
gtkcalendar.h \
|
2003-07-20 15:50:14 +00:00
|
|
|
gtkcelleditable.h \
|
|
|
|
gtkcelllayout.h \
|
|
|
|
gtkcellrenderer.h \
|
|
|
|
gtkcellrendererpixbuf.h \
|
|
|
|
gtkcellrenderertext.h \
|
|
|
|
gtkcellrenderertoggle.h \
|
2004-08-06 19:20:42 +00:00
|
|
|
gtkcellview.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkcheckbutton.h \
|
|
|
|
gtkcheckmenuitem.h \
|
2003-07-20 15:50:14 +00:00
|
|
|
gtkclipboard.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkclist.h \
|
2000-10-27 21:12:58 +00:00
|
|
|
gtkclipboard.h \
|
2003-07-20 15:50:14 +00:00
|
|
|
gtkcolorbutton.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkcolorsel.h \
|
|
|
|
gtkcolorseldialog.h \
|
|
|
|
gtkcombo.h \
|
2004-03-14 16:02:33 +00:00
|
|
|
gtkcombobox.h \
|
|
|
|
gtkcomboboxentry.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkcontainer.h \
|
|
|
|
gtkctree.h \
|
|
|
|
gtkcurve.h \
|
|
|
|
gtkdebug.h \
|
|
|
|
gtkdialog.h \
|
|
|
|
gtkdnd.h \
|
|
|
|
gtkdrawingarea.h \
|
|
|
|
gtkeditable.h \
|
|
|
|
gtkentry.h \
|
2003-07-20 15:50:14 +00:00
|
|
|
gtkentrycompletion.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkenums.h \
|
|
|
|
gtkeventbox.h \
|
2003-07-20 15:50:14 +00:00
|
|
|
gtkexpander.h \
|
2003-11-15 20:35:55 +00:00
|
|
|
gtkfilechooser.h \
|
|
|
|
gtkfilechooserdialog.h \
|
|
|
|
gtkfilechooserwidget.h \
|
|
|
|
gtkfilefilter.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkfilesel.h \
|
|
|
|
gtkfixed.h \
|
2003-07-20 15:50:14 +00:00
|
|
|
gtkfontbutton.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkfontsel.h \
|
|
|
|
gtkframe.h \
|
|
|
|
gtkgamma.h \
|
|
|
|
gtkgc.h \
|
|
|
|
gtkhandlebox.h \
|
|
|
|
gtkhbbox.h \
|
|
|
|
gtkhbox.h \
|
|
|
|
gtkhpaned.h \
|
|
|
|
gtkhruler.h \
|
|
|
|
gtkhscale.h \
|
|
|
|
gtkhscrollbar.h \
|
|
|
|
gtkhseparator.h \
|
|
|
|
gtkhsv.h \
|
2000-10-27 21:12:58 +00:00
|
|
|
gtkiconfactory.h \
|
2003-07-20 15:50:14 +00:00
|
|
|
gtkicontheme.h \
|
2004-08-06 19:20:42 +00:00
|
|
|
gtkiconview.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkimage.h \
|
2003-07-20 15:50:14 +00:00
|
|
|
gtkimagemenuitem.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkimcontext.h \
|
2003-07-20 15:50:14 +00:00
|
|
|
gtkimcontextsimple.h \
|
2000-11-17 21:59:04 +00:00
|
|
|
gtkimmodule.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkimmulticontext.h \
|
|
|
|
gtkinputdialog.h \
|
|
|
|
gtkinvisible.h \
|
|
|
|
gtkitem.h \
|
|
|
|
gtkitemfactory.h \
|
|
|
|
gtklabel.h \
|
|
|
|
gtklayout.h \
|
|
|
|
gtklist.h \
|
|
|
|
gtklistitem.h \
|
2000-10-27 21:12:58 +00:00
|
|
|
gtkliststore.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkmain.h \
|
2001-11-18 15:37:13 +00:00
|
|
|
gtkmarshal.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkmenu.h \
|
|
|
|
gtkmenubar.h \
|
|
|
|
gtkmenuitem.h \
|
|
|
|
gtkmenushell.h \
|
2000-10-27 21:12:58 +00:00
|
|
|
gtkmessagedialog.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkmisc.h \
|
|
|
|
gtknotebook.h \
|
|
|
|
gtkobject.h \
|
2003-07-20 15:50:14 +00:00
|
|
|
gtkoldeditable.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkoptionmenu.h \
|
|
|
|
gtkpaned.h \
|
|
|
|
gtkpixmap.h \
|
|
|
|
gtkplug.h \
|
|
|
|
gtkpreview.h \
|
|
|
|
gtkprivate.h \
|
|
|
|
gtkprogress.h \
|
|
|
|
gtkprogressbar.h \
|
2004-03-14 16:02:33 +00:00
|
|
|
gtkradioaction.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkradiobutton.h \
|
|
|
|
gtkradiomenuitem.h \
|
2003-07-20 15:50:14 +00:00
|
|
|
gtkradiotoolbutton.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkrange.h \
|
|
|
|
gtkrc.h \
|
|
|
|
gtkruler.h \
|
|
|
|
gtkscale.h \
|
|
|
|
gtkscrollbar.h \
|
|
|
|
gtkscrolledwindow.h \
|
|
|
|
gtkselection.h \
|
|
|
|
gtkseparator.h \
|
2003-07-20 15:50:14 +00:00
|
|
|
gtkseparatormenuitem.h \
|
|
|
|
gtkseparatortoolitem.h \
|
|
|
|
gtksettings.h \
|
|
|
|
gtksignal.h \
|
2001-07-20 18:05:33 +00:00
|
|
|
gtksizegroup.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtksignal.h \
|
|
|
|
gtksocket.h \
|
|
|
|
gtkspinbutton.h \
|
|
|
|
gtkstatusbar.h \
|
2000-10-27 21:12:58 +00:00
|
|
|
gtkstock.h \
|
2003-07-20 15:50:14 +00:00
|
|
|
gtkstyle.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtktable.h \
|
|
|
|
gtktearoffmenuitem.h \
|
2003-07-20 15:50:14 +00:00
|
|
|
gtktext.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtktextbuffer.h \
|
2000-10-27 21:12:58 +00:00
|
|
|
gtktextchild.h \
|
|
|
|
gtktextdisplay.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtktextiter.h \
|
2000-10-27 21:12:58 +00:00
|
|
|
gtktextlayout.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtktextmark.h \
|
|
|
|
gtktexttag.h \
|
|
|
|
gtktexttagtable.h \
|
|
|
|
gtktextview.h \
|
|
|
|
gtktipsquery.h \
|
2004-03-14 16:02:33 +00:00
|
|
|
gtktoggleaction.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtktogglebutton.h \
|
2003-07-20 15:50:14 +00:00
|
|
|
gtktoggletoolbutton.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtktoolbar.h \
|
2003-07-20 15:50:14 +00:00
|
|
|
gtktoolbutton.h \
|
|
|
|
gtktoolitem.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtktooltips.h \
|
|
|
|
gtktree.h \
|
2003-07-20 15:50:14 +00:00
|
|
|
gtktreednd.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtktreeitem.h \
|
2000-10-27 21:12:58 +00:00
|
|
|
gtktreemodel.h \
|
2003-07-20 15:50:14 +00:00
|
|
|
gtktreemodelfilter.h \
|
2000-11-17 21:59:04 +00:00
|
|
|
gtktreemodelsort.h \
|
2000-10-27 21:12:58 +00:00
|
|
|
gtktreeselection.h \
|
2001-02-23 03:51:41 +00:00
|
|
|
gtktreesortable.h \
|
2000-10-27 21:12:58 +00:00
|
|
|
gtktreestore.h \
|
|
|
|
gtktreeview.h \
|
|
|
|
gtktreeviewcolumn.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtktypeutils.h \
|
2004-03-14 16:02:33 +00:00
|
|
|
gtkuimanager.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkvbbox.h \
|
|
|
|
gtkvbox.h \
|
|
|
|
gtkviewport.h \
|
|
|
|
gtkvpaned.h \
|
|
|
|
gtkvruler.h \
|
|
|
|
gtkvscale.h \
|
|
|
|
gtkvscrollbar.h \
|
|
|
|
gtkvseparator.h \
|
|
|
|
gtkwidget.h \
|
|
|
|
gtkwindow.h
|
|
|
|
|
2001-07-20 18:05:33 +00:00
|
|
|
# these aren't use here, but listed for reference
|
|
|
|
gtk_extra_sources = \
|
2001-08-23 15:26:49 +00:00
|
|
|
gtkversion.h \
|
2001-07-20 18:05:33 +00:00
|
|
|
gtk-boxed.defs \
|
|
|
|
gtkmarshal.list \
|
|
|
|
|
2000-10-22 16:01:20 +00:00
|
|
|
..\config.h : ..\config.h.win32
|
|
|
|
copy ..\config.h.win32 ..\config.h
|
|
|
|
|
2004-08-09 21:32:58 +00:00
|
|
|
GENERATED = \
|
|
|
|
gtktypebuiltins.h gtktypebuiltins.c \
|
|
|
|
gtkmarshal.h gtkmarshal.c gtkmarshalers.h gtkmarshalers.c \
|
2005-07-03 15:47:42 +00:00
|
|
|
gtk.def gtkalias.h gtkaliasdef.c
|
2000-10-22 16:01:20 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Generated source files:
|
|
|
|
#
|
|
|
|
generated : $(GENERATED)
|
|
|
|
$(TOUCH) generated
|
|
|
|
|
2005-02-07 20:22:05 +00:00
|
|
|
gtk.def: gtk.symbols makefile.msc
|
2004-08-09 21:32:58 +00:00
|
|
|
echo EXPORTS > gtk.def
|
2005-07-03 15:47:42 +00:00
|
|
|
cl /EP -DINCLUDE_VARIABLES -DG_OS_WIN32 -DALL_FILES gtk.symbols >> gtk.def
|
2004-08-09 21:32:58 +00:00
|
|
|
|
|
|
|
gtkalias.h: gtk.symbols
|
|
|
|
cl /EP -DG_OS_WIN32 -DGTK_WINDOWING_WIN32 -DINCLUDE_INTERNAL_SYMBOLS gtk.symbols | $(PERL) makegtkalias.pl > gtkalias.h
|
2000-10-22 16:01:20 +00:00
|
|
|
|
2005-07-03 15:47:42 +00:00
|
|
|
gtkaliasdef.c: gtk.symbols
|
|
|
|
perl makegtkalias.pl -def < gtk.symbols > gtkaliasdef.c
|
|
|
|
|
2000-10-22 16:01:20 +00:00
|
|
|
# generate type identifier header (GTK_TYPE_WIDGET_FLAGS)
|
2002-03-03 15:04:56 +00:00
|
|
|
# use 'echo' to work around 'command line too long'
|
|
|
|
gtktypebuiltins.h: $(gtk_public_h_sources) makefile.msc
|
|
|
|
echo #ifndef __GTK_TYPE_BUILTINS_H__ > gtktypebuiltins.h
|
|
|
|
echo #define __GTK_TYPE_BUILTINS_H__ >> gtktypebuiltins.h
|
|
|
|
echo #include "glib-object.h" >> gtktypebuiltins.h
|
|
|
|
echo G_BEGIN_DECLS >> gtktypebuiltins.h
|
|
|
|
$(PERL) $(GLIB)\gobject\glib-mkenums \
|
|
|
|
--fprod "/* enumerations from \"@filename@\" */\n" \
|
|
|
|
--vhead "GType @enum_name@_get_type (void);\n#define GTK_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" \
|
|
|
|
--ftail "G_END_DECLS\n\n#endif /* __GTK_TYPE_BUILTINS_H__ */" \
|
|
|
|
$(gtk_public_h_sources) >> gtktypebuiltins.h
|
2000-10-22 16:01:20 +00:00
|
|
|
|
2002-03-03 15:04:56 +00:00
|
|
|
gtktypebuiltins.c: $(gtk_public_h_sources) makefile.msc
|
|
|
|
$(PERL) $(GLIB)\gobject\glib-mkenums \
|
|
|
|
--fhead "#define GTK_ENABLE_BROKEN\n#include \"gtk.h\"\n#include \"gtkprivate.h\"" \
|
|
|
|
--fprod "\n/* enumerations from \"@filename@\" */" \
|
|
|
|
--vhead "GType\n@enum_name@_get_type (void)\n{\n static GType etype = 0;\n if (etype == 0) {\n static const G@Type@Value values[] = {" \
|
|
|
|
--vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
|
|
|
|
--vtail " { 0, NULL, NULL }\n };\n etype = g_@type@_register_static (\"@EnumName@\", values);\n }\n return etype;\n}\n" \
|
|
|
|
$(gtk_public_h_sources) > xgen-gtbc
|
|
|
|
copy xgen-gtbc gtktypebuiltins.c
|
2000-10-22 16:01:20 +00:00
|
|
|
|
2001-11-18 15:37:13 +00:00
|
|
|
# private marshalers
|
|
|
|
gtkmarshalers.h : gtkmarshalers.list
|
|
|
|
$(GLIB)\gobject\glib-genmarshal --prefix=_gtk_marshal gtkmarshalers.list --header >>gtkmarshalers.h
|
|
|
|
|
|
|
|
gtkmarshalers.c : gtkmarshalers.list
|
|
|
|
$(GLIB)\gobject\glib-genmarshal --prefix=_gtk_marshal gtkmarshalers.list --body >gtkmarshalers.c
|
|
|
|
|
|
|
|
# public, deprecated marshalers
|
2000-10-27 21:39:26 +00:00
|
|
|
gtkmarshal.h : gtkmarshal.list
|
2001-11-18 15:37:13 +00:00
|
|
|
echo #ifndef GTK_DISABLE_DEPRECATED >gtkmarshal.h
|
|
|
|
$(GLIB)\gobject\glib-genmarshal --prefix=gtk_marshal gtkmarshal.list --header >>gtkmarshal.h
|
|
|
|
echo #endif /* GTK_DISABLE_DEPRECATED */ >>gtkmarshal.h
|
2000-10-27 21:39:26 +00:00
|
|
|
|
|
|
|
gtkmarshal.c : gtkmarshal.list
|
2001-03-31 19:33:49 +00:00
|
|
|
$(GLIB)\gobject\glib-genmarshal --prefix=gtk_marshal gtkmarshal.list --body >gtkmarshal.c
|
|
|
|
|
|
|
|
gtksignal.obj : gtksignal.c gtkmarshal.c gtkmarshal.h
|
|
|
|
$(CC) $(CFLAGS) -GD -c -DGTK_COMPILATION -DG_LOG_DOMAIN=\"Gtk\" gtksignal.c
|
2000-10-22 16:01:20 +00:00
|
|
|
|
2004-04-11 15:25:06 +00:00
|
|
|
gtk-win32.res : gtk-win32.rc
|
|
|
|
rc -DBUILDNUMBER=0 -r -fo gtk-win32.res gtk-win32.rc
|
2003-11-15 20:35:55 +00:00
|
|
|
|
2000-10-22 16:01:20 +00:00
|
|
|
#
|
|
|
|
# Linking:
|
|
|
|
#
|
2004-04-11 15:25:06 +00:00
|
|
|
libgtk-win32-$(GTK_VER)-0.dll : $(gtk_OBJECTS) gtk.def gtk-win32.res
|
2004-05-02 13:20:49 +00:00
|
|
|
$(CC) $(CFLAGS) -LD -Fm -Fe$@ $(gtk_OBJECTS) gtk-win32.res \
|
2005-02-07 20:22:05 +00:00
|
|
|
$(GDK_LIBS) $(GDK_PIXBUF_LIBS) $(PANGO_LIBS) $(INTL_LIBS) $(GLIB_LIBS) $(GMODULE_LIBS) \
|
2005-07-03 15:47:42 +00:00
|
|
|
$(CAIRO_LIBS) $(PANGOCAIRO_LIBS) \
|
2005-02-07 20:22:05 +00:00
|
|
|
gdi32.lib user32.lib advapi32.lib wsock32.lib shell32.lib ole32.lib \
|
2003-07-20 15:50:14 +00:00
|
|
|
$(LDFLAGS) /implib:gtk-win32-$(GTK_VER).lib /def:gtk.def
|
2001-07-20 18:05:33 +00:00
|
|
|
|
|
|
|
gtk-win32-$(GTK_VER)s.lib : $(gtk_OBJECTS)
|
|
|
|
lib /out:gtk-win32-$(GTK_VER)s.lib $(gtk_OBJECTS)
|
2000-10-22 16:01:20 +00:00
|
|
|
|
2001-11-18 15:37:13 +00:00
|
|
|
gtk-query-immodules-$(GTK_VER).exe : queryimmodules.obj
|
|
|
|
$(CC) $(CFLAGS) -Fe$@ queryimmodules.obj $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS) $(LDFLAGS)
|
|
|
|
|
2001-10-26 14:38:12 +00:00
|
|
|
gtk-x11-$(GTK_VER).dll : $(gtk_OBJECTS) gtk.def
|
|
|
|
$(CC) $(CFLAGS) -LD -Fm -Fegtk-x11-$(GTK_VER).dll $(gtk_OBJECTS) ../gdk/gdk-x11-$(GTK_VER).lib $(GDK_PIXBUF_LIBS) $(PANGO_LIBS) $(INTL_LIBS) $(GLIB_LIBS) gdi32.lib user32.lib advapi32.lib $(LDFLAGS) /def:gtk.def
|
|
|
|
|
2000-10-22 16:01:20 +00:00
|
|
|
# General rule for compiling the objects into the DLL
|
|
|
|
.c.obj :
|
|
|
|
$(CC) $(CFLAGS) -GD -c -DGTK_COMPILATION -DG_LOG_DOMAIN=\"Gtk\" $<
|
|
|
|
|
2001-02-25 17:25:09 +00:00
|
|
|
$(EXAMPLE).obj : ..\examples\$(EXAMPLE)\$(EXAMPLE).c
|
|
|
|
$(CC) $(CFLAGS) -c -DG_LOG_DOMAIN=\"$(EXAMPLE)\" ..\examples\$(EXAMPLE)\$(EXAMPLE).c
|
|
|
|
|
|
|
|
$(EXAMPLE).exe : $(EXAMPLE).obj
|
|
|
|
$(CC) $(CFLAGS) $(EXAMPLE).obj $(GTK_LIBS) $(GDK_LIBS) $(GLIB_LIBS) $(LDFLAGS)
|
|
|
|
|