patch-src-Makefile.in 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. --- src/Makefile.in.orig 2012-02-08 23:32:11 UTC
  2. +++ src/Makefile.in
  3. @@ -34,8 +34,8 @@ PRE_UNINSTALL = :
  4. POST_UNINSTALL = :
  5. build_triplet = @build@
  6. host_triplet = @host@
  7. -bin_PROGRAMS = fuser$(EXEEXT) killall$(EXEEXT) pstree$(EXEEXT) \
  8. - prtstat$(EXEEXT) $(am__EXEEXT_1) $(am__EXEEXT_2) \
  9. +bin_PROGRAMS = killall$(EXEEXT) pstree$(EXEEXT) \
  10. + $(am__EXEEXT_1) $(am__EXEEXT_2) \
  11. $(am__EXEEXT_3) $(am__EXEEXT_4) $(am__EXEEXT_5)
  12. @WANT_PEEKFD_I386_TRUE@am__append_1 = peekfd
  13. @WANT_PEEKFD_I386_TRUE@am__append_2 = -DI386
  14. @@ -91,10 +91,8 @@ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUD
  15. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  16. CCLD = $(CC)
  17. LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
  18. -SOURCES = $(fuser_SOURCES) $(killall_SOURCES) $(peekfd_SOURCES) \
  19. - $(prtstat_SOURCES) $(pstree_SOURCES)
  20. -DIST_SOURCES = $(fuser_SOURCES) $(killall_SOURCES) $(peekfd_SOURCES) \
  21. - $(prtstat_SOURCES) $(pstree_SOURCES)
  22. +SOURCES = $(killall_SOURCES) $(pstree_SOURCES)
  23. +DIST_SOURCES = $(killall_SOURCES) $(pstree_SOURCES)
  24. ETAGS = etags
  25. CTAGS = ctags
  26. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  27. @@ -303,19 +301,19 @@ clean-binPROGRAMS:
  28. -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
  29. fuser$(EXEEXT): $(fuser_OBJECTS) $(fuser_DEPENDENCIES)
  30. @rm -f fuser$(EXEEXT)
  31. - $(LINK) $(fuser_OBJECTS) $(fuser_LDADD) $(LIBS)
  32. + $(LINK) $(fuser_OBJECTS) $(fuser_LDADD) $(LIBS) $(INTLLIBS)
  33. killall$(EXEEXT): $(killall_OBJECTS) $(killall_DEPENDENCIES)
  34. @rm -f killall$(EXEEXT)
  35. - $(LINK) $(killall_OBJECTS) $(killall_LDADD) $(LIBS)
  36. + $(LINK) $(killall_OBJECTS) $(killall_LDADD) $(LIBS) $(INTLLIBS)
  37. peekfd$(EXEEXT): $(peekfd_OBJECTS) $(peekfd_DEPENDENCIES)
  38. @rm -f peekfd$(EXEEXT)
  39. - $(LINK) $(peekfd_OBJECTS) $(peekfd_LDADD) $(LIBS)
  40. + $(LINK) $(peekfd_OBJECTS) $(peekfd_LDADD) $(LIBS) $(INTLLIBS)
  41. prtstat$(EXEEXT): $(prtstat_OBJECTS) $(prtstat_DEPENDENCIES)
  42. @rm -f prtstat$(EXEEXT)
  43. - $(LINK) $(prtstat_OBJECTS) $(prtstat_LDADD) $(LIBS)
  44. + $(LINK) $(prtstat_OBJECTS) $(prtstat_LDADD) $(LIBS) $(INTLLIBS)
  45. pstree$(EXEEXT): $(pstree_OBJECTS) $(pstree_DEPENDENCIES)
  46. @rm -f pstree$(EXEEXT)
  47. - $(LINK) $(pstree_OBJECTS) $(pstree_LDADD) $(LIBS)
  48. + $(LINK) $(pstree_OBJECTS) $(pstree_LDADD) $(LIBS) $(INTLLIBS)
  49. mostlyclean-compile:
  50. -rm -f *.$(OBJEXT)
  51. @@ -556,7 +554,7 @@ uninstall-am: uninstall-binPROGRAMS
  52. signames.h: signames.c Makefile
  53. export LC_ALL=C ; \
  54. @CPP@ -dM $< |\
  55. - tr -s '\t ' ' ' | sort -n -k 3 | sed \
  56. + tr -s '\t ' ' ' | sort -n -k 3 | gsed \
  57. 's:#define SIG\([A-Z]\+[0-9]*\) \([0-9]\+\) *\(\|/\*.*\)$$:{\ \2,"\1" },:p;d' | \
  58. grep -v '[0-9][0-9][0-9]' >signames.h || \
  59. { rm -f signames.h; exit 1; }