1 ## Process this file with automake to produce Makefile.in
3 gdkincludedir = $(includedir)/gdk
7 lib_LTLIBRARIES = libgdk.la
10 -DG_LOG_DOMAIN=\"Gdk\" \
50 ## this last one is ifdef'd out unless XINPUT_GXI is defined
51 ## It's easier than trying to get automake to handle compiling
54 gdkinclude_HEADERS = \
71 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -release $(LT_RELEASE) \
77 configexecincludedir = $(pkglibdir)/include
78 #configexecinclude_DATA = gdkconfig.h
79 install-exec-local: gdkconfig.h
80 $(mkinstalldirs) $(DESTDIR)$(configexecincludedir)
81 file=$(DESTDIR)$(configexecincludedir)/gdkconfig.h; \
82 if test -r $$file && cmp -s gdkconfig.h $$file; then :; \
83 else $(INSTALL_DATA) gdkconfig.h $$file; fi
85 BUILT_SOURCES = stamp-gc-h #note: not gdkconfig.h
86 gdkconfig.h: stamp-gc-h
87 @if test -f gdkconfig.h; then :; \
88 else rm -f stamp-gc-h; $(MAKE) stamp-gc-h; fi
89 stamp-gc-h: ../config.status
90 cd .. && CONFIG_FILES= CONFIG_HEADERS= CONFIG_OTHER=gdk/gdkconfig.h ./config.status
91 echo timestamp > stamp-gc-h
95 bin_PROGRAMS = @xinput_progs@
99 gxid_LDADD = $(LDADDS)
102 sed -e 's/^#define[ ]*XC\([^ ]*\)[ ]*\([^ ]*\)[ ]*.*$$/GDK\1 = \2,/' \
103 -e 'tb' -e 'd' -e ':b' \
104 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' \
105 < @x_includes@/X11/cursorfont.h > gdkcursors.h ; \
106 sed -e 's/^#define[ ]*XK\([^ ]*\)[ ]*\([^ ]*\)[ ]*.*$$/#define GDK\1 \2/' \
107 -e 'tb' -e 'd' -e ':b' -e 's/ 0X/ 0x/' \
108 < @x_includes@/X11/keysymdef.h > gdkkeysyms.h
113 @files=`ls $(DISTFILES) 2> /dev/null `; for p in $$files; do \