2025-04-27 07:49:33 -04:00

103 lines
2.3 KiB
Plaintext

# Copyright (c) 1997-2001 Microsoft Corporation, All Rights Reserved
#---------------------------------------------------------------------
#
# This makefile is for use with the SMSBUILD utility. It builds the
# snmpthrd.dll
#
# created 01-24-97 stevm
#
#---------------------------------------------------------------------
TARGET=snmpcl.dll
VER_STR_FILE_DESCRIPTION="SNMP Class Library"
#NO_OPTIM=1
CFLAGS=$(CFLAGS) /GX /GR
CDEFS = $(CDEFS) \
/D_UNICODE \
/DUNICODE \
/DSNMPCLINIT \
!ifdef COMMONALLOC
/DCOMMONALLOC
!endif
CINC= \
$(CINC) \
-I.\include \
-I$(DEFDRIVE)$(DEFDIR)\providers\framework\provexpt\include \
-I$(DEFDRIVE)$(DEFDIR)\snmpprovider\common\thrdlog\include \
-I$(DEFDRIVE)$(DEFDIR)\snmpprovider\common\snmpmfc\include \
-I$(DEFDRIVE)$(DEFDIR)\snmpprovider\winsnmp\nt5.0\inc \
-I$(DEFDRIVE)$(DEFDIR)\idl \
!ifdef COMMONALLOC
-I$(WBEMCOMN)
!endif
release=core\$(RELDIR)
CPPFILES=\
address.cpp \
encdec.cpp \
dummy.cpp \
flow.cpp \
frame.cpp \
fs_reg.cpp \
idmap.cpp \
message.cpp \
op.cpp \
ophelp.cpp \
opreg.cpp \
pdu.cpp \
pseudo.cpp \
reg.cpp \
sec.cpp \
session.cpp \
ssent.cpp \
startup.cpp \
timer.cpp \
transp.cpp \
tsent.cpp \
tsess.cpp \
value.cpp \
vbl.cpp \
vblist.cpp \
window.cpp \
wsess.cpp \
trap.cpp \
trapsess.cpp \
snmpcont.cpp \
snmpauto.cpp \
snmptype.cpp \
tree.cpp \
$(DEFDRIVE)$(DEFDIR)\providers\framework\provexpt\provexpt.cpp
DEFFILE=snmpcl.def
LIBS=\
$(DEFDRIVE)$(DEFDIR)\snmpprovider\common\snmpmfc\OBJ$(PLAT)$(OPST)$(BLDT)D\snmpmfc.lib \
$(DEFDRIVE)$(DEFDIR)\snmpprovider\common\thrdlog\OBJ$(PLAT)$(OPST)$(BLDT)D\snmpthrd.lib \
!if "$(OPSYS)"=="NT64"
$(DEFDRIVE)$(DEFDIR)\tools$(MACEXT)\lib64$(MACEXT)\wsnmp32.lib \
!else
$(DEFDRIVE)$(DEFDIR)\snmpprovider\winsnmp\nt5.0\dll\OBJ$(PLAT)$(OPST)$(BLDT)D\wsnmp32.lib \
!endif
$(IDL)\OBJ$(PLAT)$(OPST)$(BLDT)D\wbemuuid.lib \
$(CLIB)\ole32.lib \
$(CLIB)\oleaut32.lib \
$(CLIB)\msvcirt.lib \
!ifdef COMMONALLOC
$(WBEMCOMN)\NT\OBJ$(PLAT)$(OPST)$(BLDT)$(LNKTYPE)\wbemcomn.lib \
!endif
!ifdef KERNEL33
$(DEFDRIVE)$(DEFDIR)\Winmgmt\kernel33\kernel33.lib \
!else
$(CLIB)\kernel32.lib \
!endif
$(CLIB)\msvcrt.lib \
$(CLIB)\advapi32.lib \
$(CLIB)\user32.lib \
$(CLIB)\wsock32.lib