patch-lib_roken_Makefile_in 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
  2. --- heimdal-1.2.1.orig/lib/roken/Makefile.in 2008-07-28 14:05:33.000000000 +0200
  3. +++ heimdal-1.2.1/lib/roken/Makefile.in 2009-12-20 21:40:29.312500000 +0100
  4. @@ -58,13 +58,12 @@ DIST_COMMON = $(am__dist_include_HEADERS
  5. strptime.c strsep.c strsep_copy.c strtok_r.c strupr.c swab.c \
  6. timegm.c unsetenv.c verr.c verrx.c vsyslog.c vwarn.c vwarnx.c \
  7. warn.c warnx.c writev.c
  8. -noinst_PROGRAMS = make-roken$(EXEEXT) snprintf-test$(EXEEXT) \
  9. +noinst_PROGRAMS = make-roken$(EXEEXT) \
  10. resolve-test$(EXEEXT) rkpty$(EXEEXT)
  11. check_PROGRAMS = base64-test$(EXEEXT) getaddrinfo-test$(EXEEXT) \
  12. hex-test$(EXEEXT) test-readenv$(EXEEXT) \
  13. parse_bytes-test$(EXEEXT) parse_reply-test$(EXEEXT) \
  14. - parse_time-test$(EXEEXT) snprintf-test$(EXEEXT) \
  15. - strpftime-test$(EXEEXT)
  16. + parse_time-test$(EXEEXT)
  17. @have_socket_wrapper_TRUE@am__append_1 = socket_wrapper.c socket_wrapper.h
  18. @have_socket_wrapper_TRUE@am__append_2 = socket_wrapper.h
  19. subdir = lib/roken
  20. @@ -170,13 +169,6 @@ libroken_la_OBJECTS = $(am_libroken_la_O
  21. libroken_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
  22. $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  23. $(libroken_la_LDFLAGS) $(LDFLAGS) -o $@
  24. -libtest_la_LIBADD =
  25. -am_libtest_la_OBJECTS = libtest_la-strftime.lo libtest_la-strptime.lo \
  26. - libtest_la-snprintf.lo
  27. -libtest_la_OBJECTS = $(am_libtest_la_OBJECTS)
  28. -libtest_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
  29. - $(LIBTOOLFLAGS) --mode=link $(CCLD) $(libtest_la_CFLAGS) \
  30. - $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
  31. PROGRAMS = $(noinst_PROGRAMS)
  32. base64_test_SOURCES = base64-test.c
  33. base64_test_OBJECTS = base64-test.$(OBJEXT)
  34. @@ -504,12 +496,12 @@ lib_LTLIBRARIES = libroken.la
  35. libroken_la_LDFLAGS = -version-info 19:0:1
  36. libroken_la_CPPFLAGS = -DBUILD_ROKEN_LIB
  37. nodist_make_roken_SOURCES = make-roken.c
  38. -TESTS = $(check_PROGRAMS)
  39. +TESTS =
  40. LDADD = libroken.la $(LIB_crypt)
  41. make_roken_LDADD =
  42. -noinst_LTLIBRARIES = libtest.la
  43. +noinst_LTLIBRARIES =
  44. libtest_la_SOURCES = strftime.c strptime.c snprintf.c
  45. -libtest_la_CFLAGS = -DTEST_SNPRINTF -DTEST_STRPFTIME
  46. +libtest_la_CFLAGS =
  47. parse_reply_test_SOURCES = parse_reply-test.c resolve.c
  48. parse_reply_test_CFLAGS = -DTEST_RESOLVE
  49. test_readenv_SOURCES = test-readenv.c test-mem.c
  50. @@ -665,9 +657,6 @@ getaddrinfo-test$(EXEEXT): $(getaddrinfo
  51. hex-test$(EXEEXT): $(hex_test_OBJECTS) $(hex_test_DEPENDENCIES)
  52. @rm -f hex-test$(EXEEXT)
  53. $(LINK) $(hex_test_OBJECTS) $(hex_test_LDADD) $(LIBS)
  54. -make-roken$(EXEEXT): $(make_roken_OBJECTS) $(make_roken_DEPENDENCIES)
  55. - @rm -f make-roken$(EXEEXT)
  56. - $(LINK) $(make_roken_OBJECTS) $(make_roken_LDADD) $(LIBS)
  57. parse_bytes-test$(EXEEXT): $(parse_bytes_test_OBJECTS) $(parse_bytes_test_DEPENDENCIES)
  58. @rm -f parse_bytes-test$(EXEEXT)
  59. $(LINK) $(parse_bytes_test_OBJECTS) $(parse_bytes_test_LDADD) $(LIBS)
  60. @@ -1818,6 +1807,10 @@ roken.h: make-roken$(EXEEXT)
  61. make-roken.c: roken.h.in roken.awk
  62. $(AWK) -f $(srcdir)/roken.awk $(srcdir)/roken.h.in > make-roken.c
  63. +
  64. +make-roken$(EXEEXT): make-roken.c
  65. + $(HOSTCC) $(HOSTCFLAGS) -I$(top_builddir)/include -DHAVE_CONFIG_H \
  66. + -o $@ $<
  67. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  68. # Otherwise a system limit (for SysV at least) may be exceeded.
  69. .NOEXPORT: