📄 makefile.bcc
字号:
############################################################################ ## ## Makefile.bcc ## ## SNMP++v3.2.21a ## ----------------------------------------------- ## 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, Tue Nov 21 22:12:16 CET 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 = ..\include\address.h ..\include\counter.h ..\include\ctr64.h \
..\include\gauge.h ..\include\octet.h ..\include\oid.h \
..\include\pdu.h ..\include\smi.h ..\include\target.h \
..\include\timetick.h ..\include\vb.h ..\include\snmp_pp.h \
..\include\integer.h ..\include\smival.h ..\include\msgqueue.h \
..\include\userdefined.h ..\include\usertimeout.h \
..\include\eventlist.h ..\include\msec.h ..\include\usm_v3.h \
..\include\v3.h ..\include\mp_v3.h ..\include\sha.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
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -