Makefile.linux 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. ############################################################################
  2. ##
  3. ## Makefile.linux
  4. ##
  5. ## SNMP++v3.2.23
  6. ## -----------------------------------------------
  7. ## Copyright (c) 2001-2007 Jochen Katz, Frank Fock
  8. ##
  9. ## This software is based on SNMP++2.6 from Hewlett Packard:
  10. ##
  11. ## Copyright (c) 1996
  12. ## Hewlett-Packard Company
  13. ##
  14. ## ATTENTION: USE OF THIS SOFTWARE IS SUBJECT TO THE FOLLOWING TERMS.
  15. ## Permission to use, copy, modify, distribute andor sell this software
  16. ## andor its documentation is hereby granted without fee. User agrees
  17. ## to display the above copyright notice and this license notice in all
  18. ## copies of the software and any documentation of the software. User
  19. ## agrees to assume all liability for the use of the software;
  20. ## Hewlett-Packard and Jochen Katz make no representations about the
  21. ## suitability of this software for any purpose. It is provided
  22. ## "AS-IS" without warranty of any kind, either express or implied. User
  23. ## hereby grants a royalty-free license to any and all derivatives based
  24. ## upon this software code base.
  25. ##
  26. ## Stuttgart, Germany, Sun Nov 11 15:10:59 CET 2007
  27. ##
  28. ##########################################################################*
  29. #
  30. # Makefile for building SNMP++ Examples
  31. #
  32. #
  33. #
  34. # Copyright (c) 1996
  35. # Hewlett-Packard Company
  36. #
  37. # ATTENTION: USE OF THIS SOFTWARE IS SUBJECT TO THE FOLLOWING TERMS.
  38. # Permission to use, copy, modify, distribute and/or sell this software
  39. # and/or its documentation is hereby granted without fee. User agrees
  40. # to display the above copyright notice and this license notice in all
  41. # copies of the software and any documentation of the software. User
  42. # agrees to assume all liability for the use of the software; Hewlett-Packard
  43. # makes no representations about the suitability of this software for any
  44. # purpose. It is provided "AS-IS" without warranty of any kind,either express
  45. # or implied. User hereby grants a royalty-free license to any and all
  46. # derivatives based upon this software code base.
  47. COPTIONS = -g -Wall
  48. CINCDIRS = -I$(SNMPPLUSDIR)/include -I$(SNMPPLUSDIR)/src
  49. USEROPTS =
  50. CFLAGS = $(COPTIONS) $(CINCDIRS) $(USEROPTS)
  51. LDFLAGS = $(CFLAGS) -lpthread
  52. CC = g++
  53. CXX = $(PURE) g++
  54. LD = $(PURE) g++
  55. include common.mk