patch-src_util_Makefile_in 4.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. --- libX11-1.1.5.orig/src/util/Makefile.in 2008-09-04 23:48:56.000000000 +0200
  2. +++ libX11-1.1.5/src/util/Makefile.in 2009-06-13 11:20:48.000000000 +0200
  3. @@ -52,7 +52,7 @@ makekeys_OBJECTS = makekeys-makekeys.$(O
  4. makekeys_LDADD = $(LDADD)
  5. makekeys_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  6. --mode=link $(CCLD) $(makekeys_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
  7. - $(LDFLAGS) -o $@
  8. + $(HOSTLDFLAGS) -o $@
  9. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/src -I$(top_builddir)/include/X11
  10. depcomp = $(SHELL) $(top_srcdir)/depcomp
  11. am__depfiles_maybe = depfiles
  12. @@ -82,7 +82,7 @@ BIGFONT_CFLAGS = @BIGFONT_CFLAGS@
  13. BIGFONT_LIBS = @BIGFONT_LIBS@
  14. CC = @CC@
  15. CCDEPMODE = @CCDEPMODE@
  16. -CFLAGS = @CFLAGS@
  17. +CFLAGS =
  18. CPP = @CPP@
  19. CPPFLAGS = @CPPFLAGS@
  20. CXX = @CXX@
  21. @@ -114,9 +114,9 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
  22. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  23. KEYSYMDEF = @KEYSYMDEF@
  24. LAUNCHD = @LAUNCHD@
  25. -LDFLAGS = @LDFLAGS@
  26. +LDFLAGS =
  27. LIBOBJS = @LIBOBJS@
  28. -LIBS = @LIBS@
  29. +LIBS =
  30. LIBTOOL = @LIBTOOL@
  31. LIB_MAN_DIR = @LIB_MAN_DIR@
  32. LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@
  33. @@ -227,9 +227,10 @@ sysconfdir = @sysconfdir@
  34. target_alias = @target_alias@
  35. top_builddir = @top_builddir@
  36. top_srcdir = @top_srcdir@
  37. -makekeys_CFLAGS = $(X11_CFLAGS)
  38. +makekeys_CFLAGS = $(HOSTCFLAGS)
  39. +makekeys_CPPFLAGS = $(HOSTCPPFLAGS)
  40. -#override CC = gcc
  41. +override CC = gcc
  42. LINK = $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
  43. EXTRA_DIST = mkks.sh
  44. @@ -311,18 +312,18 @@ distclean-compile:
  45. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  46. makekeys-makekeys.o: makekeys.c
  47. -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(makekeys_CFLAGS) $(CFLAGS) -MT makekeys-makekeys.o -MD -MP -MF $(DEPDIR)/makekeys-makekeys.Tpo -c -o makekeys-makekeys.o `test -f 'makekeys.c' || echo '$(srcdir)/'`makekeys.c
  48. +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(makekeys_CPPFLAGS) $(makekeys_CFLAGS) $(CFLAGS) -MT makekeys-makekeys.o -MD -MP -MF $(DEPDIR)/makekeys-makekeys.Tpo -c -o makekeys-makekeys.o `test -f 'makekeys.c' || echo '$(srcdir)/'`makekeys.c
  49. @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/makekeys-makekeys.Tpo $(DEPDIR)/makekeys-makekeys.Po
  50. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='makekeys.c' object='makekeys-makekeys.o' libtool=no @AMDEPBACKSLASH@
  51. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  52. -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(makekeys_CFLAGS) $(CFLAGS) -c -o makekeys-makekeys.o `test -f 'makekeys.c' || echo '$(srcdir)/'`makekeys.c
  53. +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(makekeys_CPPFLAGS) $(makekeys_CFLAGS) $(CFLAGS) -c -o makekeys-makekeys.o `test -f 'makekeys.c' || echo '$(srcdir)/'`makekeys.c
  54. makekeys-makekeys.obj: makekeys.c
  55. -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(makekeys_CFLAGS) $(CFLAGS) -MT makekeys-makekeys.obj -MD -MP -MF $(DEPDIR)/makekeys-makekeys.Tpo -c -o makekeys-makekeys.obj `if test -f 'makekeys.c'; then $(CYGPATH_W) 'makekeys.c'; else $(CYGPATH_W) '$(srcdir)/makekeys.c'; fi`
  56. +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(makekeys_CPPFLAGS) $(makekeys_CFLAGS) $(CFLAGS) -MT makekeys-makekeys.obj -MD -MP -MF $(DEPDIR)/makekeys-makekeys.Tpo -c -o makekeys-makekeys.obj `if test -f 'makekeys.c'; then $(CYGPATH_W) 'makekeys.c'; else $(CYGPATH_W) '$(srcdir)/makekeys.c'; fi`
  57. @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/makekeys-makekeys.Tpo $(DEPDIR)/makekeys-makekeys.Po
  58. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='makekeys.c' object='makekeys-makekeys.obj' libtool=no @AMDEPBACKSLASH@
  59. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  60. -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(makekeys_CFLAGS) $(CFLAGS) -c -o makekeys-makekeys.obj `if test -f 'makekeys.c'; then $(CYGPATH_W) 'makekeys.c'; else $(CYGPATH_W) '$(srcdir)/makekeys.c'; fi`
  61. +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(makekeys_CPPFLAGS) $(makekeys_CFLAGS) $(CFLAGS) -c -o makekeys-makekeys.obj `if test -f 'makekeys.c'; then $(CYGPATH_W) 'makekeys.c'; else $(CYGPATH_W) '$(srcdir)/makekeys.c'; fi`
  62. mostlyclean-libtool:
  63. -rm -f *.lo