patch-src_Makefile_am 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. --- Libnet-1.0.2a.orig/src/Makefile.am 1970-01-01 00:00:00.000000000 +0100
  2. +++ Libnet-1.0.2a/src/Makefile.am 2009-06-12 21:48:27.000000000 +0200
  3. @@ -0,0 +1,56 @@
  4. +include $(top_srcdir)/Makefile.am.common
  5. +
  6. +lib_LTLIBRARIES = libnet.la
  7. +
  8. +libnet_la_SOURCES = \
  9. + libnet_resolve.c \
  10. + libnet_socket.c \
  11. + libnet_checksum.c \
  12. + libnet_prand.c \
  13. + libnet_version.c \
  14. + libnet_write_ip.c \
  15. + libnet_insert_ipo.c \
  16. + libnet_insert_tcpo.c \
  17. + libnet_error.c \
  18. + libnet_link_@LL_INT_TYPE@.c \
  19. + libnet_packet_mem.c \
  20. + libnet_build_ip.c \
  21. + libnet_build_tcp.c \
  22. + libnet_build_udp.c \
  23. + libnet_build_arp.c \
  24. + libnet_build_ethernet.c \
  25. + libnet_build_icmp.c \
  26. + libnet_build_igmp.c \
  27. + libnet_build_dns.c \
  28. + libnet_build_snmp.c \
  29. + libnet_build_rip.c \
  30. + libnet_build_ospf.c \
  31. + libnet_build_vrrp.c \
  32. + libnet_asn1.c \
  33. + libnet_hex_dump.c \
  34. + libnet_if_addr.c \
  35. + libnet_port_list.c
  36. +
  37. +libnet_la_LIBADD = @LTLIBOBJS@
  38. +
  39. +# Here are a set of rules to help you update your library version
  40. +# information:
  41. +#
  42. +# 1. If the library source code has changed at all since the last
  43. +# update, then increment REVISION (`C:R:A' becomes `C:r+1:A').
  44. +#
  45. +# 2. If any interfaces have been added, removed, or changed since the
  46. +# last update, increment CURRENT, and set REVISION to 0.
  47. +#
  48. +# 3. If any interfaces have been added since the last public release,
  49. +# then increment AGE.
  50. +#
  51. +# 4. If any interfaces have been removed since the last public release,
  52. +# then set AGE to 0.
  53. +libnet_la_LDFLAGS = -version-info 0:0:0 # CURRENT[:REVISION[:AGE]]
  54. +
  55. +install-data-hook:
  56. + ln -f -s libnet.a $(DESTDIR)$(libdir)/libwrite.a
  57. +
  58. +uninstall-hook:
  59. + rm -f $(DESTDIR)$(libdir)/libwrite.a