⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile.sun

📁 SNMP++程序源码 for ll .8snmp++2_8.tar.Z 嵌入式linux环境下的SNMP开发代码
💻 SUN
字号:
##  Makefile for building SNMP++ Examples ####  Copyright (c) 1996#  Hewlett-Packard Company##  ATTENTION: USE OF THIS SOFTWARE IS SUBJECT TO THE FOLLOWING TERMS.#  Permission to use, copy, modify, distribute and/or sell this software#  and/or 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#  makes 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.#   Library Definitions:##   -lxnet   -- X/Open Networking Services Library Functions#	-lsnmp++ -- SNMP++ symbol archive library##   For dynamic linking, remember to have user's update their $LD_LIBRARY_PATH#    to contain directory holding libsnmp++.soLIBRARIES = -lxnet -L $(SNMPPLUSDIR)/src -lsnmp++GET = snmpGet GETOBJS = snmpGet.oSET = snmpSet SETOBJS = snmpSet.oNEXT = snmpNextNEXTOBJS = snmpNext.o WALK = snmpWalkWALKOBJS = snmpWalk.oBULKWALK = snmpBulkBULKWALKOBJS = snmpBulk.oTRAPSEND = snmpTrapsTRAPSENDOBJS = snmpTraps.oTRAPD = trapdTRAPDOBJS = trapd.oTARGETS =  $(GET) $(SET) $(NEXT) $(WALK) $(BULKWALK) $(TRAPSEND) $(TRAPD) SNMPPLUSDIR = ..##   Precompiler Option Definitions:##   -g            -- debug#   -mt           -- Compiles and links a multithreaded program, and#                    passes -D_REENTRANT to the preprocessor.  Passed#                    to ld is the command:#   -D_REENTRANT  -- Definition sets need for code to be reentrant, threaded.#   -PIC          -- Produces position-independent code.#   -Dsun         -- Specifies SNMP++ code is being compiled on a sun#   -D__unix      -- Specifies SNMP++ code is being compiled on UNIX, solaris#   -pta          -- Use -template=wholeclass.#COPTIONS = -pta -g -mt -D_REENTRANT -PIC -D_XPG4_EXTENDED -Dsun -D__unixCINCDIRS = -I$(SNMPPLUSDIR)/includeUSEROPTS = CFLAGS = $(COPTIONS) $(CINCDIRS) $(USEROPTS)LDFLAGS = $(CFLAGS)PLUSSRC = snmpBulk.cpp    snmpNext.cpp    snmpTraps.cpp   trapd.cpp \          snmpGet.cpp     snmpSet.cpp     snmpWalk.cppHEADERS = ../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.hCC  = cc CPP = $(PURE) CCLD  = $(PURE) CC.SUFFIXES: .cpp .C .c.c.o: 	$(CC) $(CFLAGS) -c $<.C.o: 	$(CPP) $(CFLAGS) -c $<.cpp.o: 	$(CPP) $(CFLAGS) -c $<all: $(TARGETS)$(GET): $(LIBSNMPPLUS) $(GETOBJS)	$(CPP) $(LDFLAGS) $(GETOBJS) $(LIBSNMPPLUS) $(LIBRARIES) -o $(GET)$(SET): $(LIBSNMPPLUS) $(SETOBJS)	$(CPP) $(LDFLAGS) $(SETOBJS) $(LIBSNMPPLUS) $(LIBRARIES) -o $(SET)$(NEXT): $(LIBSNMPPLUS) $(NEXTOBJS)	$(CPP) $(LDFLAGS) $(NEXTOBJS) $(LIBSNMPPLUS) $(LIBRARIES) -o $(NEXT)$(WALK): $(LIBSNMPPLUS) $(WALKOBJS)	$(CPP) $(LDFLAGS) $(WALKOBJS) $(LIBSNMPPLUS) $(LIBRARIES) -o $(WALK)$(BULKWALK): $(LIBSNMPPLUS) $(BULKWALKOBJS)	$(CPP) $(LDFLAGS) $(BULKWALKOBJS) $(LIBSNMPPLUS) $(LIBRARIES) -o $(BULKWALK)$(TRAPSEND): $(LIBSNMPPLUS) $(TRAPSENDOBJS)	$(CPP) $(LDFLAGS) $(TRAPSENDOBJS) $(LIBSNMPPLUS) $(LIBRARIES) -o $(TRAPSEND)$(TRAPD): $(LIBSNMPPLUS) $(TRAPDOBJS)	$(CPP) $(CFLAGS) $(LDFLAG)  trapd.o  $(LIBSNMPPLUS) $(LIBRARIES) -o $(TRAPD)#	$(CPP) $(CFLAGS) $(LDFLAG) $(TRAPDOBJS) $(LIBSNMPPLUS) $(LIBRARIES) -o $(TRAPD)## Dependencies:#$(GETOBJS): $(HEADERS)$(SETOBJS): $(HEADERS)$(NEXTOBJS): $(HEADERS)$(WALKOBJS): $(HEADERS)$(BULKWALKOBJS): $(HEADERS)$(TRAPSENDOBJS): $(HEADERS)$(TRAPDOBJS): $(HEADERS)clean:	-rm -f *.o *.a *~ coreclobber: clean	-rm -f $(TARGETS)depend:	makedepend $(PLUSSRC) $(CINCDIRS)# DO NOT DELETEsnmpBulk.o: ../include/snmp_pp.h /usr/include/memory.h /usr/include/string.hsnmpBulk.o: /usr/include/sys/feature_tests.h ../include/oid.hsnmpBulk.o: ../include/smival.h ../include/smi.h ../include/collect.hsnmpBulk.o: ../include/vb.h ../include/timetick.h ../include/integer.hsnmpBulk.o: ../include/counter.h ../include/gauge.h ../include/ctr64.hsnmpBulk.o: ../include/octet.h ../include/address.h ../include/target.hsnmpBulk.o: ../include/pdu.h ../include/snmperrs.h /usr/include/stdlib.hsnmpNext.o: ../include/snmp_pp.h /usr/include/memory.h /usr/include/string.hsnmpNext.o: /usr/include/sys/feature_tests.h ../include/oid.hsnmpNext.o: ../include/smival.h ../include/smi.h ../include/collect.hsnmpNext.o: ../include/vb.h ../include/timetick.h ../include/integer.hsnmpNext.o: ../include/counter.h ../include/gauge.h ../include/ctr64.hsnmpNext.o: ../include/octet.h ../include/address.h ../include/target.hsnmpNext.o: ../include/pdu.h ../include/snmperrs.h /usr/include/stdlib.hsnmpTraps.o: ../include/snmp_pp.h /usr/include/memory.h /usr/include/string.hsnmpTraps.o: /usr/include/sys/feature_tests.h ../include/oid.hsnmpTraps.o: ../include/smival.h ../include/smi.h ../include/collect.hsnmpTraps.o: ../include/vb.h ../include/timetick.h ../include/integer.hsnmpTraps.o: ../include/counter.h ../include/gauge.h ../include/ctr64.hsnmpTraps.o: ../include/octet.h ../include/address.h ../include/target.hsnmpTraps.o: ../include/pdu.h ../include/snmperrs.h /usr/include/stdlib.htrapd.o: ../include/snmp_pp.h /usr/include/memory.h /usr/include/string.htrapd.o: /usr/include/sys/feature_tests.h ../include/oid.htrapd.o: ../include/smival.h ../include/smi.h ../include/collect.htrapd.o: ../include/vb.h ../include/timetick.h ../include/integer.htrapd.o: ../include/counter.h ../include/gauge.h ../include/ctr64.htrapd.o: ../include/octet.h ../include/address.h ../include/target.htrapd.o: ../include/pdu.h ../include/snmperrs.h ../include/eventlist.htrapd.o: ../include/msec.h /usr/include/sys/types.htrapd.o: /usr/include/sys/isa_defs.h /usr/include/sys/machtypes.htrapd.o: /usr/include/sys/int_types.h /usr/include/sys/select.htrapd.o: /usr/include/sys/time.h /usr/include/sys/time.htrapd.o: /usr/include/sys/param.h /usr/include/sys/unistd.htrapd.o: /usr/include/stdlib.h /usr/include/stdio.htrapd.o: /usr/include/sys/va_list.hsnmpGet.o: ../include/snmp_pp.h /usr/include/memory.h /usr/include/string.hsnmpGet.o: /usr/include/sys/feature_tests.h ../include/oid.hsnmpGet.o: ../include/smival.h ../include/smi.h ../include/collect.hsnmpGet.o: ../include/vb.h ../include/timetick.h ../include/integer.hsnmpGet.o: ../include/counter.h ../include/gauge.h ../include/ctr64.hsnmpGet.o: ../include/octet.h ../include/address.h ../include/target.hsnmpGet.o: ../include/pdu.h ../include/snmperrs.h /usr/include/stdlib.hsnmpSet.o: ../include/snmp_pp.h /usr/include/memory.h /usr/include/string.hsnmpSet.o: /usr/include/sys/feature_tests.h ../include/oid.hsnmpSet.o: ../include/smival.h ../include/smi.h ../include/collect.hsnmpSet.o: ../include/vb.h ../include/timetick.h ../include/integer.hsnmpSet.o: ../include/counter.h ../include/gauge.h ../include/ctr64.hsnmpSet.o: ../include/octet.h ../include/address.h ../include/target.hsnmpSet.o: ../include/pdu.h ../include/snmperrs.h /usr/include/stdlib.hsnmpWalk.o: ../include/snmp_pp.h /usr/include/memory.h /usr/include/string.hsnmpWalk.o: /usr/include/sys/feature_tests.h ../include/oid.hsnmpWalk.o: ../include/smival.h ../include/smi.h ../include/collect.hsnmpWalk.o: ../include/vb.h ../include/timetick.h ../include/integer.hsnmpWalk.o: ../include/counter.h ../include/gauge.h ../include/ctr64.hsnmpWalk.o: ../include/octet.h ../include/address.h ../include/target.hsnmpWalk.o: ../include/pdu.h ../include/snmperrs.h /usr/include/stdlib.h

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -