Deleted Added
full compact
Makefile (154133) Makefile (154856)
1#
2# Copyright (c) 2005-2006 The FreeBSD Project
3# All rights reserved.
4# Author: Victor Cruceru <soc-victor@freebsd.org>
5#
6# Redistribution of this software and documentation and use in source and
7# binary forms, with or without modification, are permitted provided that
8# the following conditions are met:

--- 11 unchanged lines hidden (view full) ---

20# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26# SUCH DAMAGE.
27#
1#
2# Copyright (c) 2005-2006 The FreeBSD Project
3# All rights reserved.
4# Author: Victor Cruceru <soc-victor@freebsd.org>
5#
6# Redistribution of this software and documentation and use in source and
7# binary forms, with or without modification, are permitted provided that
8# the following conditions are met:

--- 11 unchanged lines hidden (view full) ---

20# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26# SUCH DAMAGE.
27#
28# $FreeBSD: head/usr.sbin/bsnmpd/modules/snmp_hostres/Makefile 154133 2006-01-09 12:33:45Z harti $
28# $FreeBSD: head/usr.sbin/bsnmpd/modules/snmp_hostres/Makefile 154856 2006-01-26 10:13:32Z harti $
29#
30
31LPRSRC= ${.CURDIR}/../../../lpr/common_source
32.PATH: ${LPRSRC}
33
34MOD= hostres
35SRCS= hostres_begemot.c \
36 hostres_device_tbl.c \

--- 6 unchanged lines hidden (view full) ---

43 hostres_scalars.c \
44 hostres_snmp.c \
45 hostres_storage_tbl.c \
46 hostres_swinstalled_tbl.c \
47 hostres_swrun_tbl.c \
48 printcap.c
49
50#Not having NDEBUG defined will enable assertions and a lot of output on stderr
29#
30
31LPRSRC= ${.CURDIR}/../../../lpr/common_source
32.PATH: ${LPRSRC}
33
34MOD= hostres
35SRCS= hostres_begemot.c \
36 hostres_device_tbl.c \

--- 6 unchanged lines hidden (view full) ---

43 hostres_scalars.c \
44 hostres_snmp.c \
45 hostres_storage_tbl.c \
46 hostres_swinstalled_tbl.c \
47 hostres_swrun_tbl.c \
48 printcap.c
49
50#Not having NDEBUG defined will enable assertions and a lot of output on stderr
51CFLAGS+= -DNDEBUG -I${LPRSRC}
51CFLAGS+= -DNDEBUG -I${LPRSRC}
52XSYM= host hrStorageOther hrStorageRam hrStorageVirtualMemory \
53 hrStorageFixedDisk hrStorageRemovableDisk hrStorageFloppyDisk \
54 hrStorageCompactDisc hrStorageRamDisk hrStorageFlashMemory \
55 hrStorageNetworkDisk hrDeviceOther hrDeviceUnknown \
56 hrDeviceProcessor hrDeviceNetwork hrDevicePrinter \
57 hrDeviceDiskStorage hrDeviceVideo hrDeviceAudio \
58 hrDeviceCoprocessor hrDeviceKeyboard hrDeviceModem \
59 hrDeviceParallelPort hrDevicePointing \

--- 4 unchanged lines hidden (view full) ---

64 hrFSiso9660 hrFSRockRidge hrFSNFS hrFSNetware hrFSAFS hrFSDFS \
65 hrFSAppleshare hrFSRFS hrFSDGCFS hrFSBFS hrFSFAT32 hrFSLinuxExt2
66
67MAN= snmp_hostres.3
68
69DEFS= ${MOD}_tree.def
70BMIBS= BEGEMOT-HOSTRES-MIB.txt
71
52XSYM= host hrStorageOther hrStorageRam hrStorageVirtualMemory \
53 hrStorageFixedDisk hrStorageRemovableDisk hrStorageFloppyDisk \
54 hrStorageCompactDisc hrStorageRamDisk hrStorageFlashMemory \
55 hrStorageNetworkDisk hrDeviceOther hrDeviceUnknown \
56 hrDeviceProcessor hrDeviceNetwork hrDevicePrinter \
57 hrDeviceDiskStorage hrDeviceVideo hrDeviceAudio \
58 hrDeviceCoprocessor hrDeviceKeyboard hrDeviceModem \
59 hrDeviceParallelPort hrDevicePointing \

--- 4 unchanged lines hidden (view full) ---

64 hrFSiso9660 hrFSRockRidge hrFSNFS hrFSNetware hrFSAFS hrFSDFS \
65 hrFSAppleshare hrFSRFS hrFSDGCFS hrFSBFS hrFSFAT32 hrFSLinuxExt2
66
67MAN= snmp_hostres.3
68
69DEFS= ${MOD}_tree.def
70BMIBS= BEGEMOT-HOSTRES-MIB.txt
71
72DPADD= ${LIBKVM} ${LIBDEVINFO} ${LIBM} ${LIBDISK} ${LIBMEMSTAT}
73LDADD= -lkvm -ldevinfo -lm -ldisk -lmemstat
72DPADD= ${LIBKVM} ${LIBDEVINFO} ${LIBM} ${LIBGEOM} ${LIBMEMSTAT}
73LDADD= -lkvm -ldevinfo -lm -lgeom -lmemstat
74
75.include <bsd.snmpmod.mk>
76
77printcap.So: printcap.c
78 ${CC} ${PICFLAG} -DPIC ${CFLAGS:C/^-W.*//} -c ${.IMPSRC} -o ${.TARGET}
79
80smilint:
81 env SMIPATH=.:/usr/share/snmp/mibs:/usr/local/share/snmp/mibs \
82 smilint -c /dev/null -l6 -i group-membership BEGEMOT-HOSTRES-MIB
74
75.include <bsd.snmpmod.mk>
76
77printcap.So: printcap.c
78 ${CC} ${PICFLAG} -DPIC ${CFLAGS:C/^-W.*//} -c ${.IMPSRC} -o ${.TARGET}
79
80smilint:
81 env SMIPATH=.:/usr/share/snmp/mibs:/usr/local/share/snmp/mibs \
82 smilint -c /dev/null -l6 -i group-membership BEGEMOT-HOSTRES-MIB