2000-07-25 20:38:35 +00:00
|
|
|
## Makefile for building the GTK DLL with gcc on Win32
|
|
|
|
## Use: make -f makefile.mingw
|
|
|
|
|
|
|
|
## There is no install target, you have to decide where and
|
|
|
|
## how to install for yourself.
|
|
|
|
|
|
|
|
# This is the location of pthreads for Win32,
|
|
|
|
# see http://sourceware.cygnus.com/pthreads-win32/
|
|
|
|
PTHREADS = ../../pthreads-snap-1999-05-30
|
|
|
|
PTHREAD_LIB = -L $(PTHREADS) -lpthread
|
|
|
|
PTHREAD_INC = -I $(PTHREADS)
|
|
|
|
|
|
|
|
OPTIMIZE = -g
|
|
|
|
|
|
|
|
TOP = ../..
|
|
|
|
|
|
|
|
include ../build/win32/make.mingw
|
|
|
|
|
|
|
|
################################################################
|
|
|
|
|
|
|
|
# Possibly override GTK+ version from build/win32/module.defs
|
|
|
|
GTK_VER = @GTK_MAJOR_VERSION@.@GTK_MINOR_VERSION@
|
|
|
|
|
|
|
|
GDK_LIBS = -L ../gdk -lgdk-win32-$(GTK_VER)
|
|
|
|
GTK_LIBS = -L . -lgtk-win32-$(GTK_VER)
|
|
|
|
GDK_PIXBUF_LIBS = -L ../gdk-pixbuf -lgdk_pixbuf-$(GTK_VER)
|
|
|
|
|
|
|
|
# Perl and awk are needed to generate some source files.
|
|
|
|
# These generated source files are distributed with the Win32 GTk+ source
|
|
|
|
# distributions, so don't worry if you don't have perl and awk.
|
|
|
|
PERL = perl
|
|
|
|
AWK = awk
|
|
|
|
|
|
|
|
INCLUDES = -I . -I .. -I ../gdk -I ../gdk-pixbuf
|
2000-07-30 08:11:28 +00:00
|
|
|
DEPCFLAGS = $(PANGO_CFLAGS) $(GLIB_CFLAGS) $(LIBICONV_CFLAGS) $(INTL_CFLAGS)
|
2000-07-25 20:38:35 +00:00
|
|
|
DEFINES = -DGTK_DISABLE_COMPAT_H -DGTK_COMPILATION -DG_LOG_DOMAIN=\"Gtk\"
|
|
|
|
|
|
|
|
all : \
|
|
|
|
../config.h \
|
|
|
|
gtkcompat.h \
|
|
|
|
generated \
|
|
|
|
gtk-win32-$(GTK_VER).dll \
|
|
|
|
testcalendar.exe \
|
|
|
|
testdnd.exe \
|
|
|
|
testgtk.exe \
|
|
|
|
testinput.exe \
|
|
|
|
testrgb.exe \
|
|
|
|
testselection.exe \
|
|
|
|
testtext.exe \
|
2000-08-12 19:51:05 +00:00
|
|
|
testtextbuffer.exe \
|
2000-07-25 20:38:35 +00:00
|
|
|
simple.exe
|
|
|
|
|
|
|
|
gtk_OBJECTS = \
|
|
|
|
fnmatch.o \
|
|
|
|
gdk-pixbuf-loader.o \
|
|
|
|
gtkaccelgroup.o \
|
|
|
|
gtkaccellabel.o \
|
|
|
|
gtkadjustment.o \
|
|
|
|
gtkalignment.o \
|
|
|
|
gtkarg.o \
|
|
|
|
gtkarrow.o \
|
|
|
|
gtkaspectframe.o \
|
|
|
|
gtkbin.o \
|
|
|
|
gtkbindings.o \
|
|
|
|
gtkbbox.o \
|
|
|
|
gtkbox.o \
|
|
|
|
gtkbutton.o \
|
|
|
|
gtkcalendar.o \
|
|
|
|
gtkcheckbutton.o \
|
|
|
|
gtkcheckmenuitem.o \
|
|
|
|
gtkclist.o \
|
|
|
|
gtkcolorsel.o \
|
|
|
|
gtkcolorseldialog.o \
|
|
|
|
gtkcombo.o \
|
|
|
|
gtkcontainer.o \
|
|
|
|
gtkctree.o \
|
|
|
|
gtkcurve.o \
|
|
|
|
gtkdata.o \
|
|
|
|
gtkdialog.o \
|
|
|
|
gtkdnd.o \
|
|
|
|
gtkdrawingarea.o \
|
|
|
|
gtkeditable.o \
|
|
|
|
gtkentry.o \
|
|
|
|
gtkeventbox.o \
|
|
|
|
gtkfilesel.o \
|
|
|
|
gtkfixed.o \
|
|
|
|
gtkfontsel.o \
|
|
|
|
gtkframe.o \
|
|
|
|
gtkgamma.o \
|
|
|
|
gtkgc.o \
|
|
|
|
gtkhandlebox.o \
|
|
|
|
gtkhbbox.o \
|
|
|
|
gtkhbox.o \
|
|
|
|
gtkhpaned.o \
|
|
|
|
gtkhruler.o \
|
|
|
|
gtkhscale.o \
|
|
|
|
gtkhscrollbar.o \
|
|
|
|
gtkhseparator.o \
|
|
|
|
gtkhsv.o \
|
|
|
|
gtkimage.o \
|
|
|
|
gtkimcontext.o \
|
|
|
|
gtkimcontextsimple.o \
|
|
|
|
gtkimmulticontext.o \
|
|
|
|
gtkinputdialog.o \
|
|
|
|
gtkinvisible.o \
|
|
|
|
gtkitem.o \
|
|
|
|
gtkitemfactory.o \
|
|
|
|
gtklabel.o \
|
|
|
|
gtklayout.o \
|
|
|
|
gtklist.o \
|
|
|
|
gtklistitem.o \
|
|
|
|
gtkmain.o \
|
|
|
|
gtkmarshal.o \
|
|
|
|
gtkmenu.o \
|
|
|
|
gtkmenubar.o \
|
|
|
|
gtkmenufactory.o \
|
|
|
|
gtkmenuitem.o \
|
|
|
|
gtkmenushell.o \
|
|
|
|
gtkmisc.o \
|
|
|
|
gtknotebook.o \
|
|
|
|
gtkobject.o \
|
|
|
|
gtkoptionmenu.o \
|
|
|
|
gtkpacker.o \
|
|
|
|
gtkpaned.o \
|
|
|
|
gtkpixmap.o \
|
|
|
|
gtkplug.o \
|
|
|
|
gtkpreview.o \
|
|
|
|
gtkprogress.o \
|
|
|
|
gtkprogressbar.o \
|
|
|
|
gtkradiobutton.o \
|
|
|
|
gtkradiomenuitem.o \
|
|
|
|
gtkrange.o \
|
|
|
|
gtkrc.o \
|
|
|
|
gtkruler.o \
|
|
|
|
gtkscale.o \
|
|
|
|
gtkscrollbar.o \
|
|
|
|
gtkscrolledwindow.o \
|
|
|
|
gtkselection.o \
|
|
|
|
gtkseparator.o \
|
|
|
|
gtksignal.o \
|
|
|
|
gtksocket.o \
|
|
|
|
gtkspinbutton.o \
|
|
|
|
gtkstyle.o \
|
|
|
|
gtkstatusbar.o \
|
|
|
|
gtktable.o \
|
|
|
|
gtktearoffmenuitem.o \
|
|
|
|
gtktext.o \
|
|
|
|
gtktextbtree.o \
|
|
|
|
gtktextbuffer.o \
|
|
|
|
gtktextchild.o \
|
|
|
|
gtktextdisplay.o \
|
|
|
|
gtktextiter.o \
|
|
|
|
gtktextlayout.o \
|
|
|
|
gtktextmark.o \
|
|
|
|
gtktextsegment.o \
|
|
|
|
gtktexttag.o \
|
|
|
|
gtktexttagtable.o \
|
|
|
|
gtktexttypes.o \
|
|
|
|
gtktextview.o \
|
|
|
|
gtkthemes.o \
|
|
|
|
gtktipsquery.o \
|
|
|
|
gtktogglebutton.o \
|
|
|
|
gtktoolbar.o \
|
|
|
|
gtktooltips.o \
|
|
|
|
gtktree.o \
|
|
|
|
gtktreeitem.o \
|
|
|
|
gtktypeutils.o \
|
|
|
|
gtkvbbox.o \
|
|
|
|
gtkvbox.o \
|
|
|
|
gtkviewport.o \
|
|
|
|
gtkvpaned.o \
|
|
|
|
gtkvruler.o \
|
|
|
|
gtkvscale.o \
|
|
|
|
gtkvscrollbar.o \
|
|
|
|
gtkvseparator.o \
|
|
|
|
gtkwidget.o \
|
|
|
|
gtkwindow.o
|
|
|
|
|
|
|
|
# Source headers which are non-autogenerated headers
|
|
|
|
source_headers = \
|
|
|
|
gtk.h \
|
|
|
|
gtkaccelgroup.h \
|
|
|
|
gtkaccellabel.h \
|
|
|
|
gtkadjustment.h \
|
|
|
|
gtkalignment.h \
|
|
|
|
gtkarg.h \
|
|
|
|
gtkarrow.h \
|
|
|
|
gtkaspectframe.h \
|
|
|
|
gtkbin.h \
|
|
|
|
gtkbindings.h \
|
|
|
|
gtkbbox.h \
|
|
|
|
gtkbox.h \
|
|
|
|
gtkbutton.h \
|
|
|
|
gtkcalendar.h \
|
|
|
|
gtkcheckbutton.h \
|
|
|
|
gtkcheckmenuitem.h \
|
|
|
|
gtkclist.h \
|
|
|
|
gtkcolorsel.h \
|
|
|
|
gtkcolorseldialog.h \
|
|
|
|
gtkcombo.h \
|
|
|
|
gtkcompat.h \
|
|
|
|
gtkcontainer.h \
|
|
|
|
gtkctree.h \
|
|
|
|
gtkcurve.h \
|
|
|
|
gtkdata.h \
|
|
|
|
gtkdebug.h \
|
|
|
|
gtkdialog.h \
|
|
|
|
gtkdnd.h \
|
|
|
|
gtkdrawingarea.h \
|
|
|
|
gtkeditable.h \
|
|
|
|
gtkentry.h \
|
|
|
|
gtkenums.h \
|
|
|
|
gtkeventbox.h \
|
|
|
|
gtkfilesel.h \
|
|
|
|
gtkfixed.h \
|
|
|
|
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 \
|
|
|
|
gtkimage.h \
|
|
|
|
gtkimcontext.h \
|
|
|
|
gtkimmulticontext.h \
|
|
|
|
gtkinputdialog.h \
|
|
|
|
gtkinvisible.h \
|
|
|
|
gtkitem.h \
|
|
|
|
gtkitemfactory.h \
|
|
|
|
gtklabel.h \
|
|
|
|
gtklayout.h \
|
|
|
|
gtklist.h \
|
|
|
|
gtklistitem.h \
|
|
|
|
gtkmain.h \
|
|
|
|
gtkmenu.h \
|
|
|
|
gtkmenubar.h \
|
|
|
|
gtkmenufactory.h \
|
|
|
|
gtkmenuitem.h \
|
|
|
|
gtkmenushell.h \
|
|
|
|
gtkmisc.h \
|
|
|
|
gtknotebook.h \
|
|
|
|
gtkobject.h \
|
|
|
|
gtkoptionmenu.h \
|
|
|
|
gtkpacker.h \
|
|
|
|
gtkpaned.h \
|
|
|
|
gdk-pixbuf-loader.h \
|
|
|
|
gtkpixmap.h \
|
|
|
|
gtkplug.h \
|
|
|
|
gtkpreview.h \
|
|
|
|
gtkprivate.h \
|
|
|
|
gtkprogress.h \
|
|
|
|
gtkprogressbar.h \
|
|
|
|
gtkradiobutton.h \
|
|
|
|
gtkradiomenuitem.h \
|
|
|
|
gtkrange.h \
|
|
|
|
gtkrc.h \
|
|
|
|
gtkruler.h \
|
|
|
|
gtkscale.h \
|
|
|
|
gtkscrollbar.h \
|
|
|
|
gtkscrolledwindow.h \
|
|
|
|
gtkselection.h \
|
|
|
|
gtkseparator.h \
|
|
|
|
gtksignal.h \
|
|
|
|
gtksocket.h \
|
|
|
|
gtkspinbutton.h \
|
|
|
|
gtkstyle.h \
|
|
|
|
gtkstatusbar.h \
|
|
|
|
gtktable.h \
|
|
|
|
gtktearoffmenuitem.h \
|
|
|
|
gtktextbuffer.h \
|
|
|
|
gtktextiter.h \
|
|
|
|
gtktextmark.h \
|
|
|
|
gtktexttag.h \
|
|
|
|
gtktexttagtable.h \
|
|
|
|
gtktextview.h \
|
|
|
|
gtktext.h \
|
|
|
|
gtkthemes.h \
|
|
|
|
gtktipsquery.h \
|
|
|
|
gtktogglebutton.h \
|
|
|
|
gtktoolbar.h \
|
|
|
|
gtktooltips.h \
|
|
|
|
gtktree.h \
|
|
|
|
gtktreeitem.h \
|
|
|
|
gtktypeutils.h \
|
|
|
|
gtkvbbox.h \
|
|
|
|
gtkvbox.h \
|
|
|
|
gtkviewport.h \
|
|
|
|
gtkvpaned.h \
|
|
|
|
gtkvruler.h \
|
|
|
|
gtkvscale.h \
|
|
|
|
gtkvscrollbar.h \
|
|
|
|
gtkvseparator.h \
|
|
|
|
gtkwidget.h \
|
|
|
|
gtkwindow.h
|
|
|
|
|
|
|
|
# More headers to use when autogenerating.
|
|
|
|
gdk_headers = \
|
|
|
|
../gdk/gdkcc.h \
|
|
|
|
../gdk/gdkcolor.h \
|
|
|
|
../gdk/gdkcursor.h \
|
|
|
|
../gdk/gdkdnd.h \
|
|
|
|
../gdk/gdkdrawable.h \
|
|
|
|
../gdk/gdkevents.h \
|
|
|
|
../gdk/gdkfont.h \
|
|
|
|
../gdk/gdkgc.h \
|
|
|
|
../gdk/gdkim.h \
|
|
|
|
../gdk/gdkimage.h \
|
|
|
|
../gdk/gdkinput.h \
|
|
|
|
../gdk/gdkpixmap.h \
|
|
|
|
../gdk/gdkproperty.h \
|
|
|
|
../gdk/gdkregion.h \
|
|
|
|
../gdk/gdkrgb.h \
|
|
|
|
../gdk/gdkselection.h \
|
|
|
|
../gdk/gdktypes.h \
|
|
|
|
../gdk/gdkvisual.h \
|
|
|
|
../gdk/gdkwindow.h
|
|
|
|
|
|
|
|
../config.h : ../config.h.win32
|
|
|
|
cp $< $@
|
|
|
|
|
|
|
|
gtkcompat.h : gtkcompat.h.win32
|
|
|
|
cp $< $@
|
|
|
|
|
|
|
|
GENERATED = gtk.defs gtktypebuiltins.h gtktypebuiltins_vars.c gtktypebuiltins_ids.c gtktypebuiltins_evals.c gtkmarshal.h gtkmarshal.c
|
|
|
|
|
|
|
|
#
|
|
|
|
# Generated source files:
|
|
|
|
#
|
|
|
|
generated : $(GENERATED)
|
|
|
|
|
|
|
|
gtk.defs : makeenums.pl gtk-boxed.defs $(source_headers) $(gdk_headers)
|
|
|
|
$(PERL) makeenums.pl defs $(source_headers) $(gdk_headers) >gd.tmp
|
|
|
|
cat gd.tmp gtk-boxed.defs >gtk.defs
|
|
|
|
rm gd.tmp
|
|
|
|
|
|
|
|
# generate type identifier header (GTK_TYPE_WIDGET_FLAGS)
|
|
|
|
gtktypebuiltins.h: gtk.defs maketypes.awk
|
|
|
|
$(AWK) -f maketypes.awk gtk.defs macros >gtktypebuiltins.h
|
|
|
|
|
|
|
|
# generate type identifier variables (GTK_TYPE_WIDGET_FLAGS)
|
|
|
|
gtktypebuiltins_vars.c: gtk.defs maketypes.awk
|
|
|
|
$(AWK) -f maketypes.awk gtk.defs variables >gtktypebuiltins_vars.c
|
|
|
|
|
|
|
|
# generate type entries for type-id registration
|
|
|
|
gtktypebuiltins_ids.c: gtk.defs maketypes.awk
|
|
|
|
$(AWK) -f maketypes.awk gtk.defs entries >gtktypebuiltins_ids.c
|
|
|
|
|
|
|
|
# generate enum value arrays
|
|
|
|
gtktypebuiltins_evals.c: makeenums.pl gtk.defs
|
|
|
|
$(PERL) makeenums.pl arrays $(source_headers) $(gdk_headers) >gtktypebuiltins_evals.c
|
|
|
|
|
|
|
|
gtkmarshal.h gtkmarshal.c : gtkmarshal.list genmarshal.pl
|
|
|
|
$(PERL) genmarshal.pl gtkmarshal.list s-gmh s-gmc
|
|
|
|
-rm gtkmarshal.c
|
|
|
|
mv s-gmc gtkmarshal.c
|
|
|
|
-rm gtkmarshal.h
|
|
|
|
mv s-gmh gtkmarshal.h
|
|
|
|
|
|
|
|
#
|
|
|
|
# Linking:
|
|
|
|
#
|
|
|
|
gtk-win32-$(GTK_VER).dll : generated $(gtk_OBJECTS) gtk.def
|
2000-07-30 08:11:28 +00:00
|
|
|
$(GLIB)/build-dll gtk-win32 $(GTK_VER) gtk.def $(gtk_OBJECTS) $(GDK_LIBS) $(GDK_PIXBUF_LIBS) $(PANGO_LIBS) $(GLIB_LIBS) $(LIBICONV_LIBS) $(INTL_LIBS) -luser32
|
2000-07-25 20:38:35 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Test programs:
|
|
|
|
#
|
|
|
|
testcalendar.exe : testcalendar.o
|
|
|
|
$(CC) $(CFLAGS) -o $@ testcalendar.o $(GTK_LIBS) $(GDK_LIBS) $(PANGO_LIBS) $(GLIB_LIBS) $(LDFLAGS)
|
|
|
|
|
|
|
|
# Must have separate rules for these objects that don't go in the DLL
|
|
|
|
testcalendar.o : testcalendar.c
|
2000-08-12 19:51:05 +00:00
|
|
|
$(CC) $(CFLAGS) -UGTK_COMPILATION -c -DG_LOG_DOMAIN=\"testcalendar\" testcalendar.c
|
2000-07-25 20:38:35 +00:00
|
|
|
|
|
|
|
testdnd.exe : testdnd.o
|
|
|
|
$(CC) $(CFLAGS) -o $@ testdnd.o $(GTK_LIBS) $(GDK_LIBS) $(GLIB_LIBS) $(LDFLAGS)
|
|
|
|
|
|
|
|
testdnd.o : testdnd.c
|
2000-08-12 19:51:05 +00:00
|
|
|
$(CC) $(CFLAGS) -UGTK_COMPILATION -c -DG_LOG_DOMAIN=\"testdnd\" testdnd.c
|
2000-07-25 20:38:35 +00:00
|
|
|
|
|
|
|
testgtk.exe : testgtk.o
|
|
|
|
$(CC) $(CFLAGS) -o $@ testgtk.o $(GTK_LIBS) $(GDK_LIBS) $(PANGO_LIBS) $(GLIB_LIBS) $(LDFLAGS)
|
|
|
|
|
|
|
|
testgtk.o : testgtk.c
|
2000-08-12 19:51:05 +00:00
|
|
|
$(CC) $(CFLAGS) -UGTK_COMPILATION -c -DG_LOG_DOMAIN=\"testgtk\" testgtk.c
|
2000-07-25 20:38:35 +00:00
|
|
|
|
|
|
|
testinput.exe : testinput.o
|
|
|
|
$(CC) $(CFLAGS) -o $@ testinput.o $(GTK_LIBS) $(GDK_LIBS) $(GLIB_LIBS) $(LDFLAGS)
|
|
|
|
|
|
|
|
testinput.o : testinput.c
|
2000-08-12 19:51:05 +00:00
|
|
|
$(CC) $(CFLAGS) -UGTK_COMPILATION -c -DG_LOG_DOMAIN=\"testinput\" testinput.c
|
2000-07-25 20:38:35 +00:00
|
|
|
|
|
|
|
testrgb.exe : testrgb.o
|
|
|
|
$(CC) $(CFLAGS) -o $@ testrgb.o $(GTK_LIBS) $(GDK_LIBS) $(GLIB_LIBS) $(LDFLAGS)
|
|
|
|
|
|
|
|
testrgb.o : testrgb.c
|
2000-08-12 19:51:05 +00:00
|
|
|
$(CC) $(CFLAGS) -UGTK_COMPILATION -c -DG_LOG_DOMAIN=\"testrgb\" testrgb.c
|
2000-07-25 20:38:35 +00:00
|
|
|
|
|
|
|
testselection.exe : testselection.o
|
|
|
|
$(CC) $(CFLAGS) -o $@ testselection.o $(GTK_LIBS) $(GDK_LIBS) $(GLIB_LIBS) $(LDFLAGS)
|
|
|
|
|
|
|
|
testselection.o : testselection.c
|
2000-08-12 19:51:05 +00:00
|
|
|
$(CC) $(CFLAGS) -UGTK_COMPILATION -c -DG_LOG_DOMAIN=\"testselection\" testselection.c
|
|
|
|
|
|
|
|
testtext.exe : testtext.o
|
|
|
|
$(CC) $(CFLAGS) -o $@ testtext.o $(GTK_LIBS) $(GDK_LIBS) $(GLIB_LIBS) $(LDFLAGS)
|
|
|
|
|
|
|
|
testtext.o : testtext.c
|
|
|
|
$(CC) $(CFLAGS) -UGTK_COMPILATION -c -DG_LOG_DOMAIN=\"testtext\" testtext.c
|
|
|
|
|
|
|
|
testtextbuffer.exe : testtextbuffer.o
|
|
|
|
$(CC) $(CFLAGS) -o $@ testtextbuffer.o $(GTK_LIBS) $(GDK_LIBS) $(GLIB_LIBS) $(LDFLAGS)
|
|
|
|
|
|
|
|
testtextbuffer.o : testtextbuffer.c
|
|
|
|
$(CC) $(CFLAGS) -UGTK_COMPILATION -c -DG_LOG_DOMAIN=\"testtextbuffer\" testtextbuffer.c
|
2000-07-25 20:38:35 +00:00
|
|
|
|
|
|
|
testthreads.exe : testthreads.o
|
|
|
|
$(CC) $(CFLAGS) -o $@ testthreads.o $(GTK_LIBS) $(GDK_LIBS) $(GLIB_LIBS) $(PTHREAD_LIB) $(LDFLAGS)
|
|
|
|
|
|
|
|
testthreads.o : testthreads.c
|
2000-08-12 19:51:05 +00:00
|
|
|
$(CC) $(CFLAGS) -I$(PTHREAD_INC) -UGTK_COMPILATION -c -DG_LOG_DOMAIN=\"testthreads\" -DUSE_PTHREADS=1 testthreads.c
|
2000-07-25 20:38:35 +00:00
|
|
|
|
|
|
|
simple.exe : simple.o
|
|
|
|
$(CC) $(CFLAGS) -o $@ simple.o $(GTK_LIBS) $(GDK_LIBS) $(GLIB_LIBS) $(LDFLAGS)
|
|
|
|
|
|
|
|
simple.o : simple.c
|
2000-08-12 19:51:05 +00:00
|
|
|
$(CC) $(CFLAGS) -UGTK_COMPILATION -c -DG_LOG_DOMAIN=\"simple\" simple.c
|
2000-07-25 20:38:35 +00:00
|
|
|
|
|
|
|
# The rmgen target removes just the generated source files
|
|
|
|
rmgen:
|
|
|
|
-rm $(GENERATED)
|
|
|
|
|
|
|
|
# Hack to get an updated makefile.mingw automatically after updating
|
|
|
|
# makefile.mingw.in. Only for developer use.
|
|
|
|
makefile.mingw: makefile.mingw.in
|
|
|
|
sed -e 's,@GTK_MAJOR[_]VERSION@,@GTK_MAJOR_VERSION@,' \
|
|
|
|
-e 's,@GTK_MINOR[_]VERSION@,@GTK_MINOR_VERSION@,' <$< >$@
|