 585dc6d781
			
		
	
	585dc6d781
	
	
	
		
			
			It compiles and links, but is *completely* untested. Feel free to pound on it. The idea is to do all color management (allocation, etc.) via a GdkColorContext so that apps will be friendly to 8-bit displays. GdkColorContext is supposed to work on all visual/depth combinations. This support, however, is lacking from the rest of Gdk/Gtk. I will try to work on that. - Federico
		
			
				
	
	
		
			445 lines
		
	
	
		
			11 KiB
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			445 lines
		
	
	
		
			11 KiB
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| # Makefile.in generated automatically by automake 1.2c from Makefile.am
 | |
| 
 | |
| # Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
 | |
| # This Makefile.in is free software; the Free Software Foundation
 | |
| # gives unlimited permission to copy and/or distribute it,
 | |
| # with or without modifications, as long as this notice is preserved.
 | |
| 
 | |
| # This program is distributed in the hope that it will be useful,
 | |
| # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
 | |
| # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
 | |
| # PARTICULAR PURPOSE.
 | |
| 
 | |
| 
 | |
| SHELL = /bin/sh
 | |
| 
 | |
| srcdir = @srcdir@
 | |
| top_srcdir = @top_srcdir@
 | |
| VPATH = @srcdir@
 | |
| prefix = @prefix@
 | |
| exec_prefix = @exec_prefix@
 | |
| 
 | |
| bindir = @bindir@
 | |
| sbindir = @sbindir@
 | |
| libexecdir = @libexecdir@
 | |
| datadir = @datadir@
 | |
| sysconfdir = @sysconfdir@
 | |
| sharedstatedir = @sharedstatedir@
 | |
| localstatedir = @localstatedir@
 | |
| libdir = @libdir@
 | |
| infodir = @infodir@
 | |
| mandir = @mandir@
 | |
| includedir = @includedir@
 | |
| oldincludedir = /usr/include
 | |
| 
 | |
| pkgdatadir = $(datadir)/@PACKAGE@
 | |
| pkglibdir = $(libdir)/@PACKAGE@
 | |
| pkgincludedir = $(includedir)/@PACKAGE@
 | |
| 
 | |
| top_builddir = ..
 | |
| 
 | |
| ACLOCAL = @ACLOCAL@
 | |
| AUTOCONF = @AUTOCONF@
 | |
| AUTOMAKE = @AUTOMAKE@
 | |
| AUTOHEADER = @AUTOHEADER@
 | |
| 
 | |
| INSTALL = @INSTALL@
 | |
| INSTALL_PROGRAM = @INSTALL_PROGRAM@
 | |
| INSTALL_DATA = @INSTALL_DATA@
 | |
| INSTALL_SCRIPT = @INSTALL_SCRIPT@
 | |
| transform = @program_transform_name@
 | |
| 
 | |
| NORMAL_INSTALL = true
 | |
| PRE_INSTALL = true
 | |
| POST_INSTALL = true
 | |
| NORMAL_UNINSTALL = true
 | |
| PRE_UNINSTALL = true
 | |
| POST_UNINSTALL = true
 | |
| host_alias = @host_alias@
 | |
| host_triplet = @host@
 | |
| CC = @CC@
 | |
| LD = @LD@
 | |
| LIBTOOL = @LIBTOOL@
 | |
| LN_S = @LN_S@
 | |
| MAINT = @MAINT@
 | |
| MAKEINFO = @MAKEINFO@
 | |
| PACKAGE = @PACKAGE@
 | |
| RANLIB = @RANLIB@
 | |
| VERSION = @VERSION@
 | |
| x_cflags = @x_cflags@
 | |
| x_includes = @x_includes@
 | |
| x_ldflags = @x_ldflags@
 | |
| x_libs = @x_libs@
 | |
| xinput_progs = @xinput_progs@
 | |
| 
 | |
| gdkincludedir = $(includedir)/gdk
 | |
| 
 | |
| lib_LTLIBRARIES = libgdk.la
 | |
| 
 | |
| libgdk_la_SOURCES = \
 | |
| 	gdk.c		\
 | |
| 	gdkcc.c		\
 | |
| 	gdkcolor.c	\
 | |
| 	gdkcursor.c	\
 | |
| 	gdkdraw.c	\
 | |
| 	gdkfont.c	\
 | |
| 	gdkgc.c		\
 | |
| 	gdkglobals.c	\
 | |
| 	gdkimage.c	\
 | |
| 	gdkinput.c	\
 | |
| 	gdkinput.h	\
 | |
| 	gdkinputnone.h  \
 | |
| 	gdkinputcommon.h\
 | |
| 	gdkinputgxi.h	\
 | |
| 	gdkinputxfree.h	\
 | |
| 	gdkpixmap.c	\
 | |
| 	gdkproperty.c	\
 | |
| 	gdkrectangle.c	\
 | |
| 	gdkselection.c	\
 | |
| 	gdkvisual.c	\
 | |
| 	gdkwindow.c	\
 | |
| 	gdkxid.c 	\
 | |
| 	gxid_lib.h	\
 | |
| 	gxid_proto.h	\
 | |
|         gxid_lib.c
 | |
| 
 | |
| gdkinclude_HEADERS = \
 | |
| 	gdk.h		\
 | |
| 	gdkcursors.h	\
 | |
|  	gdki18n.h	\
 | |
| 	gdkkeysyms.h	\
 | |
| 	gdkprivate.h	\
 | |
| 	gdktypes.h	\
 | |
| 	gdkx.h
 | |
| 
 | |
| libgdk_la_LDFLAGS = -version-info 1:0:0 \
 | |
| 	@x_ldflags@ @x_libs@
 | |
| 
 | |
| INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/glib @x_cflags@ 
 | |
| 
 | |
| EXTRA_PROGRAMS = gxid
 | |
| 
 | |
| bin_PROGRAMS = @xinput_progs@
 | |
| 
 | |
| gxid_SOURCES = gxid.c
 | |
| 
 | |
| gxid_LDADD = \
 | |
| 	@x_ldflags@				\
 | |
| 	@x_libs@				\
 | |
| 	-lm
 | |
| 
 | |
| BUILT_SOURCES = gdkcursors.h gdkkeysyms.h
 | |
| 
 | |
| EXTRA_DIST = makecursors.awk makekeysyms.awk
 | |
| mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
 | |
| CONFIG_HEADER = ../config.h
 | |
| CONFIG_CLEAN_FILES = 
 | |
| LTLIBRARIES =  $(lib_LTLIBRARIES)
 | |
| 
 | |
| 
 | |
| DEFS = @DEFS@ -I. -I$(srcdir) -I..
 | |
| CPPFLAGS = @CPPFLAGS@
 | |
| LDFLAGS = @LDFLAGS@
 | |
| LIBS = @LIBS@
 | |
| X_CFLAGS = @X_CFLAGS@
 | |
| X_LIBS = @X_LIBS@
 | |
| X_EXTRA_LIBS = @X_EXTRA_LIBS@
 | |
| X_PRE_LIBS = @X_PRE_LIBS@
 | |
| libgdk_la_LIBADD = 
 | |
| libgdk_la_OBJECTS =  gdk.lo gdkcc.lo gdkcolor.lo gdkcursor.lo gdkdraw.lo \
 | |
| gdkfont.lo gdkgc.lo gdkglobals.lo gdkimage.lo gdkinput.lo gdkpixmap.lo \
 | |
| gdkproperty.lo gdkrectangle.lo gdkselection.lo gdkvisual.lo \
 | |
| gdkwindow.lo gdkxid.lo gxid_lib.lo
 | |
| PROGRAMS =  $(bin_PROGRAMS)
 | |
| 
 | |
| gxid_OBJECTS =  gxid.o
 | |
| gxid_DEPENDENCIES = 
 | |
| gxid_LDFLAGS = 
 | |
| CFLAGS = @CFLAGS@
 | |
| COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
 | |
| LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
 | |
| LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@
 | |
| HEADERS =  $(gdkinclude_HEADERS)
 | |
| 
 | |
| DIST_COMMON =  Makefile.am Makefile.in
 | |
| 
 | |
| 
 | |
| DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
 | |
| 
 | |
| TAR = tar
 | |
| GZIP = --best
 | |
| DEP_FILES =  .deps/gdk.P .deps/gdkcc.P .deps/gdkcolor.P \
 | |
| .deps/gdkcursor.P .deps/gdkdraw.P .deps/gdkfont.P .deps/gdkgc.P \
 | |
| .deps/gdkglobals.P .deps/gdkimage.P .deps/gdkinput.P .deps/gdkpixmap.P \
 | |
| .deps/gdkproperty.P .deps/gdkrectangle.P .deps/gdkselection.P \
 | |
| .deps/gdkvisual.P .deps/gdkwindow.P .deps/gdkxid.P .deps/gxid.P \
 | |
| .deps/gxid_lib.P
 | |
| SOURCES = $(libgdk_la_SOURCES) $(gxid_SOURCES)
 | |
| OBJECTS = $(libgdk_la_OBJECTS) $(gxid_OBJECTS)
 | |
| 
 | |
| default: all
 | |
| 
 | |
| .SUFFIXES:
 | |
| .SUFFIXES: .c .lo .o
 | |
| $(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
 | |
| 	cd $(top_srcdir) && $(AUTOMAKE) --gnu gdk/Makefile
 | |
| 
 | |
| Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
 | |
| 	cd $(top_builddir) \
 | |
| 	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
 | |
| 
 | |
| 
 | |
| mostlyclean-libLTLIBRARIES:
 | |
| 
 | |
| clean-libLTLIBRARIES:
 | |
| 	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
 | |
| 
 | |
| distclean-libLTLIBRARIES:
 | |
| 
 | |
| maintainer-clean-libLTLIBRARIES:
 | |
| 
 | |
| install-libLTLIBRARIES: $(lib_LTLIBRARIES)
 | |
| 	@$(NORMAL_INSTALL)
 | |
| 	$(mkinstalldirs) $(libdir)
 | |
| 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
 | |
| 	  if test -f $$p; then \
 | |
| 	    echo "$(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(libdir)/$$p"; \
 | |
| 	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(libdir)/$$p; \
 | |
| 	  else :; fi; \
 | |
| 	done
 | |
| 
 | |
| uninstall-libLTLIBRARIES:
 | |
| 	$(NORMAL_UNINSTALL)
 | |
| 	list='$(lib_LTLIBRARIES)'; for p in $$list; do \
 | |
| 	  $(LIBTOOL)  --mode=uninstall rm -f $(libdir)/$$p; \
 | |
| 	done
 | |
| 
 | |
| .c.o:
 | |
| 	$(COMPILE) -c $<
 | |
| 
 | |
| mostlyclean-compile:
 | |
| 	-rm -f *.o core
 | |
| 
 | |
| clean-compile:
 | |
| 
 | |
| distclean-compile:
 | |
| 	-rm -f *.tab.c
 | |
| 
 | |
| maintainer-clean-compile:
 | |
| 
 | |
| .c.lo:
 | |
| 	$(LIBTOOL) --mode=compile $(COMPILE) -c $<
 | |
| 
 | |
| mostlyclean-libtool:
 | |
| 	-rm -f *.lo
 | |
| 
 | |
| clean-libtool:
 | |
| 	-rm -rf .libs
 | |
| 
 | |
| distclean-libtool:
 | |
| 
 | |
| maintainer-clean-libtool:
 | |
| 
 | |
| libgdk.la: $(libgdk_la_OBJECTS) $(libgdk_la_DEPENDENCIES)
 | |
| 	$(LINK) -rpath $(libdir) $(libgdk_la_LDFLAGS) $(libgdk_la_OBJECTS) $(libgdk_la_LIBADD) $(LIBS)
 | |
| 
 | |
| mostlyclean-binPROGRAMS:
 | |
| 
 | |
| clean-binPROGRAMS:
 | |
| 	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
 | |
| 
 | |
| distclean-binPROGRAMS:
 | |
| 
 | |
| maintainer-clean-binPROGRAMS:
 | |
| 
 | |
| install-binPROGRAMS: $(bin_PROGRAMS)
 | |
| 	@$(NORMAL_INSTALL)
 | |
| 	$(mkinstalldirs) $(bindir)
 | |
| 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
 | |
| 	  if test -f $$p; then \
 | |
| 	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`"; \
 | |
| 	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
 | |
| 	  else :; fi; \
 | |
| 	done
 | |
| 
 | |
| uninstall-binPROGRAMS:
 | |
| 	$(NORMAL_UNINSTALL)
 | |
| 	list='$(bin_PROGRAMS)'; for p in $$list; do \
 | |
| 	  rm -f $(bindir)/`echo $$p|sed '$(transform)'`; \
 | |
| 	done
 | |
| 
 | |
| gxid: $(gxid_OBJECTS) $(gxid_DEPENDENCIES)
 | |
| 	@rm -f gxid
 | |
| 	$(LINK) $(gxid_LDFLAGS) $(gxid_OBJECTS) $(gxid_LDADD) $(LIBS)
 | |
| 
 | |
| install-gdkincludeHEADERS: $(gdkinclude_HEADERS)
 | |
| 	@$(NORMAL_INSTALL)
 | |
| 	$(mkinstalldirs) $(gdkincludedir)
 | |
| 	@list='$(gdkinclude_HEADERS)'; for p in $$list; do \
 | |
| 	  echo " $(INSTALL_DATA) $(srcdir)/$$p $(gdkincludedir)/$$p"; \
 | |
| 	  $(INSTALL_DATA) $(srcdir)/$$p $(gdkincludedir)/$$p; \
 | |
| 	done
 | |
| 
 | |
| uninstall-gdkincludeHEADERS:
 | |
| 	$(NORMAL_UNINSTALL)
 | |
| 	list='$(gdkinclude_HEADERS)'; for p in $$list; do \
 | |
| 	  rm -f $(gdkincludedir)/$$p; \
 | |
| 	done
 | |
| 
 | |
| tags: TAGS
 | |
| 
 | |
| ID: $(HEADERS) $(SOURCES)
 | |
| 	here=`pwd` && cd $(srcdir) && mkid -f$$here/ID $(SOURCES) $(HEADERS)
 | |
| 
 | |
| TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES)
 | |
| 	tags=; \
 | |
| 	here=`pwd`; \
 | |
| 	test -z "$(ETAGS_ARGS)$(SOURCES)$(HEADERS)$$tags" \
 | |
| 	  || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $(SOURCES) $(HEADERS) -o $$here/TAGS)
 | |
| 
 | |
| mostlyclean-tags:
 | |
| 
 | |
| clean-tags:
 | |
| 
 | |
| distclean-tags:
 | |
| 	-rm -f TAGS ID
 | |
| 
 | |
| maintainer-clean-tags:
 | |
| 
 | |
| distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
 | |
| 
 | |
| subdir = gdk
 | |
| 
 | |
| distdir: $(DISTFILES)
 | |
| 	here=`cd $(top_builddir) && pwd`; \
 | |
| 	top_distdir=`cd $(top_distdir) && pwd`; \
 | |
| 	distdir=`cd $(distdir) && pwd`; \
 | |
| 	cd $(top_srcdir) \
 | |
| 	  && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu gdk/Makefile
 | |
| 	@for file in $(DISTFILES); do \
 | |
| 	  d=$(srcdir); \
 | |
| 	  test -f $(distdir)/$$file \
 | |
| 	  || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
 | |
| 	  || cp -p $$d/$$file $(distdir)/$$file; \
 | |
| 	done
 | |
| 
 | |
| MKDEP = $(CC) -M $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
 | |
| 
 | |
| DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
 | |
| -include .deps/.P
 | |
| .deps/.P: $(BUILT_SOURCES)
 | |
| 	echo > $@
 | |
| 
 | |
| -include $(DEP_FILES)
 | |
| 
 | |
| mostlyclean-depend:
 | |
| 
 | |
| clean-depend:
 | |
| 
 | |
| distclean-depend:
 | |
| 
 | |
| maintainer-clean-depend:
 | |
| 	-rm -rf .deps
 | |
| 
 | |
| .deps/%.P: %.c
 | |
| 	@echo "Computing dependencies for $<..."
 | |
| 	@o='o'; \
 | |
| 	test -n "$o" && o='$$o'; \
 | |
| 	$(MKDEP) $< >$@.tmp \
 | |
| 	  && sed "s,^\(.*\)\.o:,\1.$$o \1.l$$o $@:," < $@.tmp > $@ \
 | |
| 	  && rm -f $@.tmp
 | |
| info:
 | |
| dvi:
 | |
| check: all
 | |
| 	$(MAKE)
 | |
| installcheck:
 | |
| install-exec: install-libLTLIBRARIES install-binPROGRAMS
 | |
| 	@$(NORMAL_INSTALL)
 | |
| 
 | |
| install-data: install-gdkincludeHEADERS
 | |
| 	@$(NORMAL_INSTALL)
 | |
| 
 | |
| install: install-exec install-data all
 | |
| 	@:
 | |
| 
 | |
| uninstall: uninstall-libLTLIBRARIES uninstall-binPROGRAMS uninstall-gdkincludeHEADERS
 | |
| 
 | |
| all: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS)
 | |
| 
 | |
| install-strip:
 | |
| 	$(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
 | |
| installdirs:
 | |
| 	$(mkinstalldirs)  $(libdir) $(bindir) $(gdkincludedir)
 | |
| 
 | |
| 
 | |
| mostlyclean-generic:
 | |
| 	-test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
 | |
| 
 | |
| clean-generic:
 | |
| 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
 | |
| 
 | |
| distclean-generic:
 | |
| 	-rm -f Makefile $(DISTCLEANFILES)
 | |
| 	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
 | |
| 	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 | |
| 
 | |
| maintainer-clean-generic:
 | |
| 	-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
 | |
| 	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
 | |
| mostlyclean:  mostlyclean-libLTLIBRARIES mostlyclean-compile \
 | |
| 		mostlyclean-libtool mostlyclean-binPROGRAMS \
 | |
| 		mostlyclean-tags mostlyclean-depend mostlyclean-generic
 | |
| 
 | |
| clean:  clean-libLTLIBRARIES clean-compile clean-libtool \
 | |
| 		clean-binPROGRAMS clean-tags clean-depend clean-generic \
 | |
| 		mostlyclean
 | |
| 
 | |
| distclean:  distclean-libLTLIBRARIES distclean-compile distclean-libtool \
 | |
| 		distclean-binPROGRAMS distclean-tags distclean-depend \
 | |
| 		distclean-generic clean
 | |
| 	-rm -f config.status
 | |
| 	-rm -f libtool
 | |
| 
 | |
| maintainer-clean:  maintainer-clean-libLTLIBRARIES \
 | |
| 		maintainer-clean-compile maintainer-clean-libtool \
 | |
| 		maintainer-clean-binPROGRAMS maintainer-clean-tags \
 | |
| 		maintainer-clean-depend maintainer-clean-generic \
 | |
| 		distclean
 | |
| 	@echo "This command is intended for maintainers to use;"
 | |
| 	@echo "it deletes files that may require special tools to rebuild."
 | |
| 
 | |
| .PHONY: default mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
 | |
| clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
 | |
| uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
 | |
| distclean-compile clean-compile maintainer-clean-compile \
 | |
| mostlyclean-libtool distclean-libtool clean-libtool \
 | |
| maintainer-clean-libtool mostlyclean-binPROGRAMS distclean-binPROGRAMS \
 | |
| clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \
 | |
| install-binPROGRAMS uninstall-gdkincludeHEADERS \
 | |
| install-gdkincludeHEADERS tags mostlyclean-tags distclean-tags \
 | |
| clean-tags maintainer-clean-tags distdir mostlyclean-depend \
 | |
| distclean-depend clean-depend maintainer-clean-depend info dvi \
 | |
| installcheck install-exec install-data install uninstall all \
 | |
| installdirs mostlyclean-generic distclean-generic clean-generic \
 | |
| maintainer-clean-generic clean mostlyclean distclean maintainer-clean
 | |
| 
 | |
| 
 | |
| gdkcursors.h:
 | |
| 	awk -f $(srcdir)/makecursors.awk @x_includes@/X11/cursorfont.h > $@
 | |
| 
 | |
| gdkkeysyms.h:
 | |
| 	awk -f $(srcdir)/makekeysyms.awk @x_includes@/X11/keysymdef.h > $@
 | |
| 
 | |
| .PHONY: files
 | |
| 
 | |
| files:
 | |
| 	@files=`ls $(DISTFILES) 2> /dev/null `; for p in $$files; do \
 | |
| 	  echo $$p; \
 | |
| 	done
 | |
| 
 | |
| $(DEP_FILES) : $(BUILT_SOURCES)
 | |
| 
 | |
| # Tell versions [3.59,3.63) of GNU make to not export all variables.
 | |
| # Otherwise a system limit (for SysV at least) may be exceeded.
 | |
| .NOEXPORT:
 |