Makefile.bcc
上传用户:cnryan
上传日期:2008-12-15
资源大小:260k
文件大小:4k
- ############################################################################
##
## Makefile.bcc
##
## SNMP++v3.2.21
## -----------------------------------------------
## Copyright (c) 2001-2006 Jochen Katz, Frank Fock
##
## This software is based on SNMP++2.6 from Hewlett Packard:
##
## Copyright (c) 1996
## Hewlett-Packard Company
##
## ATTENTION: USE OF THIS SOFTWARE IS SUBJECT TO THE FOLLOWING TERMS.
## Permission to use, copy, modify, distribute andor sell this software
## andor its documentation is hereby granted without fee. User agrees
## to display the above copyright notice and this license notice in all
## copies of the software and any documentation of the software. User
## agrees to assume all liability for the use of the software;
## Hewlett-Packard and Jochen Katz make no representations about the
## suitability of this software for any purpose. It is provided
## "AS-IS" without warranty of any kind, either express or implied. User
## hereby grants a royalty-free license to any and all derivatives based
## upon this software code base.
##
## Stuttgart, Germany, Fri Jun 16 17:48:57 CEST 2006
##
##########################################################################*
- CXX = bcc32
- CXXFLAGS = -P -tWM -DWIN32=1 -DSNMP_PP_NATIVE_EXPORTS=1
- LIBDESDIR = ....libdes
- LIBDES =$(LIBDESDIR)libdes.lib
- GET = snmpGet.exe
- GETOBJS = snmpGet.obj
- SET = snmpSet.exe
- SETOBJS = snmpSet.obj
- NEXT = snmpNext.exe
- NEXTOBJS = snmpNext.obj
- WALK = snmpWalk.exe
- WALKOBJS = snmpWalk.obj
- BULKWALK = snmpBulk.exe
- BULKWALKOBJS = snmpBulk.obj
- TRAPSEND = snmpTraps.exe
- TRAPSENDOBJS = snmpTraps.obj
- TRAPRECEIVE = receive_trap.exe
- TRAPRECEIVEOBJS = receive_trap.obj
- INFORM = snmpInform.exe
- INFORMOBJS = snmpInform.obj
- PASSWD = snmpPasswd.exe
- PASSWDOBJS = snmpPasswd.obj
- WALKTHREADS = snmpWalkThreads.exe
- WALKTHREADSOBJS = snmpWalkThreads.obj
- TESTAPP = test_app.exe
- TESTAPPOBJS = test_app.obj
- OBJS = $(GETOBJS) $(SETOBJS) $(NEXTOBJS) $(WALKOBJS) $(TESTAPPOBJS)
- $(BULKWALKOBJS) $(TRAPSENDOBJS) $(TRAPRECEIVEOBJS) $(INFORMOBJS)
- $(PASSWDOBJS) $(WALKTHREADSOBJS)
- TARGETS = $(GET) $(SET) $(NEXT) $(WALK) $(BULKWALK) $(TESTAPP)
- $(TRAPSEND) $(TRAPRECEIVE) $(INFORM) $(PASSWD) $(WALKTHREADS)
- SNMPPLUSDIR = ..
- SNMPLIBPATH = $(SNMPPLUSDIR)lib
- RSAEURODIR = ....rsaeuro
- HEADERS = ..includeaddress.h ..includecounter.h ..includectr64.h
- ..includegauge.h ..includeoctet.h ..includeoid.h
- ..includepdu.h ..includesmi.h ..includetarget.h
- ..includetimetick.h ..includevb.h ..includesnmp_pp.h
- ..includeinteger.h ..includesmival.h ..includemsgqueue.h
- ..includeuserdefined.h ..includeusertimeout.h
- ..includeeventlist.h ..includemsec.h ..includeusm_v3.h
- ..includev3.h ..includemp_v3.h ..includesha.h
- LIBSNMPPLUS = $(SNMPLIBPATH)libsnmp_pp.lib
- LIBDES = $(LIBDESDIR)libdes.lib
- INCLUDES = -I..include
- .SUFFIXES: .exe .obj .cpp
- .cpp.obj:
- $(CXX) $(CXXFLAGS) $(INCLUDES) -c $<
- .obj.exe:
- $(CXX) $(CXXFLAGS) $(LIBSNMPPLUS) $<
- all: $(TARGETS)
- #
- # Dependencies:
- #
- $(OBJS): $(HEADERS)
- clean:
- @echo Cleaning up...
- -@if exist *.obj del *.obj >nul
- -@if exist *.lib del *.lib >nul
- -@if exist *.exe del *.exe >nul
- -@if exist *.dll del *.dll >nul
- -@if exist *.tds del *.tds >nul