patch-lib_roken_Makefile_in 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. --- heimdal-1.4.orig/lib/roken/Makefile.in 2010-09-13 09:24:23.000000000 +0200
  2. +++ heimdal-1.4/lib/roken/Makefile.in 2010-11-10 19:56:51.764995802 +0100
  3. @@ -726,9 +726,6 @@ getifaddrs-test$(EXEEXT): $(getifaddrs_t
  4. hex-test$(EXEEXT): $(hex_test_OBJECTS) $(hex_test_DEPENDENCIES)
  5. @rm -f hex-test$(EXEEXT)
  6. $(LINK) $(hex_test_OBJECTS) $(hex_test_LDADD) $(LIBS)
  7. -make-roken$(EXEEXT): $(make_roken_OBJECTS) $(make_roken_DEPENDENCIES)
  8. - @rm -f make-roken$(EXEEXT)
  9. - $(LINK) $(make_roken_OBJECTS) $(make_roken_LDADD) $(LIBS)
  10. parse_bytes-test$(EXEEXT): $(parse_bytes_test_OBJECTS) $(parse_bytes_test_DEPENDENCIES)
  11. @rm -f parse_bytes-test$(EXEEXT)
  12. $(LINK) $(parse_bytes_test_OBJECTS) $(parse_bytes_test_LDADD) $(LIBS)
  13. @@ -1977,18 +1974,18 @@ $(LTLIBOBJS) $(libroken_la_OBJECTS): rok
  14. .hin.h:
  15. cp $< $@
  16. -@CROSS_COMPILE_FALSE@roken.h: make-roken$(EXEEXT)
  17. -@CROSS_COMPILE_FALSE@ @./make-roken$(EXEEXT) > tmp.h ;\
  18. -@CROSS_COMPILE_FALSE@ if [ -f roken.h ] && cmp -s tmp.h roken.h ; then rm -f tmp.h ; \
  19. -@CROSS_COMPILE_FALSE@ else rm -f roken.h; mv tmp.h roken.h; fi
  20. +roken.h: make-roken$(EXEEXT)
  21. + ./make-roken$(EXEEXT) > tmp.h ;\
  22. + if [ -f roken.h ] && cmp -s tmp.h roken.h ; then rm -f tmp.h ; \
  23. + else rm -f roken.h; mv tmp.h roken.h; fi
  24. -@CROSS_COMPILE_FALSE@make-roken.c: roken.h.in roken.awk
  25. -@CROSS_COMPILE_FALSE@ $(AWK) -f $(srcdir)/roken.awk $(srcdir)/roken.h.in > make-roken.c
  26. +make-roken.c: roken.h.in roken.awk
  27. + $(AWK) -f $(srcdir)/roken.awk $(srcdir)/roken.h.in > make-roken.c
  28. +
  29. +make-roken$(EXEEXT): make-roken.c
  30. + $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) -I$(top_builddir)/include -DHAVE_CONFIG_H \
  31. + -o $@ $<
  32. -@CROSS_COMPILE_TRUE@roken.h: $(top_srcdir)/cf/roken-h-process.pl roken.h.in
  33. -@CROSS_COMPILE_TRUE@ perl $(top_srcdir)/cf/roken-h-process.pl \
  34. -@CROSS_COMPILE_TRUE@ -c $(top_builddir)/include/config.h \
  35. -@CROSS_COMPILE_TRUE@ -p $(srcdir)/roken.h.in -o roken.h
  36. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  37. # Otherwise a system limit (for SysV at least) may be exceeded.