Makefile.solaris 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. ############################################################################
  2. ##
  3. ## Makefile.solaris
  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 -DBSDUNIX
  48. CINCDIRS = -I$(SNMPPLUSDIR)/include
  49. USEROPTS = -mt
  50. CFLAGS = $(COPTIONS) $(CINCDIRS) $(USEROPTS)
  51. LDFLAGS = $(CFLAGS) -lnsl -lsocket -lresolv
  52. CC = CC
  53. CXX = CC
  54. LD = $(CXX)
  55. include common.mk