?? makefile.hpacc
字號:
## 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.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 = ..COPTIONS = +z -Dunix -D_XPG4_EXTENDED -DGCC CINCDIRS = -I$(SNMPPLUSDIR)/includeUSEROPTS = CFLAGS = $(COPTIONS) $(CINCDIRS) $(USEROPTS)LDFLAGS = $(CFLAGS)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.hLIBSNMPPLUS = $(SNMPPLUSDIR)/src/libsnmp++.aCC = aCC CPP = $(PURE) aCCLD = $(PURE) aCC.c.o: $(CC) $(CFLAGS) -c $<.C.o: $(CPP) $(CFLAGS) -c $<.cpp.o: $(CPP) $(CFLAGS) -c $<all: $(TARGETS)$(GET): $(LIBSNMPPLUS) $(GETOBJS) $(CPP) $(LDFLAGS) $(GETOBJS) $(LIBSNMPPLUS) -o $(GET)$(SET): $(LIBSNMPPLUS) $(SETOBJS) $(CPP) $(LDFLAGS) $(SETOBJS) $(LIBSNMPPLUS) -o $(SET)$(NEXT): $(LIBSNMPPLUS) $(NEXTOBJS) $(CPP) $(LDFLAGS) $(NEXTOBJS) $(LIBSNMPPLUS) -o $(NEXT)$(WALK): $(LIBSNMPPLUS) $(WALKOBJS) $(CPP) $(LDFLAGS) $(WALKOBJS) $(LIBSNMPPLUS) -o $(WALK)$(BULKWALK): $(LIBSNMPPLUS) $(BULKWALKOBJS) $(CPP) $(LDFLAGS) $(BULKWALKOBJS) $(LIBSNMPPLUS) -o $(BULKWALK)$(TRAPSEND): $(LIBSNMPPLUS) $(TRAPSENDOBJS) $(CPP) $(LDFLAGS) $(TRAPSENDOBJS) $(LIBSNMPPLUS) -o $(TRAPSEND)$(TRAPD): $(LIBSNMPPLUS) $(TRAPDOBJS) $(CPP) $(LDFLAGS) $(TRAPDOBJS) $(LIBSNMPPLUS) -o $(TRAPD)## Dependencies:#$(GETOBJS): $(HEADERS)$(SETOBJS): $(HEADERS)$(NEXTOBJS): $(HEADERS)$(WALKOBJS): $(HEADERS)$(BULKWALKOBJS): $(HEADERS)$(TRAPSENDOBJS): $(HEADERS)$(TRAPDOBJS): $(HEADERS)clean: -rm -f *.o *.a *~ core -rm -rf ptrepositoryclobber: clean -rm -f $(TARGETS)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -