1997-11-24 22:37:52 +00:00
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
|
|
|
|
gdkincludedir = $(includedir)/gdk
|
|
|
|
|
1999-03-29 00:15:02 +00:00
|
|
|
|
1999-03-13 16:40:24 +00:00
|
|
|
|
1998-09-17 15:40:22 +00:00
|
|
|
lib_LTLIBRARIES = libgdk.la
|
Removed DEFS "+=" mess that breaks recent automakes. INCLUDES is the
* gdk/Makefile.am, gtk/Makefile.am:
Removed DEFS "+=" mess that breaks recent automakes.
INCLUDES is the correct way to add to CFLAGS from Makefile.am.
* gdk/gdk.c, gdk/gdkglobals.c, gdk/gdkimage.c, gdk/gdkinput.c,
gdk/gdkpixmap.c, gdk/gdkthreads.c, gdk/gdkwindow.c,
gdk/gxid_lib.c, gtk/fnmatch.c, gtk/gtkclist.c, gtk/gtkmain.c,
gtk/testthreads.c:
Include "config.h" instead of "../config.h".
Now that DEFS works again, automake will automatically pass us
the location of config.h in -I.
1998-11-24 05:58:53 +00:00
|
|
|
|
1998-12-01 10:42:01 +00:00
|
|
|
INCLUDES = \
|
|
|
|
-DG_LOG_DOMAIN=\"Gdk\" \
|
|
|
|
-I$(top_srcdir) \
|
|
|
|
@GTK_DEBUG_FLAGS@ \
|
|
|
|
@GTK_XIM_FLAGS@ \
|
|
|
|
@GTK_LOCALE_FLAGS@ \
|
|
|
|
@GLIB_CFLAGS@ \
|
|
|
|
@x_cflags@
|
1997-11-24 22:37:52 +00:00
|
|
|
|
1998-09-17 15:40:22 +00:00
|
|
|
libgdk_la_SOURCES = \
|
1997-11-24 22:37:52 +00:00
|
|
|
gdk.c \
|
1997-12-17 00:14:36 +00:00
|
|
|
gdkcc.c \
|
1997-11-24 22:37:52 +00:00
|
|
|
gdkcolor.c \
|
|
|
|
gdkcursor.c \
|
1998-02-27 03:55:33 +00:00
|
|
|
gdkdnd.c \
|
1997-11-24 22:37:52 +00:00
|
|
|
gdkdraw.c \
|
1998-12-15 07:32:11 +00:00
|
|
|
gdkevents.c \
|
1997-11-24 22:37:52 +00:00
|
|
|
gdkfont.c \
|
|
|
|
gdkgc.c \
|
|
|
|
gdkglobals.c \
|
Destroy widgets _after_ propagating unrealize signals through the widget
Mon Dec 7 10:27:09 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.c: Destroy widgets _after_ propagating unrealize
signals through the widget heirarchy. This is unpleasant, as it
causes more X traffic, but is necessary, because we have to clean
up our Input Contexts before destroying the X windows.
(from matsu-981109-0.patch)
Mon Dec 7 10:18:18 1998 Owen Taylor <otaylor@redhat.com>
Applied gtk-a-higuti-981202-0 :
[ a-higuti@math.sci.hokudai.ac.jp (Akira Higuchi) ]
* gdk/gdk.h gdk/gdk.c
(gdk_mbstowcs): New function. Nearly equals to mbstowcs, but
implemented by a combination of Xlib functions, so
it works even with X_LOCALE.
(gdk_wcstombs): New function.
(g_mbtowc): Removed. No longer needed.
* gdk/gdk.h gdk/gdkfont.c gdk/gdkdraw.c:
Added _wc() variants to gdk_text_width(),
gdk_char_width(), gdk_draw_text(),
* gdk/gdki18n.h
(mblen, mbtowc, wctomb, mbstowcs, wcstombs,
wcslen, wcscpy, wcsncpy):
Removed. No longer needed.
(iswalnum): Removed.
(gdk_iswalnum): New macro.
(gdk_iswspace): New macro.
* gdk/gdktype.h
(GdkWChar): New typedef.
* gtk/gtkentry.h, gtk/gtkentry.c
There are many changes according to the change of the
internal representation of text, from multibyte string
to wide characters.
* gtk/gtkprivate.h, gtk/gtkmain.c
Removed the variable gtk_use_mb and related codes.
* gtk/gtkspinbutton.c
Some changes according to the change of type of entry->text.
* gtk/gtktext.h, gtk/gtktext.c
Changed the internal representation of text. We use GdkWchar
if a fontset is supplied. If not, we use guchar to save
memory.
1998-12-09 06:36:57 +00:00
|
|
|
gdkim.c \
|
1997-11-24 22:37:52 +00:00
|
|
|
gdkimage.c \
|
|
|
|
gdkinput.c \
|
1997-11-27 04:16:39 +00:00
|
|
|
gdkinput.h \
|
|
|
|
gdkinputnone.h \
|
|
|
|
gdkinputcommon.h\
|
|
|
|
gdkinputgxi.h \
|
|
|
|
gdkinputxfree.h \
|
1997-11-24 22:37:52 +00:00
|
|
|
gdkpixmap.c \
|
|
|
|
gdkproperty.c \
|
1998-07-15 21:15:33 +00:00
|
|
|
gdkrgb.c \
|
1997-11-24 22:37:52 +00:00
|
|
|
gdkrectangle.c \
|
1998-02-28 14:35:55 +00:00
|
|
|
gdkregion.c \
|
1997-11-24 22:37:52 +00:00
|
|
|
gdkselection.c \
|
|
|
|
gdkvisual.c \
|
|
|
|
gdkwindow.c \
|
|
|
|
gdkxid.c \
|
1998-02-27 03:55:33 +00:00
|
|
|
MwmUtil.h \
|
1997-11-27 04:16:39 +00:00
|
|
|
gxid_lib.h \
|
|
|
|
gxid_proto.h \
|
1997-11-24 22:37:52 +00:00
|
|
|
gxid_lib.c
|
|
|
|
## this last one is ifdef'd out unless XINPUT_GXI is defined
|
|
|
|
## It's easier than trying to get automake to handle compiling
|
|
|
|
## it conditionally
|
|
|
|
|
|
|
|
gdkinclude_HEADERS = \
|
|
|
|
gdk.h \
|
|
|
|
gdkcursors.h \
|
1998-07-15 21:15:33 +00:00
|
|
|
gdkrgb.h \
|
Destroy widgets _after_ propagating unrealize signals through the widget
Mon Dec 7 10:27:09 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.c: Destroy widgets _after_ propagating unrealize
signals through the widget heirarchy. This is unpleasant, as it
causes more X traffic, but is necessary, because we have to clean
up our Input Contexts before destroying the X windows.
(from matsu-981109-0.patch)
Mon Dec 7 10:18:18 1998 Owen Taylor <otaylor@redhat.com>
Applied gtk-a-higuti-981202-0 :
[ a-higuti@math.sci.hokudai.ac.jp (Akira Higuchi) ]
* gdk/gdk.h gdk/gdk.c
(gdk_mbstowcs): New function. Nearly equals to mbstowcs, but
implemented by a combination of Xlib functions, so
it works even with X_LOCALE.
(gdk_wcstombs): New function.
(g_mbtowc): Removed. No longer needed.
* gdk/gdk.h gdk/gdkfont.c gdk/gdkdraw.c:
Added _wc() variants to gdk_text_width(),
gdk_char_width(), gdk_draw_text(),
* gdk/gdki18n.h
(mblen, mbtowc, wctomb, mbstowcs, wcstombs,
wcslen, wcscpy, wcsncpy):
Removed. No longer needed.
(iswalnum): Removed.
(gdk_iswalnum): New macro.
(gdk_iswspace): New macro.
* gdk/gdktype.h
(GdkWChar): New typedef.
* gtk/gtkentry.h, gtk/gtkentry.c
There are many changes according to the change of the
internal representation of text, from multibyte string
to wide characters.
* gtk/gtkprivate.h, gtk/gtkmain.c
Removed the variable gtk_use_mb and related codes.
* gtk/gtkspinbutton.c
Some changes according to the change of type of entry->text.
* gtk/gtktext.h, gtk/gtktext.c
Changed the internal representation of text. We use GdkWchar
if a fontset is supplied. If not, we use guchar to save
memory.
1998-12-09 06:36:57 +00:00
|
|
|
gdki18n.h \
|
1997-11-24 22:37:52 +00:00
|
|
|
gdkkeysyms.h \
|
|
|
|
gdkprivate.h \
|
|
|
|
gdktypes.h \
|
|
|
|
gdkx.h
|
|
|
|
|
1998-12-16 06:05:46 +00:00
|
|
|
LDADDS = \
|
|
|
|
@x_ldflags@ \
|
|
|
|
@x_libs@ \
|
|
|
|
@GLIB_LIBS@ \
|
|
|
|
-lm
|
|
|
|
|
1998-09-17 15:40:22 +00:00
|
|
|
libgdk_la_LDFLAGS = \
|
|
|
|
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -release $(LT_RELEASE) \
|
1999-01-27 22:08:46 +00:00
|
|
|
@GLIB_DEPLIBS@ \
|
1998-12-16 06:05:46 +00:00
|
|
|
@x_ldflags@ \
|
|
|
|
@x_libs@ \
|
|
|
|
-lm
|
1997-11-24 22:37:52 +00:00
|
|
|
|
1999-03-29 00:15:02 +00:00
|
|
|
configexecincludedir = $(pkglibdir)/include
|
|
|
|
#configexecinclude_DATA = gdkconfig.h
|
|
|
|
install-exec-local: gdkconfig.h
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(configexecincludedir)
|
|
|
|
file=$(DESTDIR)$(configexecincludedir)/gdkconfig.h; \
|
|
|
|
if test -r $$file && cmp -s gdkconfig.h $$file; then :; \
|
|
|
|
else $(INSTALL_DATA) gdkconfig.h $$file; fi
|
1999-03-13 16:40:24 +00:00
|
|
|
|
|
|
|
BUILT_SOURCES = stamp-gc-h #note: not gdkconfig.h
|
|
|
|
gdkconfig.h: stamp-gc-h
|
1999-03-29 00:15:02 +00:00
|
|
|
@if test -f gdkconfig.h; then :; \
|
|
|
|
else rm -f stamp-gc-h; $(MAKE) stamp-gc-h; fi
|
1999-03-13 16:40:24 +00:00
|
|
|
stamp-gc-h: ../config.status
|
|
|
|
cd .. && CONFIG_FILES= CONFIG_HEADERS= CONFIG_OTHER=gdk/gdkconfig.h ./config.status
|
|
|
|
echo timestamp > stamp-gc-h
|
|
|
|
|
1997-11-24 22:37:52 +00:00
|
|
|
EXTRA_PROGRAMS = gxid
|
|
|
|
|
|
|
|
bin_PROGRAMS = @xinput_progs@
|
|
|
|
|
|
|
|
gxid_SOURCES = gxid.c
|
|
|
|
|
1998-12-16 06:05:46 +00:00
|
|
|
gxid_LDADD = $(LDADDS)
|
1997-11-24 22:37:52 +00:00
|
|
|
|
1998-11-06 22:05:02 +00:00
|
|
|
X-derived-headers:
|
|
|
|
sed -e 's/^#define[ ]*XC\([^ ]*\)[ ]*\([^ ]*\)[ ]*.*$$/GDK\1 = \2,/' \
|
|
|
|
-e 'tb' -e 'd' -e ':b' \
|
|
|
|
-e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' \
|
|
|
|
< @x_includes@/X11/cursorfont.h > gdkcursors.h ; \
|
|
|
|
sed -e 's/^#define[ ]*XK\([^ ]*\)[ ]*\([^ ]*\)[ ]*.*$$/#define GDK\1 \2/' \
|
|
|
|
-e 'tb' -e 'd' -e ':b' -e 's/ 0X/ 0x/' \
|
|
|
|
< @x_includes@/X11/keysymdef.h > gdkkeysyms.h
|
1997-11-24 22:37:52 +00:00
|
|
|
|
|
|
|
.PHONY: files
|
|
|
|
|
|
|
|
files:
|
|
|
|
@files=`ls $(DISTFILES) 2> /dev/null `; for p in $$files; do \
|
|
|
|
echo $$p; \
|
|
|
|
done
|