summaryrefslogtreecommitdiff
path: root/usr/src/uts/sparc
diff options
context:
space:
mode:
authorRichard Lowe <richlowe@richlowe.net>2020-10-23 14:17:59 -0400
committerRichard Lowe <richlowe@richlowe.net>2020-12-16 16:04:35 -0600
commit0aaef2f550fa500248f59b0b8a14225b5afbd198 (patch)
tree386f628ec5125b1d768e18877e1df61898f8466a /usr/src/uts/sparc
parent1a5f1879be09d3de900b2510692dd12003784d84 (diff)
downloadillumos-gate-0aaef2f550fa500248f59b0b8a14225b5afbd198.tar.gz
13258 remove lint from the uts build
Reviewed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: Jason King <jason.brian.king+illumos@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/uts/sparc')
-rw-r--r--usr/src/uts/sparc/FSS/Makefile13
-rw-r--r--usr/src/uts/sparc/FX/Makefile19
-rw-r--r--usr/src/uts/sparc/FX_DPTBL/Makefile15
-rw-r--r--usr/src/uts/sparc/IA/Makefile11
-rw-r--r--usr/src/uts/sparc/Makefile25
-rw-r--r--usr/src/uts/sparc/Makefile.files8
-rw-r--r--usr/src/uts/sparc/Makefile.rules46
-rw-r--r--usr/src/uts/sparc/Makefile.sparc30
-rw-r--r--usr/src/uts/sparc/RT/Makefile21
-rw-r--r--usr/src/uts/sparc/RT_DPTBL/Makefile14
-rw-r--r--usr/src/uts/sparc/SDC/Makefile8
-rw-r--r--usr/src/uts/sparc/TS/Makefile18
-rw-r--r--usr/src/uts/sparc/TS_DPTBL/Makefile14
-rw-r--r--usr/src/uts/sparc/aac/Makefile21
-rw-r--r--usr/src/uts/sparc/ac97/Makefile8
-rw-r--r--usr/src/uts/sparc/acctctl/Makefile12
-rw-r--r--usr/src/uts/sparc/aes/Makefile16
-rw-r--r--usr/src/uts/sparc/afe/Makefile11
-rw-r--r--usr/src/uts/sparc/aggr/Makefile18
-rw-r--r--usr/src/uts/sparc/aoutexec/Makefile12
-rw-r--r--usr/src/uts/sparc/arcfour/Makefile16
-rw-r--r--usr/src/uts/sparc/audio1575/Makefile21
-rw-r--r--usr/src/uts/sparc/audiocs/Makefile8
-rw-r--r--usr/src/uts/sparc/audioens/Makefile8
-rw-r--r--usr/src/uts/sparc/audiols/Makefile8
-rw-r--r--usr/src/uts/sparc/audiop16x/Makefile8
-rw-r--r--usr/src/uts/sparc/audiopci/Makefile8
-rw-r--r--usr/src/uts/sparc/audiots/Makefile19
-rw-r--r--usr/src/uts/sparc/autofs/Makefile15
-rw-r--r--usr/src/uts/sparc/av1394/Makefile26
-rw-r--r--usr/src/uts/sparc/bge/Makefile11
-rw-r--r--usr/src/uts/sparc/bignum/Makefile15
-rw-r--r--usr/src/uts/sparc/bl/Makefile15
-rw-r--r--usr/src/uts/sparc/blkdev/Makefile8
-rw-r--r--usr/src/uts/sparc/blowfish/Makefile23
-rw-r--r--usr/src/uts/sparc/bnxe/Makefile26
-rw-r--r--usr/src/uts/sparc/bofi/Makefile26
-rw-r--r--usr/src/uts/sparc/bootfs/Makefile8
-rw-r--r--usr/src/uts/sparc/bpf/Makefile15
-rw-r--r--usr/src/uts/sparc/bridge/Makefile13
-rw-r--r--usr/src/uts/sparc/bufmod/Makefile20
-rw-r--r--usr/src/uts/sparc/busra/Makefile9
-rw-r--r--usr/src/uts/sparc/c2audit/Makefile23
-rw-r--r--usr/src/uts/sparc/cardbus/Makefile33
-rw-r--r--usr/src/uts/sparc/cc/Makefile8
-rw-r--r--usr/src/uts/sparc/cc_cubic/Makefile8
-rw-r--r--usr/src/uts/sparc/cc_newreno/Makefile8
-rw-r--r--usr/src/uts/sparc/cc_sunreno/Makefile8
-rw-r--r--usr/src/uts/sparc/chxge/Makefile32
-rw-r--r--usr/src/uts/sparc/clone/Makefile10
-rw-r--r--usr/src/uts/sparc/cmlb/Makefile16
-rw-r--r--usr/src/uts/sparc/cn/Makefile13
-rw-r--r--usr/src/uts/sparc/config/Makefile9
-rw-r--r--usr/src/uts/sparc/connld/Makefile11
-rw-r--r--usr/src/uts/sparc/consconfig/Makefile11
-rw-r--r--usr/src/uts/sparc/consconfig_dacf/Makefile19
-rw-r--r--usr/src/uts/sparc/conskbd/Makefile18
-rw-r--r--usr/src/uts/sparc/consms/Makefile13
-rw-r--r--usr/src/uts/sparc/cpuid/Makefile9
-rw-r--r--usr/src/uts/sparc/cryptmod/Makefile23
-rw-r--r--usr/src/uts/sparc/crypto/Makefile17
-rw-r--r--usr/src/uts/sparc/cryptoadm/Makefile20
-rw-r--r--usr/src/uts/sparc/ctf/Makefile14
-rw-r--r--usr/src/uts/sparc/ctfs/Makefile13
-rw-r--r--usr/src/uts/sparc/dad/Makefile16
-rw-r--r--usr/src/uts/sparc/dada/Makefile13
-rw-r--r--usr/src/uts/sparc/daplt/Makefile22
-rw-r--r--usr/src/uts/sparc/dca/Makefile22
-rw-r--r--usr/src/uts/sparc/dcam1394/Makefile20
-rw-r--r--usr/src/uts/sparc/dcfs/Makefile8
-rw-r--r--usr/src/uts/sparc/dcpc/Makefile8
-rw-r--r--usr/src/uts/sparc/dedump/Makefile20
-rw-r--r--usr/src/uts/sparc/des/Makefile20
-rw-r--r--usr/src/uts/sparc/dev/Makefile10
-rw-r--r--usr/src/uts/sparc/devfs/Makefile8
-rw-r--r--usr/src/uts/sparc/devinfo/Makefile16
-rw-r--r--usr/src/uts/sparc/dlcosmk/Makefile21
-rw-r--r--usr/src/uts/sparc/dld/Makefile16
-rw-r--r--usr/src/uts/sparc/dlpistub/Makefile8
-rw-r--r--usr/src/uts/sparc/dls/Makefile16
-rw-r--r--usr/src/uts/sparc/dmfe/Makefile15
-rw-r--r--usr/src/uts/sparc/doorfs/Makefile15
-rw-r--r--usr/src/uts/sparc/dprov/Makefile23
-rw-r--r--usr/src/uts/sparc/drcompat/Makefile20
-rw-r--r--usr/src/uts/sparc/dscpmk/Makefile20
-rw-r--r--usr/src/uts/sparc/dtrace/Makefile20
-rw-r--r--usr/src/uts/sparc/dump/Makefile16
-rw-r--r--usr/src/uts/sparc/e1000g/Makefile25
-rw-r--r--usr/src/uts/sparc/ecc/Makefile20
-rw-r--r--usr/src/uts/sparc/ecpp/Makefile23
-rw-r--r--usr/src/uts/sparc/edonr/Makefile9
-rw-r--r--usr/src/uts/sparc/efe/Makefile8
-rw-r--r--usr/src/uts/sparc/ehci/Makefile12
-rw-r--r--usr/src/uts/sparc/eibnx/Makefile20
-rw-r--r--usr/src/uts/sparc/elfexec/Makefile29
-rw-r--r--usr/src/uts/sparc/emlxs/Makefile18
-rw-r--r--usr/src/uts/sparc/emlxs_fw/Makefile15
-rw-r--r--usr/src/uts/sparc/emul64/Makefile25
-rw-r--r--usr/src/uts/sparc/eoib/Makefile15
-rw-r--r--usr/src/uts/sparc/eri/Makefile15
-rw-r--r--usr/src/uts/sparc/eventfd/Makefile8
-rw-r--r--usr/src/uts/sparc/exacctsys/Makefile15
-rw-r--r--usr/src/uts/sparc/fas/Makefile22
-rw-r--r--usr/src/uts/sparc/fasttrap/Makefile8
-rw-r--r--usr/src/uts/sparc/fbt/Makefile14
-rw-r--r--usr/src/uts/sparc/fcip/Makefile18
-rw-r--r--usr/src/uts/sparc/fcode/Makefile14
-rw-r--r--usr/src/uts/sparc/fcodem/Makefile18
-rw-r--r--usr/src/uts/sparc/fcoe/Makefile8
-rw-r--r--usr/src/uts/sparc/fcoei/Makefile10
-rw-r--r--usr/src/uts/sparc/fcoet/Makefile8
-rw-r--r--usr/src/uts/sparc/fcp/Makefile16
-rw-r--r--usr/src/uts/sparc/fcpci/Makefile25
-rw-r--r--usr/src/uts/sparc/fcsm/Makefile14
-rw-r--r--usr/src/uts/sparc/fct/Makefile17
-rw-r--r--usr/src/uts/sparc/fctl/Makefile17
-rw-r--r--usr/src/uts/sparc/fdfs/Makefile11
-rw-r--r--usr/src/uts/sparc/fifofs/Makefile14
-rw-r--r--usr/src/uts/sparc/flowacct/Makefile19
-rw-r--r--usr/src/uts/sparc/fm/Makefile8
-rw-r--r--usr/src/uts/sparc/fp/Makefile19
-rw-r--r--usr/src/uts/sparc/fssnap/Makefile13
-rw-r--r--usr/src/uts/sparc/fssnap_if/Makefile10
-rw-r--r--usr/src/uts/sparc/gen_drv/Makefile20
-rw-r--r--usr/src/uts/sparc/gld/Makefile15
-rw-r--r--usr/src/uts/sparc/hci1394/Makefile26
-rw-r--r--usr/src/uts/sparc/hermon/Makefile19
-rw-r--r--usr/src/uts/sparc/hid/Makefile22
-rw-r--r--usr/src/uts/sparc/hidparser/Makefile16
-rw-r--r--usr/src/uts/sparc/hme/Makefile8
-rw-r--r--usr/src/uts/sparc/hook/Makefile12
-rw-r--r--usr/src/uts/sparc/hpcsvc/Makefile19
-rw-r--r--usr/src/uts/sparc/hsfs/Makefile18
-rw-r--r--usr/src/uts/sparc/hubd/Makefile14
-rw-r--r--usr/src/uts/sparc/hxge/Makefile25
-rw-r--r--usr/src/uts/sparc/i8042/Makefile13
-rw-r--r--usr/src/uts/sparc/ib/Makefile27
-rw-r--r--usr/src/uts/sparc/ibcm/Makefile28
-rw-r--r--usr/src/uts/sparc/ibdm/Makefile20
-rw-r--r--usr/src/uts/sparc/ibdma/Makefile18
-rw-r--r--usr/src/uts/sparc/ibmf/Makefile21
-rw-r--r--usr/src/uts/sparc/ibp/Makefile22
-rw-r--r--usr/src/uts/sparc/ibtl/Makefile23
-rw-r--r--usr/src/uts/sparc/icmp/Makefile20
-rw-r--r--usr/src/uts/sparc/icmp6/Makefile15
-rw-r--r--usr/src/uts/sparc/idm/Makefile8
-rw-r--r--usr/src/uts/sparc/idmap/Makefile12
-rw-r--r--usr/src/uts/sparc/igb/Makefile22
-rw-r--r--usr/src/uts/sparc/inst_sync/Makefile8
-rw-r--r--usr/src/uts/sparc/intpexec/Makefile8
-rw-r--r--usr/src/uts/sparc/ip/Makefile29
-rw-r--r--usr/src/uts/sparc/ip6/Makefile15
-rw-r--r--usr/src/uts/sparc/ipc/Makefile13
-rw-r--r--usr/src/uts/sparc/ipd/Makefile8
-rw-r--r--usr/src/uts/sparc/ipf/Makefile26
-rw-r--r--usr/src/uts/sparc/ipgpc/Makefile25
-rw-r--r--usr/src/uts/sparc/ipnet/Makefile28
-rw-r--r--usr/src/uts/sparc/ippctl/Makefile18
-rw-r--r--usr/src/uts/sparc/iptun/Makefile14
-rw-r--r--usr/src/uts/sparc/iscsi/Makefile10
-rw-r--r--usr/src/uts/sparc/iscsit/Makefile10
-rw-r--r--usr/src/uts/sparc/iser/Makefile8
-rw-r--r--usr/src/uts/sparc/iwscn/Makefile11
-rw-r--r--usr/src/uts/sparc/ixgbe/Makefile23
-rw-r--r--usr/src/uts/sparc/javaexec/Makefile8
-rw-r--r--usr/src/uts/sparc/kaio/Makefile21
-rw-r--r--usr/src/uts/sparc/kb8042/Makefile13
-rw-r--r--usr/src/uts/sparc/kbtrans/Makefile21
-rw-r--r--usr/src/uts/sparc/kcf/Makefile21
-rw-r--r--usr/src/uts/sparc/keysock/Makefile25
-rw-r--r--usr/src/uts/sparc/kgssapi/Makefile21
-rw-r--r--usr/src/uts/sparc/kiconv_emea/Makefile19
-rw-r--r--usr/src/uts/sparc/kiconv_ja/Makefile19
-rw-r--r--usr/src/uts/sparc/kiconv_ko/Makefile13
-rwxr-xr-xusr/src/uts/sparc/kiconv_sc/Makefile19
-rwxr-xr-xusr/src/uts/sparc/kiconv_tc/Makefile19
-rw-r--r--usr/src/uts/sparc/klmmod/Makefile8
-rw-r--r--usr/src/uts/sparc/klmops/Makefile8
-rw-r--r--usr/src/uts/sparc/kmdb/Makefile10
-rw-r--r--usr/src/uts/sparc/kmech_dummy/Makefile12
-rw-r--r--usr/src/uts/sparc/kmech_krb5/Makefile32
-rw-r--r--usr/src/uts/sparc/ksocket/Makefile8
-rw-r--r--usr/src/uts/sparc/kssl/Makefile23
-rw-r--r--usr/src/uts/sparc/ksslf/Makefile23
-rw-r--r--usr/src/uts/sparc/kstat/Makefile13
-rw-r--r--usr/src/uts/sparc/ksyms/Makefile8
-rw-r--r--usr/src/uts/sparc/ldterm/Makefile15
-rw-r--r--usr/src/uts/sparc/llc1/Makefile14
-rw-r--r--usr/src/uts/sparc/lockstat/Makefile9
-rw-r--r--usr/src/uts/sparc/lofi/Makefile10
-rw-r--r--usr/src/uts/sparc/lofs/Makefile8
-rw-r--r--usr/src/uts/sparc/log/Makefile24
-rw-r--r--usr/src/uts/sparc/logindmux/Makefile18
-rw-r--r--usr/src/uts/sparc/mac/Makefile22
-rw-r--r--usr/src/uts/sparc/mac_6to4/Makefile12
-rw-r--r--usr/src/uts/sparc/mac_ether/Makefile10
-rw-r--r--usr/src/uts/sparc/mac_ib/Makefile10
-rw-r--r--usr/src/uts/sparc/mac_ipv4/Makefile12
-rw-r--r--usr/src/uts/sparc/mac_ipv6/Makefile12
-rw-r--r--usr/src/uts/sparc/mac_wifi/Makefile10
-rw-r--r--usr/src/uts/sparc/md4/Makefile22
-rw-r--r--usr/src/uts/sparc/md5/Makefile11
-rw-r--r--usr/src/uts/sparc/mii/Makefile8
-rw-r--r--usr/src/uts/sparc/mm/Makefile20
-rw-r--r--usr/src/uts/sparc/mntfs/Makefile13
-rw-r--r--usr/src/uts/sparc/mouse8042/Makefile13
-rw-r--r--usr/src/uts/sparc/mpt_sas/Makefile15
-rw-r--r--usr/src/uts/sparc/mr_sas/Makefile21
-rw-r--r--usr/src/uts/sparc/ms/Makefile21
-rw-r--r--usr/src/uts/sparc/msgsys/Makefile13
-rw-r--r--usr/src/uts/sparc/mxfe/Makefile8
-rw-r--r--usr/src/uts/sparc/myri10ge/Makefile9
-rw-r--r--usr/src/uts/sparc/namefs/Makefile8
-rw-r--r--usr/src/uts/sparc/nca/Makefile24
-rw-r--r--usr/src/uts/sparc/net_dacf/Makefile14
-rw-r--r--usr/src/uts/sparc/neti/Makefile11
-rw-r--r--usr/src/uts/sparc/nfs/Makefile18
-rw-r--r--usr/src/uts/sparc/nfs_dlboot/Makefile15
-rw-r--r--usr/src/uts/sparc/nfssrv/Makefile17
-rw-r--r--usr/src/uts/sparc/nsmb/Makefile22
-rw-r--r--usr/src/uts/sparc/nulldriver/Makefile8
-rw-r--r--usr/src/uts/sparc/objfs/Makefile14
-rw-r--r--usr/src/uts/sparc/oce/Makefile8
-rw-r--r--usr/src/uts/sparc/ohci/Makefile22
-rw-r--r--usr/src/uts/sparc/openeepr/Makefile14
-rw-r--r--usr/src/uts/sparc/options/Makefile10
-rw-r--r--usr/src/uts/sparc/pcfs/Makefile18
-rw-r--r--usr/src/uts/sparc/pci_pci/Makefile23
-rw-r--r--usr/src/uts/sparc/pcic/Makefile30
-rw-r--r--usr/src/uts/sparc/pcicfg/Makefile26
-rw-r--r--usr/src/uts/sparc/pcieb/Makefile26
-rw-r--r--usr/src/uts/sparc/pcieb_bcm/Makefile25
-rw-r--r--usr/src/uts/sparc/pcihp/Makefile19
-rw-r--r--usr/src/uts/sparc/pckt/Makefile14
-rw-r--r--usr/src/uts/sparc/pcmcia/Makefile22
-rw-r--r--usr/src/uts/sparc/pcs/Makefile14
-rw-r--r--usr/src/uts/sparc/pfmod/Makefile22
-rw-r--r--usr/src/uts/sparc/physmem/Makefile14
-rw-r--r--usr/src/uts/sparc/pipe/Makefile13
-rw-r--r--usr/src/uts/sparc/pipemod/Makefile11
-rw-r--r--usr/src/uts/sparc/pm/Makefile14
-rw-r--r--usr/src/uts/sparc/pmcs/Makefile8
-rw-r--r--usr/src/uts/sparc/pmcs8001fw/Makefile12
-rw-r--r--usr/src/uts/sparc/poll/Makefile17
-rw-r--r--usr/src/uts/sparc/pool/Makefile21
-rw-r--r--usr/src/uts/sparc/portfs/Makefile14
-rw-r--r--usr/src/uts/sparc/pppt/Makefile10
-rw-r--r--usr/src/uts/sparc/profile/Makefile9
-rw-r--r--usr/src/uts/sparc/pset/Makefile14
-rw-r--r--usr/src/uts/sparc/pseudo/Makefile11
-rw-r--r--usr/src/uts/sparc/pshot/Makefile20
-rw-r--r--usr/src/uts/sparc/ptc/Makefile22
-rw-r--r--usr/src/uts/sparc/ptem/Makefile14
-rw-r--r--usr/src/uts/sparc/ptm/Makefile18
-rw-r--r--usr/src/uts/sparc/pts/Makefile18
-rw-r--r--usr/src/uts/sparc/ptsl/Makefile23
-rw-r--r--usr/src/uts/sparc/qfe/Makefile12
-rw-r--r--usr/src/uts/sparc/qlc/Makefile14
-rw-r--r--usr/src/uts/sparc/qlc_fw_2200/Makefile14
-rw-r--r--usr/src/uts/sparc/qlc_fw_2300/Makefile14
-rw-r--r--usr/src/uts/sparc/qlc_fw_2400/Makefile14
-rw-r--r--usr/src/uts/sparc/qlc_fw_2500/Makefile14
-rw-r--r--usr/src/uts/sparc/qlc_fw_6322/Makefile14
-rw-r--r--usr/src/uts/sparc/qlc_fw_8100/Makefile14
-rw-r--r--usr/src/uts/sparc/qlge/Makefile8
-rw-r--r--usr/src/uts/sparc/qlt/Makefile18
-rw-r--r--usr/src/uts/sparc/ramdisk/Makefile10
-rw-r--r--usr/src/uts/sparc/random/Makefile14
-rw-r--r--usr/src/uts/sparc/rds/Makefile15
-rw-r--r--usr/src/uts/sparc/rdsib/Makefile17
-rw-r--r--usr/src/uts/sparc/rdsv3/Makefile34
-rw-r--r--usr/src/uts/sparc/redirmod/Makefile11
-rw-r--r--usr/src/uts/sparc/rge/Makefile26
-rw-r--r--usr/src/uts/sparc/rlmod/Makefile21
-rw-r--r--usr/src/uts/sparc/rpcib/Makefile23
-rw-r--r--usr/src/uts/sparc/rpcmod/Makefile25
-rw-r--r--usr/src/uts/sparc/rpcsec/Makefile21
-rw-r--r--usr/src/uts/sparc/rpcsec_gss/Makefile24
-rw-r--r--usr/src/uts/sparc/rsa/Makefile25
-rw-r--r--usr/src/uts/sparc/rsm/Makefile26
-rw-r--r--usr/src/uts/sparc/rsmops/Makefile16
-rw-r--r--usr/src/uts/sparc/rtls/Makefile8
-rw-r--r--usr/src/uts/sparc/rts/Makefile20
-rw-r--r--usr/src/uts/sparc/s1394/Makefile26
-rw-r--r--usr/src/uts/sparc/sad/Makefile14
-rw-r--r--usr/src/uts/sparc/sata/Makefile23
-rw-r--r--usr/src/uts/sparc/sbp2/Makefile23
-rw-r--r--usr/src/uts/sparc/scsa1394/Makefile31
-rw-r--r--usr/src/uts/sparc/scsa2usb/Makefile24
-rw-r--r--usr/src/uts/sparc/scsi/Makefile22
-rw-r--r--usr/src/uts/sparc/scsi_vhci/Makefile8
-rw-r--r--usr/src/uts/sparc/scsi_vhci_f_sym/Makefile10
-rw-r--r--usr/src/uts/sparc/scsi_vhci_f_sym_hds/Makefile10
-rw-r--r--usr/src/uts/sparc/scsi_vhci_f_tape/Makefile10
-rw-r--r--usr/src/uts/sparc/scsi_vhci_f_tpgs/Makefile10
-rw-r--r--usr/src/uts/sparc/scsi_vhci_f_tpgs_tape/Makefile10
-rw-r--r--usr/src/uts/sparc/sd/Makefile21
-rw-r--r--usr/src/uts/sparc/sdp/Makefile11
-rw-r--r--usr/src/uts/sparc/sdt/Makefile13
-rw-r--r--usr/src/uts/sparc/semsys/Makefile13
-rw-r--r--usr/src/uts/sparc/ses/Makefile15
-rw-r--r--usr/src/uts/sparc/sfe/Makefile8
-rw-r--r--usr/src/uts/sparc/sgen/Makefile16
-rw-r--r--usr/src/uts/sparc/sha1/Makefile12
-rw-r--r--usr/src/uts/sparc/sha2/Makefile19
-rw-r--r--usr/src/uts/sparc/sharefs/Makefile8
-rw-r--r--usr/src/uts/sparc/shbinexec/Makefile8
-rw-r--r--usr/src/uts/sparc/shmsys/Makefile14
-rw-r--r--usr/src/uts/sparc/signalfd/Makefile8
-rw-r--r--usr/src/uts/sparc/simnet/Makefile8
-rw-r--r--usr/src/uts/sparc/skein/Makefile9
-rw-r--r--usr/src/uts/sparc/smbfs/Makefile22
-rw-r--r--usr/src/uts/sparc/smbsrv/Makefile8
-rw-r--r--usr/src/uts/sparc/smp/Makefile10
-rw-r--r--usr/src/uts/sparc/socal/Makefile18
-rw-r--r--usr/src/uts/sparc/sockpfp/Makefile23
-rw-r--r--usr/src/uts/sparc/sockrds/Makefile13
-rw-r--r--usr/src/uts/sparc/socksctp/Makefile23
-rw-r--r--usr/src/uts/sparc/socksdp/Makefile17
-rw-r--r--usr/src/uts/sparc/softmac/Makefile20
-rw-r--r--usr/src/uts/sparc/sol_ofs/Makefile16
-rw-r--r--usr/src/uts/sparc/sol_ucma/Makefile15
-rw-r--r--usr/src/uts/sparc/sol_umad/Makefile8
-rw-r--r--usr/src/uts/sparc/sol_uverbs/Makefile16
-rw-r--r--usr/src/uts/sparc/spdsock/Makefile7
-rw-r--r--usr/src/uts/sparc/specfs/Makefile10
-rw-r--r--usr/src/uts/sparc/sppp/Makefile14
-rw-r--r--usr/src/uts/sparc/spppasyn/Makefile24
-rw-r--r--usr/src/uts/sparc/spppcomp/Makefile33
-rw-r--r--usr/src/uts/sparc/sppptun/Makefile20
-rw-r--r--usr/src/uts/sparc/srpt/Makefile10
-rw-r--r--usr/src/uts/sparc/ssd/Makefile24
-rw-r--r--usr/src/uts/sparc/st/Makefile22
-rw-r--r--usr/src/uts/sparc/stmf/Makefile16
-rw-r--r--usr/src/uts/sparc/stmf_sbd/Makefile14
-rw-r--r--usr/src/uts/sparc/strplumb/Makefile22
-rw-r--r--usr/src/uts/sparc/swrand/Makefile22
-rw-r--r--usr/src/uts/sparc/sy/Makefile14
-rw-r--r--usr/src/uts/sparc/sysacct/Makefile11
-rw-r--r--usr/src/uts/sparc/sysevent/Makefile11
-rw-r--r--usr/src/uts/sparc/sysmsg/Makefile18
-rw-r--r--usr/src/uts/sparc/systrace/Makefile9
-rw-r--r--usr/src/uts/sparc/tavor/Makefile22
-rw-r--r--usr/src/uts/sparc/tclient/Makefile13
-rw-r--r--usr/src/uts/sparc/tcp/Makefile11
-rw-r--r--usr/src/uts/sparc/tcp6/Makefile13
-rw-r--r--usr/src/uts/sparc/telmod/Makefile21
-rw-r--r--usr/src/uts/sparc/timerfd/Makefile8
-rw-r--r--usr/src/uts/sparc/timod/Makefile22
-rw-r--r--usr/src/uts/sparc/tirdwr/Makefile21
-rw-r--r--usr/src/uts/sparc/tl/Makefile22
-rw-r--r--usr/src/uts/sparc/tlimod/Makefile11
-rw-r--r--usr/src/uts/sparc/tmpfs/Makefile14
-rw-r--r--usr/src/uts/sparc/tnf/Makefile14
-rw-r--r--usr/src/uts/sparc/tokenmt/Makefile20
-rw-r--r--usr/src/uts/sparc/tphci/Makefile8
-rw-r--r--usr/src/uts/sparc/trill/Makefile8
-rw-r--r--usr/src/uts/sparc/tswtclmt/Makefile20
-rw-r--r--usr/src/uts/sparc/ttcompat/Makefile19
-rw-r--r--usr/src/uts/sparc/tvhci/Makefile13
-rw-r--r--usr/src/uts/sparc/udfs/Makefile18
-rw-r--r--usr/src/uts/sparc/udp/Makefile11
-rw-r--r--usr/src/uts/sparc/udp6/Makefile13
-rw-r--r--usr/src/uts/sparc/ufm/Makefile8
-rw-r--r--usr/src/uts/sparc/ufmtest/Makefile8
-rw-r--r--usr/src/uts/sparc/ufs/Makefile18
-rw-r--r--usr/src/uts/sparc/ugen/Makefile14
-rw-r--r--usr/src/uts/sparc/uhci/Makefile22
-rw-r--r--usr/src/uts/sparc/usb_ac/Makefile26
-rw-r--r--usr/src/uts/sparc/usb_ah/Makefile21
-rw-r--r--usr/src/uts/sparc/usb_as/Makefile22
-rw-r--r--usr/src/uts/sparc/usb_ia/Makefile11
-rw-r--r--usr/src/uts/sparc/usb_mid/Makefile11
-rw-r--r--usr/src/uts/sparc/usba/Makefile15
-rw-r--r--usr/src/uts/sparc/usba10/Makefile14
-rw-r--r--usr/src/uts/sparc/usbecm/Makefile11
-rw-r--r--usr/src/uts/sparc/usbftdi/Makefile8
-rw-r--r--usr/src/uts/sparc/usbkbm/Makefile20
-rw-r--r--usr/src/uts/sparc/usbms/Makefile24
-rw-r--r--usr/src/uts/sparc/usbprn/Makefile11
-rw-r--r--usr/src/uts/sparc/usbs49_fw/Makefile14
-rw-r--r--usr/src/uts/sparc/usbsacm/Makefile19
-rw-r--r--usr/src/uts/sparc/usbser/Makefile20
-rw-r--r--usr/src/uts/sparc/usbskel/Makefile11
-rw-r--r--usr/src/uts/sparc/usbsksp/Makefile17
-rw-r--r--usr/src/uts/sparc/usbsprl/Makefile15
-rw-r--r--usr/src/uts/sparc/usbvc/Makefile23
-rw-r--r--usr/src/uts/sparc/usbwcm/Makefile24
-rw-r--r--usr/src/uts/sparc/v9/Makefile.files10
-rw-r--r--usr/src/uts/sparc/v9/Makefile.rules21
-rw-r--r--usr/src/uts/sparc/vnic/Makefile8
-rw-r--r--usr/src/uts/sparc/vr/Makefile8
-rw-r--r--usr/src/uts/sparc/vscan/Makefile10
-rw-r--r--usr/src/uts/sparc/vuid3ps2/Makefile8
-rw-r--r--usr/src/uts/sparc/wc/Makefile18
-rw-r--r--usr/src/uts/sparc/winlock/Makefile21
-rw-r--r--usr/src/uts/sparc/xge/Makefile22
-rw-r--r--usr/src/uts/sparc/yge/Makefile14
-rw-r--r--usr/src/uts/sparc/zcons/Makefile12
-rw-r--r--usr/src/uts/sparc/zfs/Makefile19
-rw-r--r--usr/src/uts/sparc/zut/Makefile13
401 files changed, 814 insertions, 5588 deletions
diff --git a/usr/src/uts/sparc/FSS/Makefile b/usr/src/uts/sparc/FSS/Makefile
index 095998c3f9..4164d60258 100644
--- a/usr/src/uts/sparc/FSS/Makefile
+++ b/usr/src/uts/sparc/FSS/Makefile
@@ -42,7 +42,6 @@ UTSBASE = ../..
#
MODULE = FSS
OBJECTS = $(FSS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(FSS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_SCHED_DIR)/$(MODULE)
#
@@ -54,7 +53,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -63,11 +61,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
CERRWARN += $(CNOWARN_UNINIT)
@@ -84,12 +81,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/FX/Makefile b/usr/src/uts/sparc/FX/Makefile
index 9f772dbcfd..7492adac4a 100644
--- a/usr/src/uts/sparc/FX/Makefile
+++ b/usr/src/uts/sparc/FX/Makefile
@@ -22,9 +22,7 @@
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# uts/sparc/FX/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the FX scheduling class
# kernel module.
@@ -42,7 +40,6 @@ UTSBASE = ../..
#
MODULE = FX
OBJECTS = $(FX_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(FX_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_SCHED_DIR)/$(MODULE)
@@ -55,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -64,13 +60,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -83,12 +72,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/FX_DPTBL/Makefile b/usr/src/uts/sparc/FX_DPTBL/Makefile
index 11f6aa46bb..0912697778 100644
--- a/usr/src/uts/sparc/FX_DPTBL/Makefile
+++ b/usr/src/uts/sparc/FX_DPTBL/Makefile
@@ -23,9 +23,7 @@
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# uts/sparc/FX_DPTL/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the FX_DPTBL dispatch table
# kernel module.
@@ -43,7 +41,6 @@ UTSBASE = ../..
#
MODULE = FX_DPTBL
OBJECTS = $(FX_DPTBL_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(FX_DPTBL_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_SCHED_DIR)/$(MODULE)
#
@@ -55,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -65,9 +61,6 @@ MODSTUBS_DIR = $(OBJS_DIR)
$(MODSTUBS_O) := AS_CPPFLAGS += -DFX_DPTBL_MODULE
CLEANFILES += $(MODSTUBS_O)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
@@ -83,12 +76,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/IA/Makefile b/usr/src/uts/sparc/IA/Makefile
index c9fb876947..208acb107f 100644
--- a/usr/src/uts/sparc/IA/Makefile
+++ b/usr/src/uts/sparc/IA/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = IA
OBJECTS = $(IA_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(IA_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_SCHED_DIR)/$(MODULE)
#
@@ -53,12 +52,8 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
@@ -79,12 +74,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/Makefile b/usr/src/uts/sparc/Makefile
index 4bbdc7cf57..6fe0be4ce9 100644
--- a/usr/src/uts/sparc/Makefile
+++ b/usr/src/uts/sparc/Makefile
@@ -33,13 +33,6 @@ UTSBASE = ..
include Makefile.sparc
-LINT_KMODS_X1 = $(LINT_KMODS:nsmb=)
-LINT_KMODS_X2 = $(LINT_KMODS_X1:smbfs=)
-LINT_KMODLIBS = $(LINT_KMODS_X2:e1000g=)
-LINT_LIBS = $(LINT_LIB) $(GEN_LINT_LIB) \
- $(LINT_KMODLIBS:%=$(LINT_LIB_DIR)/llib-l%.ln) \
- $(LINT_XMODLIBS:%=$(LINT_LIB_DIR)/llib-l%.ln)
-
DRV_KMODS += dprov
def := TARGET= def
@@ -47,22 +40,17 @@ all := TARGET= all
install := TARGET= install
clean := TARGET= clean
clobber := TARGET= clobber
-lint := TARGET= lint
-modlintlib := TARGET= modlintlib
modlist := TARGET= modlist
modlist := NO_STATE= -K $$MODSTATE$$$$
-clean.lint := TARGET= clean.lint
check := TARGET= check
install_h := TARGET= install_h
.KEEP_STATE:
-.PARALLEL: $(PARALLEL_KMODS) $(XMODS) config $(LINT_DEPS)
+.PARALLEL: $(PARALLEL_KMODS) $(XMODS) config
def all install clean clobber modlist: $(KMODS) $(XMODS) config
-modlintlib clean.lint: $(LINT_KMODS) $(XMODS)
-
$(KMODS) config: FRC
@cd $@; pwd; $(MAKE) $(NO_STATE) $(TARGET)
@@ -79,15 +67,4 @@ install_h check: FRC
@cd v7/sys; pwd; $(MAKE) $(TARGET)
@cd v9/sys; pwd; $(MAKE) $(TARGET)
-#
-# Full kernel lint target.
-#
-LINT_TARGET = globallint
-
-globallint:
- @-$(ECHO) "\nFULL KERNEL: global crosschecks:"
- @-$(LINT) $(LINTFLAGS) $(LINT_LIBS) 2>&1 | $(LGREP.2)
-
-lint: modlintlib .WAIT $(LINT_DEPS)
-
include ../Makefile.targ
diff --git a/usr/src/uts/sparc/Makefile.files b/usr/src/uts/sparc/Makefile.files
index d81abd33fd..bb662117a5 100644
--- a/usr/src/uts/sparc/Makefile.files
+++ b/usr/src/uts/sparc/Makefile.files
@@ -23,7 +23,7 @@
# Use is subject to license terms.
#
# This Makefile defines all file modules and build rules for the
-# directory uts/sparc and it's children. These are the source files which
+# directory uts/sparc and its children. These are the source files which
# are specific to the sparc processor.
#
@@ -109,16 +109,12 @@ SDT_OBJS += sdt.o
#
# Build up paths and defines.
#
-LINT_DEFS += -Dsparc
INC_PATH += -I$(UTSBASE)/sparc
INC_PATH += -I$(UTSBASE)/sparc/krtld
#
# Since assym.h is a derived file, the dependency must be explicit for
-# all files including this file. (This is only actually required in the
-# instance when the .nse_depinfo file does not exist.) It may seem that
-# the lint targets should also have a similar dependency, but they don't
-# since only C headers are included when #defined(lint) is true.
+# all files including this file.
#
ASSYM_DEPS += sparc_ddi.o
diff --git a/usr/src/uts/sparc/Makefile.rules b/usr/src/uts/sparc/Makefile.rules
index c9c1a50d23..001b100f88 100644
--- a/usr/src/uts/sparc/Makefile.rules
+++ b/usr/src/uts/sparc/Makefile.rules
@@ -92,49 +92,3 @@ $(OBJS_DIR)/%.o: $(UTSBASE)/sparc/os/%.c
$(OBJS_DIR)/%.o: $(UTSBASE)/sparc/syscall/%.c
$(COMPILE.c) -o $@ $<
$(CTFCONVERT_O)
-
-#
-# Section 1b: Lint `object' build rules.
-#
-$(LINTS_DIR)/%.ln: $(UTSBASE)/sparc/dtrace/%.c
- @($(LHEAD) $(LINT.c) $< $(LTAIL))
-
-$(LINTS_DIR)/%.ln: $(UTSBASE)/sparc/dtrace/%.s
- @($(LHEAD) $(LINT.s) $< $(LTAIL))
-
-$(LINTS_DIR)/%.ln: $(UTSBASE)/sparc/io/%.c
- @($(LHEAD) $(LINT.c) $< $(LTAIL))
-
-$(LINTS_DIR)/%.ln: $(UTSBASE)/sparc/io/pciex/%.c
- @($(LHEAD) $(LINT.c) $< $(LTAIL))
-
-$(LINTS_DIR)/%.ln: $(UTSBASE)/sparc/fpu/%.c
- @($(LHEAD) $(LINT.c) $< $(LTAIL))
-
-$(LINTS_DIR)/%.ln: $(UTSBASE)/sparc/zfs/%.c
- @($(LHEAD) $(LINT.c) $< $(LTAIL))
-
-$(LINTS_DIR)/%.ln: $(UTSBASE)/sparc/fs/proc/%.c
- @($(LHEAD) $(LINT.c) $< $(LTAIL))
-
-$(LINTS_DIR)/%.ln: $(UTSBASE)/sparc/krtld/%.c
- @($(LHEAD) $(LINT.c) $< $(LTAIL))
-
-$(OBJS_DIR)/kobj_bootflags.ln := CPPFLAGS += -I$(SRC)/common
-$(OBJS_DIR)/kobj.ln := CPPFLAGS += -DMODDIR_SUFFIX=\"sparcv9\"
-$(OBJS_DIR)/kobj.ln := CPPFLAGS += -D_RELSEG
-
-$(LINTS_DIR)/%.ln: $(UTSBASE)/sparc/krtld/%.s
- @($(LHEAD) $(LINT.s) $< $(LTAIL))
-
-$(LINTS_DIR)/%.ln: $(UTSBASE)/sparc/ml/%.s
- @($(LHEAD) $(LINT.s) $< $(LTAIL))
-
-$(LINTS_DIR)/%.ln: $(UTSBASE)/sparc/nskern/%.s
- @($(LHEAD) $(LINT.s) $< $(LTAIL))
-
-$(LINTS_DIR)/%.ln: $(UTSBASE)/sparc/os/%.c
- @($(LHEAD) $(LINT.c) $< $(LTAIL))
-
-$(LINTS_DIR)/%.ln: $(UTSBASE)/sparc/syscall/%.c
- @($(LHEAD) $(LINT.c) $< $(LTAIL))
diff --git a/usr/src/uts/sparc/Makefile.sparc b/usr/src/uts/sparc/Makefile.sparc
index 18244edf44..879d6dc1d9 100644
--- a/usr/src/uts/sparc/Makefile.sparc
+++ b/usr/src/uts/sparc/Makefile.sparc
@@ -54,27 +54,10 @@ GENLIB_DIR = $(UTSBASE)/sun4u/genunix
IPDRV_DIR = $(UTSBASE)/sparc/ip
MODSTUBS_DIR = $(UNIX_DIR)
DSF_DIR = $(UNIX_DIR)
-LINTS_DIR = $(OBJS_DIR)
-LINT_LIB_DIR = $(UTSBASE)/sparc/lint-libs/$(OBJS_DIR)
UNIX_O = $(UNIX_DIR)/$(OBJS_DIR)/unix.o
MODSTUBS_O = $(MODSTUBS_DIR)/$(OBJS_DIR)/modstubs.o
-GENLIB = $(UTSBASE)/sun4u/lint-libs/$(OBJS_DIR)/libgenunix.so
-
-LINT_LIB_32 = $(UTSBASE)/sun4u/lint-libs/$(OBJS_DIR)/llib-lunix.ln
-GEN_LINT_LIB_32 = $(UTSBASE)/sun4u/lint-libs/$(OBJS_DIR)/llib-lgenunix.ln
-
-LINT_LIB_64 = $(UTSBASE)/sun4u/lint-libs/$(OBJS_DIR)/llib-lunix.ln
-GEN_LINT_LIB_64 = $(UTSBASE)/sun4u/lint-libs/$(OBJS_DIR)/llib-lgenunix.ln
-
-LINT_LIB = $(LINT_LIB_$(CLASS))
-GEN_LINT_LIB = $(GEN_LINT_LIB_$(CLASS))
-
-LINT32_DIRS = $(LINT32_BUILDS:%=$(UTSBASE)/sparc/lint-libs/%)
-LINT32_FILES = $(LINT32_DIRS:%=%/llib-l$(MODULE).ln)
-
-LINT64_DIRS = $(LINT64_BUILDS:%=$(UTSBASE)/sparc/lint-libs/%)
-LINT64_FILES = $(LINT64_DIRS:%=%/llib-l$(MODULE).ln)
+GENLIB = $(GENLIB_DIR)/$(OBJS_DIR)/libgenunix.so
#
# Include the makefiles which define build rule templates, the
@@ -154,9 +137,6 @@ CFLAGS += $(CUSERFLAGS)
ASFLAGS += $(XARCH)
-LINT_DEFS_32 =
-LINT_DEFS_64 = -m64
-LINT_DEFS += $(LINT_DEFS_$(CLASS))
#
# The following must be defined for all implementations:
@@ -525,14 +505,6 @@ SOCKET_KMODS += ksslf
KICONV_KMODS += kiconv_emea kiconv_ja kiconv_ko kiconv_sc kiconv_tc
#
-# Ensure that the variable member of the cpu_t (cpu_m) is defined
-# for the lint builds so as not to cause lint errors during the
-# global cross check.
-#
-$(LINTFLAGSUPPRESS)LINTFLAGS += -D_MACHDEP -I$(UTSBASE)/sun4 \
- -I$(UTSBASE)/sun4u -I$(UTSBASE)/sfmmu
-
-#
# Sensor related drivers
#
DRV_KMODS += ksensor ksensor_test
diff --git a/usr/src/uts/sparc/RT/Makefile b/usr/src/uts/sparc/RT/Makefile
index 986d5d80a9..16f90ce565 100644
--- a/usr/src/uts/sparc/RT/Makefile
+++ b/usr/src/uts/sparc/RT/Makefile
@@ -19,11 +19,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/RT/Makefile
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the RT scheduling class
# kernel module.
@@ -41,7 +40,6 @@ UTSBASE = ../..
#
MODULE = RT
OBJECTS = $(RT_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(RT_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_SCHED_DIR)/$(MODULE)
#
@@ -53,22 +51,11 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -81,12 +68,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/RT_DPTBL/Makefile b/usr/src/uts/sparc/RT_DPTBL/Makefile
index 98e2a86fee..b50bdc48b8 100644
--- a/usr/src/uts/sparc/RT_DPTBL/Makefile
+++ b/usr/src/uts/sparc/RT_DPTBL/Makefile
@@ -20,11 +20,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/RT_DPTBL/Makefile
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the RT_DPTBL driver kernel module.
#
@@ -41,7 +40,6 @@ UTSBASE = ../..
#
MODULE = RT_DPTBL
OBJECTS = $(RT_DPTBL_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(RT_DPTBL_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_SCHED_DIR)/$(MODULE)
#
@@ -53,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -63,9 +60,6 @@ MODSTUBS_DIR = $(OBJS_DIR)
$(MODSTUBS_O) := AS_CPPFLAGS += -DRT_DPTBL_MODULE
CLEANFILES += $(MODSTUBS_O)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
@@ -81,12 +75,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/SDC/Makefile b/usr/src/uts/sparc/SDC/Makefile
index 9b2b0ce42f..adff46d387 100644
--- a/usr/src/uts/sparc/SDC/Makefile
+++ b/usr/src/uts/sparc/SDC/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = SDC
OBJECTS = $(SDC_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SDC_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_SCHED_DIR)/$(MODULE)
#
@@ -52,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -73,12 +71,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/TS/Makefile b/usr/src/uts/sparc/TS/Makefile
index 16b84f89dd..4c66b20ac4 100644
--- a/usr/src/uts/sparc/TS/Makefile
+++ b/usr/src/uts/sparc/TS/Makefile
@@ -19,11 +19,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/TS/Makefile
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the TS scheduling class
# kernel module.
@@ -41,7 +40,6 @@ UTSBASE = ../..
#
MODULE = TS
OBJECTS = $(TS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(TS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_SCHED_DIR)/$(MODULE)
#
@@ -53,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -62,13 +59,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -81,12 +71,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/TS_DPTBL/Makefile b/usr/src/uts/sparc/TS_DPTBL/Makefile
index 2a59ec5d75..a83a7ee117 100644
--- a/usr/src/uts/sparc/TS_DPTBL/Makefile
+++ b/usr/src/uts/sparc/TS_DPTBL/Makefile
@@ -20,11 +20,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/TS_DPTBL/Makefile
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the TS_DPTBL dispatch table
# kernel module.
@@ -42,7 +41,6 @@ UTSBASE = ../..
#
MODULE = TS_DPTBL
OBJECTS = $(TS_DPTBL_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(TS_DPTBL_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_SCHED_DIR)/$(MODULE)
#
@@ -54,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -64,9 +61,6 @@ MODSTUBS_DIR = $(OBJS_DIR)
$(MODSTUBS_O) := AS_CPPFLAGS += -DTS_DPTBL_MODULE
CLEANFILES += $(MODSTUBS_O)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
@@ -82,12 +76,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/aac/Makefile b/usr/src/uts/sparc/aac/Makefile
index a9b097d1f3..b4724b9808 100644
--- a/usr/src/uts/sparc/aac/Makefile
+++ b/usr/src/uts/sparc/aac/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = aac
OBJECTS = $(AAC_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(AAC_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/aac
@@ -53,23 +52,19 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(CONFMOD)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
-# Kernel Module Dependencies
+# Kernel Module Dependencies
#
LDFLAGS += -dy -Nmisc/scsi
#
-# Overrides
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-value
@@ -89,12 +84,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ac97/Makefile b/usr/src/uts/sparc/ac97/Makefile
index 1abee91426..d457893cdb 100644
--- a/usr/src/uts/sparc/ac97/Makefile
+++ b/usr/src/uts/sparc/ac97/Makefile
@@ -37,7 +37,6 @@ UTSBASE = ../..
#
MODULE = ac97
OBJECTS = $(AC97_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(AC97_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -49,7 +48,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
LDFLAGS += -dy -Ndrv/audio
@@ -67,12 +65,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/acctctl/Makefile b/usr/src/uts/sparc/acctctl/Makefile
index 55bec80b11..e1c1446865 100644
--- a/usr/src/uts/sparc/acctctl/Makefile
+++ b/usr/src/uts/sparc/acctctl/Makefile
@@ -23,9 +23,7 @@
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# uts/sparc/acctctl/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the acctctl system call module.
# sparc architecture dependent
@@ -41,7 +39,6 @@ UTSBASE = ../..
#
MODULE = acctctl
OBJECTS = $(ACCTCTL_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(ACCTCTL_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_SYS_DIR)/$(MODULE)
#
@@ -53,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CFLAGS += $(CCVERBOSE)
@@ -70,12 +66,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/aes/Makefile b/usr/src/uts/sparc/aes/Makefile
index eae7c2dce7..72349060f3 100644
--- a/usr/src/uts/sparc/aes/Makefile
+++ b/usr/src/uts/sparc/aes/Makefile
@@ -39,7 +39,6 @@ COM_DIR = $(COMMONBASE)/crypto
#
MODULE = aes
OBJECTS = $(AESPROV_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(AESPROV_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE)
#
@@ -51,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -59,12 +57,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
LDFLAGS += -dy -Nmisc/kcf
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE) -I$(COM_DIR)
+CFLAGS += $(CCVERBOSE)
+
+CFLAGS += -I$(COM_DIR)
CPPFLAGS += -DCRYPTO_PROVIDER_NAME=\"$(MODULE)\"
-LINTFLAGS += -I$(COM_DIR)
#
# Default build targets.
@@ -79,12 +75,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/afe/Makefile b/usr/src/uts/sparc/afe/Makefile
index f384c335d6..2fabb8c401 100644
--- a/usr/src/uts/sparc/afe/Makefile
+++ b/usr/src/uts/sparc/afe/Makefile
@@ -36,7 +36,6 @@ UTSBASE = ../..
#
MODULE = afe
OBJECTS = $(AFE_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(AFE_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -48,12 +47,8 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
@@ -74,12 +69,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/aggr/Makefile b/usr/src/uts/sparc/aggr/Makefile
index 06895b3c11..b562dcc6c2 100644
--- a/usr/src/uts/sparc/aggr/Makefile
+++ b/usr/src/uts/sparc/aggr/Makefile
@@ -33,7 +33,6 @@ UTSBASE = ../..
#
MODULE = aggr
OBJECTS = $(AGGR_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(AGGR_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/aggr
@@ -46,22 +45,19 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
# Overrides
#
-CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -Ndrv/dld -Nmisc/mac -Nmisc/dls
+CFLAGS += $(CCVERBOSE)
+LDFLAGS += -dy -Ndrv/dld -Nmisc/mac -Nmisc/dls
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += $(CNOWARN_UNINIT)
@@ -82,12 +78,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/aoutexec/Makefile b/usr/src/uts/sparc/aoutexec/Makefile
index 4c050e4ead..f869d742bd 100644
--- a/usr/src/uts/sparc/aoutexec/Makefile
+++ b/usr/src/uts/sparc/aoutexec/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = aoutexec
OBJECTS = $(AOUTEXEC_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(AOUTEXEC_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_EXEC_DIR)/$(MODULE)
#
@@ -53,11 +52,12 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
-# lint pass one enforcement
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
@@ -80,12 +80,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/arcfour/Makefile b/usr/src/uts/sparc/arcfour/Makefile
index 7bfbdfc7ce..e692c52250 100644
--- a/usr/src/uts/sparc/arcfour/Makefile
+++ b/usr/src/uts/sparc/arcfour/Makefile
@@ -39,7 +39,6 @@ COM_DIR = $(COMMONBASE)/crypto/arcfour
#
MODULE = arcfour
OBJECTS = $(ARCFOURPROV_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(ARCFOURPROV_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE)
#
@@ -51,14 +50,11 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE) -I$(COM_DIR)
-LINTFLAGS += -I$(COM_DIR)
+CFLAGS += $(CCVERBOSE)
+
+CFLAGS += -I$(COM_DIR)
#
# Default build targets.
@@ -73,12 +69,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/audio1575/Makefile b/usr/src/uts/sparc/audio1575/Makefile
index acc5d00f68..987582a24e 100644
--- a/usr/src/uts/sparc/audio1575/Makefile
+++ b/usr/src/uts/sparc/audio1575/Makefile
@@ -37,7 +37,6 @@ UTSBASE = ../..
#
MODULE = audio1575
OBJECTS = $(AUDIO1575_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(AUDIO1575_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -45,23 +44,23 @@ ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
include $(UTSBASE)/sparc/Makefile.sparc
-#
-# Overrides, lint pass one enforcement
-#
+#
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
+#
CFLAGS += $(CCVERBOSE)
+CERRWARN += -_gcc=-Wno-switch
#
# Depends on drv/audio and misc/ac97
#
LDFLAGS += -dy -Ndrv/audio -Nmisc/ac97
-CERRWARN += -_gcc=-Wno-switch
-
#
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -77,18 +76,12 @@ DEF_BUILDS = $(DEF_BUILDSONLY64)
def: $(DEF_DEPS)
-all: $(ALL_DEPS)
+all: $(ALL_DEPS)
clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/audiocs/Makefile b/usr/src/uts/sparc/audiocs/Makefile
index 30f41da658..91597e01eb 100644
--- a/usr/src/uts/sparc/audiocs/Makefile
+++ b/usr/src/uts/sparc/audiocs/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = audiocs
OBJECTS = $(AUDIOCS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(AUDIOCS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -50,7 +49,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -77,12 +75,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/audioens/Makefile b/usr/src/uts/sparc/audioens/Makefile
index ef97517997..2b7d1d2658 100644
--- a/usr/src/uts/sparc/audioens/Makefile
+++ b/usr/src/uts/sparc/audioens/Makefile
@@ -37,7 +37,6 @@ UTSBASE = ../..
#
MODULE = audioens
OBJECTS = $(AUDIOENS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(AUDIOENS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -49,7 +48,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
LDFLAGS += -dy -Ndrv/audio -Nmisc/ac97
@@ -69,12 +67,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/audiols/Makefile b/usr/src/uts/sparc/audiols/Makefile
index fc43d0a255..3984d15085 100644
--- a/usr/src/uts/sparc/audiols/Makefile
+++ b/usr/src/uts/sparc/audiols/Makefile
@@ -37,7 +37,6 @@ UTSBASE = ../..
#
MODULE = audiols
OBJECTS = $(AUDIOLS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(AUDIOLS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -49,7 +48,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
LDFLAGS += -dy -Ndrv/audio -Nmisc/ac97
@@ -69,12 +67,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/audiop16x/Makefile b/usr/src/uts/sparc/audiop16x/Makefile
index 901d7781cf..8ce34f1b00 100644
--- a/usr/src/uts/sparc/audiop16x/Makefile
+++ b/usr/src/uts/sparc/audiop16x/Makefile
@@ -37,7 +37,6 @@ UTSBASE = ../..
#
MODULE = audiop16x
OBJECTS = $(AUDIOP16X_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(AUDIOP16X_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -49,7 +48,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
LDFLAGS += -dy -Ndrv/audio -Nmisc/ac97
@@ -69,12 +67,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/audiopci/Makefile b/usr/src/uts/sparc/audiopci/Makefile
index 53f3ee95a2..b7e20ecf8f 100644
--- a/usr/src/uts/sparc/audiopci/Makefile
+++ b/usr/src/uts/sparc/audiopci/Makefile
@@ -37,7 +37,6 @@ UTSBASE = ../..
#
MODULE = audiopci
OBJECTS = $(AUDIOPCI_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(AUDIOPCI_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -49,7 +48,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
LDFLAGS += -dy -Ndrv/audio
@@ -69,12 +67,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/audiots/Makefile b/usr/src/uts/sparc/audiots/Makefile
index c830c5bfb9..ee51df6a0a 100644
--- a/usr/src/uts/sparc/audiots/Makefile
+++ b/usr/src/uts/sparc/audiots/Makefile
@@ -37,7 +37,6 @@ UTSBASE = ../..
#
MODULE = audiots
OBJECTS = $(AUDIOTS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(AUDIOTS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -45,23 +44,23 @@ ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
include $(UTSBASE)/sparc/Makefile.sparc
-#
-# Overrides, lint pass one enforcement
-#
+#
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
+#
CFLAGS += $(CCVERBOSE)
+CERRWARN += -_gcc=-Wno-parentheses
#
# Depends on misc/ac97 and drv/audio
#
LDFLAGS += -dy -N misc/ac97 -N drv/audio
-CERRWARN += -_gcc=-Wno-parentheses
-
#
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -83,12 +82,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/autofs/Makefile b/usr/src/uts/sparc/autofs/Makefile
index 291808a5d2..4ad6ad44e4 100644
--- a/usr/src/uts/sparc/autofs/Makefile
+++ b/usr/src/uts/sparc/autofs/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = autofs
OBJECTS = $(AUTOFS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(AUTOFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE)
ROOTLINK = $(ROOT_SYS_DIR)/$(MODULE)
@@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK)
#
@@ -67,13 +65,10 @@ CFLAGS += $(CCVERBOSE)
LDFLAGS += -dy -N strmod/rpcmod -N misc/rpcsec -N fs/mntfs
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_STATIC_UNUSED
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-label
@@ -93,12 +88,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_SYS_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/av1394/Makefile b/usr/src/uts/sparc/av1394/Makefile
index b1daba5cae..d06b3264a4 100644
--- a/usr/src/uts/sparc/av1394/Makefile
+++ b/usr/src/uts/sparc/av1394/Makefile
@@ -33,7 +33,6 @@ UTSBASE = ../..
#
MODULE = av1394
OBJECTS = $(AV1394_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(AV1394_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -45,7 +44,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -53,28 +51,16 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
ALL_BUILDS = $(ALL_BUILDSONLY64)
DEF_BUILDS = $(DEF_BUILDSONLY64)
-CLEANLINTFILES += $(LINT32_FILES)
DEBUG_DEFS_DBG32 += -DTNF_DEBUG
DEBUG_DEFS_DBG64 += -DTNF_DEBUG
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-type-limits
@@ -95,12 +81,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS) lint32
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/bge/Makefile b/usr/src/uts/sparc/bge/Makefile
index 0a8b2cabc4..e386453d9c 100644
--- a/usr/src/uts/sparc/bge/Makefile
+++ b/usr/src/uts/sparc/bge/Makefile
@@ -54,11 +54,6 @@ ALL_TARGET = $(BINARY)
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
# Turn on doubleword alignment for 64 bit registers
#
CFLAGS += -dalign
@@ -69,11 +64,11 @@ CFLAGS += -dalign
LDFLAGS += -dy -N misc/mac
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-switch
CERRWARN += -_gcc=-Wno-parentheses
diff --git a/usr/src/uts/sparc/bignum/Makefile b/usr/src/uts/sparc/bignum/Makefile
index 5fec2994f9..50c7da9b07 100644
--- a/usr/src/uts/sparc/bignum/Makefile
+++ b/usr/src/uts/sparc/bignum/Makefile
@@ -19,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
# This makefile drives the production of the misx/bignum module.
@@ -39,7 +39,6 @@ COM1_DIR = $(COMMONBASE)/bignum
#
MODULE = bignum
OBJECTS = $(BIGNUM_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(BIGNUM_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -51,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -59,13 +57,8 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
LDFLAGS += -dy -Nmisc/kcf
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE) -I$(CRYPTODIR) -I$(COM1_DIR)
CFLAGS += -DUMUL64
-LINTFLAGS += -I$(CRYPTODIR) -I$(COM1_DIR)
-
#
# Default build targets.
@@ -80,12 +73,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/bl/Makefile b/usr/src/uts/sparc/bl/Makefile
index 9e19765748..5191e88c98 100644
--- a/usr/src/uts/sparc/bl/Makefile
+++ b/usr/src/uts/sparc/bl/Makefile
@@ -23,8 +23,6 @@
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
-#
UTSBASE = ../..
@@ -33,7 +31,6 @@ UTSBASE = ../..
#
MODULE = bl
OBJECTS = $(BL_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(BL_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -46,13 +43,9 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
-#
-# lint pass one enforcement
-#
-CFLAGS += -v
+CFLAGS += $(CCVERBOSE)
#
# Default build targets.
@@ -67,12 +60,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/blkdev/Makefile b/usr/src/uts/sparc/blkdev/Makefile
index f0ff1bcbdc..684315413f 100644
--- a/usr/src/uts/sparc/blkdev/Makefile
+++ b/usr/src/uts/sparc/blkdev/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = blkdev
OBJECTS = $(BLKDEV_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(BLKDEV_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -50,7 +49,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets.
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -71,12 +69,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/blowfish/Makefile b/usr/src/uts/sparc/blowfish/Makefile
index 16cf0e6148..ce1c4df349 100644
--- a/usr/src/uts/sparc/blowfish/Makefile
+++ b/usr/src/uts/sparc/blowfish/Makefile
@@ -40,7 +40,6 @@ COM_DIR = $(COMMONBASE)/crypto
#
MODULE = blowfish
OBJECTS = $(BLOWFISHPROV_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(BLOWFISHPROV_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE)
#
@@ -52,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -60,22 +58,15 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
LDFLAGS += -dy -Nmisc/kcf
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE) -I$(COM_DIR)
+CFLAGS += -I$(COM_DIR)
CPPFLAGS += -DCRYPTO_PROVIDER_NAME=\"$(MODULE)\"
-LINTFLAGS += -I$(COM_DIR)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-parentheses
@@ -92,12 +83,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/bnxe/Makefile b/usr/src/uts/sparc/bnxe/Makefile
index bba862b1e7..3071f4c145 100644
--- a/usr/src/uts/sparc/bnxe/Makefile
+++ b/usr/src/uts/sparc/bnxe/Makefile
@@ -32,7 +32,6 @@ UTSBASE = ../..
#
MODULE = bnxe
OBJECTS = $(BNXE_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(LINTS_DIR)/bnxe_lint.ln
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
SRCDIR = $(UTSBASE)/common/io/bnxe
CONF_SRCDIR = $(SRCDIR)
@@ -46,13 +45,12 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(CONFMOD)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
C99LMODE= -Xc99=%all
#
-# Driver-specific flags
+# Driver-specific flags
# XXX inline bits were originally set to inline
#
CPPFLAGS += -DLM_RXPKT_NON_CONTIGUOUS \
@@ -98,22 +96,6 @@ CERRWARN += -_cc=-erroff=E_INTEGER_OVERFLOW_DETECTED
CERRWARN += -_cc=-erroff=E_CONST_PROMOTED_UNSIGNED_LL
CERRWARN += -_cc=-erroff=E_ENUM_VAL_OVERFLOWS_INT_MAX
-LINTTAGS += -erroff=E_FUNC_RET_ALWAYS_IGNOR2
-LINTTAGS += -erroff=E_FUNC_RET_MAYBE_IGNORED2
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_FUNC_SET_NOT_USED
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_CONSTANT_CONDITION
-LINTTAGS += -erroff=E_NOP_ELSE_STMT
-LINTTAGS += -erroff=E_NOP_IF_STMT
-LINTTAGS += -erroff=E_FUNC_ARG_UNUSED
-LINTTAGS += -erroff=E_FUNC_VAR_UNUSED
-LINTTAGS += -erroff=E_EXPR_NULL_EFFECT
-LINTTAGS += -erroff=E_STMT_NOT_REACHED
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_CASE_FALLTHRU
-LINTTAGS += -erroff=E_CONST_EXPR
#
# Default build targets.
@@ -128,12 +110,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/bofi/Makefile b/usr/src/uts/sparc/bofi/Makefile
index 4e5662616a..0ce800067f 100644
--- a/usr/src/uts/sparc/bofi/Makefile
+++ b/usr/src/uts/sparc/bofi/Makefile
@@ -25,7 +25,7 @@
#
#
-# This makefile drives the production of the bofi driver
+# This makefile drives the production of the bofi driver
# kernel module.
#
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = bofi
OBJECTS = $(BOFI_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(BOFI_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -57,7 +56,6 @@ FILEMODE = 644
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -67,22 +65,14 @@ MODSTUBS_DIR = $(OBJS_DIR)
$(MODSTUBS_O) := AS_CPPFLAGS += -DBOFI_MODULE
CLEANFILES += $(MODSTUBS_O)
-#
-# lint pass one enforcement
-#
-LINTFLAGS += -I../../sun4
-CFLAGS += $(CCVERBOSE) -I../../sun4
+CFLAGS += -I../../sun4
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
#
@@ -98,12 +88,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/bootfs/Makefile b/usr/src/uts/sparc/bootfs/Makefile
index f717c850c5..b3bd51d795 100644
--- a/usr/src/uts/sparc/bootfs/Makefile
+++ b/usr/src/uts/sparc/bootfs/Makefile
@@ -30,7 +30,6 @@ UTSBASE = ../..
#
MODULE = bootfs
OBJECTS = $(BOOTFS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(BOOTFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE)
#
@@ -42,7 +41,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -58,12 +56,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/bpf/Makefile b/usr/src/uts/sparc/bpf/Makefile
index c1dda2a861..91ba7a74a5 100644
--- a/usr/src/uts/sparc/bpf/Makefile
+++ b/usr/src/uts/sparc/bpf/Makefile
@@ -25,7 +25,7 @@
# uts/sparc/bpf/Makefile
#
#
-# This makefile drives the production of the bpf driver
+# This makefile drives the production of the bpf driver
# kernel module.
#
# sparc architecture dependent
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = bpf
OBJECTS = $(BPF_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(BPF_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/bpf
@@ -54,7 +53,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -64,11 +62,10 @@ LDFLAGS += -dy -Nmisc/mac -Nmisc/dls -Ndrv/ipnet -Nmisc/neti
INC_PATH += -I$(UTSBASE)/common/io/bpf
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -erroff=E_BAD_PTR_CAST_ALIGN
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += $(CNOWARN_UNINIT)
@@ -86,12 +83,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/bridge/Makefile b/usr/src/uts/sparc/bridge/Makefile
index 0dc192e56d..b318377e7a 100644
--- a/usr/src/uts/sparc/bridge/Makefile
+++ b/usr/src/uts/sparc/bridge/Makefile
@@ -36,7 +36,6 @@ UTSBASE = ../..
#
MODULE = bridge
OBJECTS = $(BRIDGE_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(BRIDGE_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -49,14 +48,14 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
-# lint pass one enforcement
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
CFLAGS += $(CCVERBOSE)
-
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-switch
CERRWARN += -_gcc=-Wno-parentheses
@@ -79,12 +78,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/bufmod/Makefile b/usr/src/uts/sparc/bufmod/Makefile
index 0d64cbd3ae..3f32518b01 100644
--- a/usr/src/uts/sparc/bufmod/Makefile
+++ b/usr/src/uts/sparc/bufmod/Makefile
@@ -19,11 +19,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/bufmod/Makefile
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the streams buffer module.
#
@@ -40,7 +39,6 @@ UTSBASE = ../..
#
MODULE = bufmod
OBJECTS = $(BUFMOD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(BUFMOD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE)
#
@@ -52,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -61,15 +58,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -82,12 +70,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/busra/Makefile b/usr/src/uts/sparc/busra/Makefile
index 36e3cbfd21..abbacf0dcf 100644
--- a/usr/src/uts/sparc/busra/Makefile
+++ b/usr/src/uts/sparc/busra/Makefile
@@ -42,7 +42,6 @@ UTSBASE = ../..
#
MODULE = busra
OBJECTS = $(BUSRA_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(BUSRA_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -57,7 +56,6 @@ CERRWARN += $(CNOWARN_UNINIT)
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -66,7 +64,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CFLAGS += $(CCVERBOSE)
DEF_BUILDS = $(DEF_BUILDS64)
ALL_BUILDS = $(ALL_BUILDS64)
-CLEANLINTFILES += $(LINT64_FILES)
#
# Default build targets.
@@ -81,12 +78,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS) lint64
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/c2audit/Makefile b/usr/src/uts/sparc/c2audit/Makefile
index 1453514a90..ec8d8aff32 100644
--- a/usr/src/uts/sparc/c2audit/Makefile
+++ b/usr/src/uts/sparc/c2audit/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = c2audit
OBJECTS = $(C2AUDIT_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(C2AUDIT_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_SYS_DIR)/$(MODULE)
#
@@ -52,29 +51,19 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
# Define dependency on sockfs
#
LDFLAGS += -dy -N fs/sockfs
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-clobbered
CERRWARN += $(CNOWARN_UNINIT)
@@ -92,12 +81,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/cardbus/Makefile b/usr/src/uts/sparc/cardbus/Makefile
index c72edb640f..2e78a5f6ba 100644
--- a/usr/src/uts/sparc/cardbus/Makefile
+++ b/usr/src/uts/sparc/cardbus/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = cardbus
OBJECTS = $(CARDBUS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(CARDBUS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -53,11 +52,10 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# Include sun4u specific header files
+#
+# Include sun4u specific header files
#
INC_PATH += -I$(UTSBASE)/sun4u -I$(UTSBASE)/sun4
@@ -66,33 +64,28 @@ INC_PATH += -I$(UTSBASE)/sun4u -I$(UTSBASE)/sun4
#
DEF_BUILDS = $(DEF_BUILDS64)
ALL_BUILDS = $(ALL_BUILDS64)
-CLEANLINTFILES += $(LINT64_FILES)
-
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
CPPFLAGS += -DHOTPLUG
# dependency
LDFLAGS += -dy -Nmisc/busra -Nmisc/pcmcia -Nmisc/hpcsvc
+#
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
+#
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-function
CERRWARN += -_gcc=-Wno-unused-variable
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
#
# Default build targets.
@@ -107,12 +100,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS) lint64
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
# Include common targets.
diff --git a/usr/src/uts/sparc/cc/Makefile b/usr/src/uts/sparc/cc/Makefile
index 928a085458..b643fe4eb5 100644
--- a/usr/src/uts/sparc/cc/Makefile
+++ b/usr/src/uts/sparc/cc/Makefile
@@ -21,7 +21,6 @@ UTSBASE = ../..
#
MODULE = cc
OBJECTS = $(CC_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(CC_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -33,7 +32,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -55,12 +53,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/cc_cubic/Makefile b/usr/src/uts/sparc/cc_cubic/Makefile
index ae7926a614..6a3b36936c 100644
--- a/usr/src/uts/sparc/cc_cubic/Makefile
+++ b/usr/src/uts/sparc/cc_cubic/Makefile
@@ -25,7 +25,6 @@ UTSBASE = ../..
#
MODULE = cc_cubic
OBJECTS = $(CC_CUBIC_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(CC_CUBIC_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_CC_DIR)/$(MODULE)
#
@@ -37,7 +36,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -59,12 +57,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/cc_newreno/Makefile b/usr/src/uts/sparc/cc_newreno/Makefile
index 6159e48c72..baf51f4e09 100644
--- a/usr/src/uts/sparc/cc_newreno/Makefile
+++ b/usr/src/uts/sparc/cc_newreno/Makefile
@@ -25,7 +25,6 @@ UTSBASE = ../..
#
MODULE = cc_newreno
OBJECTS = $(CC_NEWRENO_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(CC_NEWRENO_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_CC_DIR)/$(MODULE)
#
@@ -37,7 +36,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -59,12 +57,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/cc_sunreno/Makefile b/usr/src/uts/sparc/cc_sunreno/Makefile
index 912019834f..df89f57373 100644
--- a/usr/src/uts/sparc/cc_sunreno/Makefile
+++ b/usr/src/uts/sparc/cc_sunreno/Makefile
@@ -25,7 +25,6 @@ UTSBASE = ../..
#
MODULE = cc_sunreno
OBJECTS = $(CC_SUNRENO_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(CC_SUNRENO_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_CC_DIR)/$(MODULE)
#
@@ -37,7 +36,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -59,12 +57,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/chxge/Makefile b/usr/src/uts/sparc/chxge/Makefile
index da43a14bee..63c52375a2 100644
--- a/usr/src/uts/sparc/chxge/Makefile
+++ b/usr/src/uts/sparc/chxge/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = chxge
OBJECTS = $(CH_OBJS:%=$(OBJS_DIR)/%) $(CH_COM_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(CH_OBJS:%.o=$(LINTS_DIR)/%.ln) $(CH_COM_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -51,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CFLAGS += -DC99_NOT_SUPPORTED -DCONFIG_CHELSIO_T1_1G \
@@ -74,31 +72,11 @@ CFLAGS += -DSUN_KSTATS -DHOST_PAUSE -DTX_CKSUM_FIX -DTX_THREAD_RECLAIM
#
LDFLAGS += -dy -N misc/gld -N drv/ip -N misc/mac
-# Lint flag
#
-LINTFLAGS += -DC99_NOT_SUPPORTED -DCONFIG_CHELSIO_T1_1G \
- -I$(UTSBASE)/common/io/chxge/ \
- -I$(UTSBASE)/common/io/chxge/com
-
-LINTFLAGS += -DCONFIG_SMP
-
-LINTFLAGS += -DRX_MAX_COUNT=256
-
-LINTFLAGS += -DCONFIG_CHELSIO_T1_OFFLOAD
-
-LINTFLAGS += -DSUN_KSTATS -DHOST_PAUSE -DTX_CKSUM_FIX -DTX_THREAD_RECLAIM
-
-LINTFLAGS += -Xc99=%all
-
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_STATIC_UNUSED
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += -_gcc=-Wno-unused-function
@@ -119,12 +97,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/clone/Makefile b/usr/src/uts/sparc/clone/Makefile
index f508a10cfe..cb82ee68d7 100644
--- a/usr/src/uts/sparc/clone/Makefile
+++ b/usr/src/uts/sparc/clone/Makefile
@@ -24,7 +24,7 @@
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the clone driver
#
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = clone
OBJECTS = $(CLONE_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(CLONE_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -54,7 +53,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -75,12 +73,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/cmlb/Makefile b/usr/src/uts/sparc/cmlb/Makefile
index 193a612279..1920742984 100644
--- a/usr/src/uts/sparc/cmlb/Makefile
+++ b/usr/src/uts/sparc/cmlb/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = cmlb
OBJECTS = $(CMLB_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(CMLB_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -50,7 +49,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -64,14 +62,10 @@ DEBUG_DEFS += $(DEBUG_FLGS)
CPPFLAGS += -D_EXTVTOC
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += -_gcc=-Wno-type-limits
@@ -92,12 +86,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/cn/Makefile b/usr/src/uts/sparc/cn/Makefile
index 07a52fb497..e461922188 100644
--- a/usr/src/uts/sparc/cn/Makefile
+++ b/usr/src/uts/sparc/cn/Makefile
@@ -20,13 +20,12 @@
# CDDL HEADER END
#
#
-# uts/sparc/cn/Makefile
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
-# This makefile drives the production of the cn driver
+# This makefile drives the production of the cn driver
# kernel module.
#
# sparc architecture dependent
@@ -42,7 +41,6 @@ UTSBASE = ../..
#
MODULE = cn
OBJECTS = $(CN_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(CN_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -55,7 +53,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -76,12 +73,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/config/Makefile b/usr/src/uts/sparc/config/Makefile
index 3dea9d543f..f800674c1f 100644
--- a/usr/src/uts/sparc/config/Makefile
+++ b/usr/src/uts/sparc/config/Makefile
@@ -80,13 +80,12 @@ $(ROOTETCSEC)/%: $(SRCDIR)/%
$(SRCDIR)/priv_names: $(PRIVS_DEF) $(PRIVS_AWK)
$(AWK) -f $(PRIVS_AWK) < $(PRIVS_DEF) -v pnamesfile=$@
-clean lint:
+clean:
clobber: clobber.targ
-#
-# No lints, so keep the clobber and clean targets reasonable.
-#
-CLEANLINTFILES = Nothing_to_remove
+#
+# Keep the clobber and clean targets reasonable.
+#
CLEANFILES = Nothing_to_remove
CLOBBERFILES = $(SRCDIR)/priv_names
diff --git a/usr/src/uts/sparc/connld/Makefile b/usr/src/uts/sparc/connld/Makefile
index ec09202e22..1be56b5923 100644
--- a/usr/src/uts/sparc/connld/Makefile
+++ b/usr/src/uts/sparc/connld/Makefile
@@ -20,11 +20,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/connld/Makefile
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the connld streams kernel
# module.
@@ -42,7 +41,6 @@ UTSBASE = ../..
#
MODULE = connld
OBJECTS = $(CONNLD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(CONNLD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE)
#
@@ -54,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -75,12 +72,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/consconfig/Makefile b/usr/src/uts/sparc/consconfig/Makefile
index e48121895d..56332e7fcd 100644
--- a/usr/src/uts/sparc/consconfig/Makefile
+++ b/usr/src/uts/sparc/consconfig/Makefile
@@ -20,11 +20,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/consconfig/Makefile
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the consconfig `misc'
# kernel module.
@@ -42,7 +41,6 @@ UTSBASE = ../..
#
MODULE = consconfig
OBJECTS = $(CONSCONFIG_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(CONSCONFIG_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -54,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -79,12 +76,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/consconfig_dacf/Makefile b/usr/src/uts/sparc/consconfig_dacf/Makefile
index 2170a45137..59d4b94774 100644
--- a/usr/src/uts/sparc/consconfig_dacf/Makefile
+++ b/usr/src/uts/sparc/consconfig_dacf/Makefile
@@ -35,7 +35,6 @@ UTSBASE = ../..
#
MODULE = consconfig_dacf
OBJECTS = $(CONSCONFIG_DACF_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(CONSCONFIG_DACF_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DACF_DIR)/$(MODULE)
#
@@ -43,24 +42,18 @@ ROOTMODULE = $(ROOT_DACF_DIR)/$(MODULE)
#
include $(UTSBASE)/sparc/Makefile.sparc
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
#
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
.KEEP_STATE:
@@ -73,12 +66,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/conskbd/Makefile b/usr/src/uts/sparc/conskbd/Makefile
index 33693249fc..885db9ac92 100644
--- a/usr/src/uts/sparc/conskbd/Makefile
+++ b/usr/src/uts/sparc/conskbd/Makefile
@@ -19,11 +19,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/conskbd/Makefile
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the conskbd driver
#
@@ -40,7 +39,6 @@ UTSBASE = ../..
#
MODULE = conskbd
OBJECTS = $(CONSKBD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(CONSKBD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -53,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -64,13 +61,6 @@ CFLAGS += $(CCVERBOSE)
LDFLAGS = -dy -Nmisc/kbtrans
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -83,12 +73,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/consms/Makefile b/usr/src/uts/sparc/consms/Makefile
index f10d86e5b0..9ee642c90e 100644
--- a/usr/src/uts/sparc/consms/Makefile
+++ b/usr/src/uts/sparc/consms/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = consms
OBJECTS = $(CONSMS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(CONSMS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -62,11 +60,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
CERRWARN += -_gcc=-Wno-switch
@@ -83,12 +80,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/cpuid/Makefile b/usr/src/uts/sparc/cpuid/Makefile
index 2479e762de..12afe3ae61 100644
--- a/usr/src/uts/sparc/cpuid/Makefile
+++ b/usr/src/uts/sparc/cpuid/Makefile
@@ -23,20 +23,17 @@
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
UTSBASE = ../..
MODULE = cpuid
OBJECTS = $(CPUID_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(CPUID_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
include $(UTSBASE)/sparc/Makefile.sparc
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
CFLAGS += -v
@@ -51,12 +48,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
include $(UTSBASE)/sparc/Makefile.targ
diff --git a/usr/src/uts/sparc/cryptmod/Makefile b/usr/src/uts/sparc/cryptmod/Makefile
index 2c22229d42..3fd1c981cd 100644
--- a/usr/src/uts/sparc/cryptmod/Makefile
+++ b/usr/src/uts/sparc/cryptmod/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = cryptmod
OBJECTS = $(CRYPTMOD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(CRYPTMOD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_STRMOD_DIR)/$(MODULE)
#
@@ -52,24 +51,14 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
#
@@ -85,12 +74,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/crypto/Makefile b/usr/src/uts/sparc/crypto/Makefile
index 8a9e787a5d..b6141fef24 100644
--- a/usr/src/uts/sparc/crypto/Makefile
+++ b/usr/src/uts/sparc/crypto/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = crypto
OBJECTS = $(CRYPTO_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(CRYPTO_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/crypto/io
@@ -51,16 +50,16 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
+LDFLAGS += -dy -Nmisc/kcf
+
#
-# lint pass one enforcement
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
CFLAGS += $(CCVERBOSE)
-
-LDFLAGS += -dy -Nmisc/kcf
-
CERRWARN += $(CNOWARN_UNINIT)
#
@@ -76,12 +75,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/cryptoadm/Makefile b/usr/src/uts/sparc/cryptoadm/Makefile
index dc1890e064..e3b34b368c 100644
--- a/usr/src/uts/sparc/cryptoadm/Makefile
+++ b/usr/src/uts/sparc/cryptoadm/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = cryptoadm
OBJECTS = $(CRYPTOADM_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(CRYPTOADM_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/crypto/io
@@ -53,23 +52,16 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
LDFLAGS += -dy -Nmisc/kcf
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += $(CNOWARN_UNINIT)
@@ -86,12 +78,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ctf/Makefile b/usr/src/uts/sparc/ctf/Makefile
index 55dc972c1c..88982e1b9e 100644
--- a/usr/src/uts/sparc/ctf/Makefile
+++ b/usr/src/uts/sparc/ctf/Makefile
@@ -29,13 +29,11 @@ UTSBASE = ../..
MODULE = ctf
OBJECTS = $(CTF_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(CTF_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
include $(UTSBASE)/sparc/Makefile.sparc
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
C99LMODE= -Xc99=%all
@@ -45,12 +43,10 @@ CPPFLAGS += -I$(SRC)/common/ctf -DCTF_OLD_VERSIONS
LDFLAGS += $(BREDUCE) -M$(UTSBASE)/common/ctf/mapfile -dy
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
CERRWARN += $(CNOWARN_UNINIT)
@@ -64,12 +60,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
include $(UTSBASE)/sparc/Makefile.targ
diff --git a/usr/src/uts/sparc/ctfs/Makefile b/usr/src/uts/sparc/ctfs/Makefile
index 3f8ddeee8b..73980ef44e 100644
--- a/usr/src/uts/sparc/ctfs/Makefile
+++ b/usr/src/uts/sparc/ctfs/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = ctfs
OBJECTS = $(CTFS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(CTFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE)
#
@@ -52,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -61,11 +59,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
CERRWARN += -_gcc=-Wno-parentheses
@@ -82,12 +79,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/dad/Makefile b/usr/src/uts/sparc/dad/Makefile
index f57c3fc370..2c1f29c8c8 100644
--- a/usr/src/uts/sparc/dad/Makefile
+++ b/usr/src/uts/sparc/dad/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = dad
OBJECTS = $(DAD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(DAD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/sun/io/dada/targets
@@ -54,7 +53,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -64,14 +62,10 @@ CFLAGS += $(CCVERBOSE)
LDFLAGS += -dy -Nmisc/dada -Nmisc/cmlb
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += -_gcc=-Wno-unused-variable
@@ -94,12 +88,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS) lint64
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/dada/Makefile b/usr/src/uts/sparc/dada/Makefile
index 692b84c327..0d586351b9 100644
--- a/usr/src/uts/sparc/dada/Makefile
+++ b/usr/src/uts/sparc/dada/Makefile
@@ -35,7 +35,6 @@ UTSBASE = ../..
#
MODULE = dada
OBJECTS = $(DADA_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(DADA_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -48,7 +47,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -57,13 +55,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -76,10 +67,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-modlintlib: $(MODLINTLIB_DEPS) lint64
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/daplt/Makefile b/usr/src/uts/sparc/daplt/Makefile
index bc346b9cfc..4a2add5661 100644
--- a/usr/src/uts/sparc/daplt/Makefile
+++ b/usr/src/uts/sparc/daplt/Makefile
@@ -35,7 +35,6 @@ UTSBASE = ../..
#
MODULE = daplt
OBJECTS = $(DAPLT_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(DAPLT_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/daplt
LDFLAGS += -dy -Nmisc/ibtl -Nmisc/ibcm
@@ -49,7 +48,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -58,25 +56,17 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
INCLUDE_PATH += -I$(UTSBASE)/common/sys/ib/clients/daplt
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
# Overrides.
#
ALL_BUILDS = $(ALL_BUILDSONLY64)
DEF_BUILDS = $(DEF_BUILDSONLY64)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_STATIC_UNUSED
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-unused-function
@@ -95,12 +85,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/dca/Makefile b/usr/src/uts/sparc/dca/Makefile
index 1f4c8a7b2e..b574b78a60 100644
--- a/usr/src/uts/sparc/dca/Makefile
+++ b/usr/src/uts/sparc/dca/Makefile
@@ -42,7 +42,6 @@ UTSBASE = ../..
#
MODULE = dca
OBJECTS = $(DCA_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(DCA_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/crypto/io
@@ -55,23 +54,14 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-variable
@@ -88,12 +78,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_CRYPTO_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/dcam1394/Makefile b/usr/src/uts/sparc/dcam1394/Makefile
index e43ec22386..290a78923a 100644
--- a/usr/src/uts/sparc/dcam1394/Makefile
+++ b/usr/src/uts/sparc/dcam1394/Makefile
@@ -34,7 +34,6 @@ UTSBASE = ../..
#
MODULE = dcam1394
OBJECTS = $(DCAM1394_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(DCAM1394_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -46,7 +45,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -54,17 +52,17 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
ALL_BUILDS = $(ALL_BUILDSONLY64)
DEF_BUILDS = $(DEF_BUILDSONLY64)
-CLEANLINTFILES += $(LINT32_FILES)
-
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
#
# depends on misc/s1394
LDFLAGS += -dy -Nmisc/s1394
+#
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
+#
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
@@ -80,12 +78,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS) lint32
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/dcfs/Makefile b/usr/src/uts/sparc/dcfs/Makefile
index de6c0a6ae2..2ef22c0f2b 100644
--- a/usr/src/uts/sparc/dcfs/Makefile
+++ b/usr/src/uts/sparc/dcfs/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = dcfs
OBJECTS = $(DCFS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(DCFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE)
#
@@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -77,12 +75,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/dcpc/Makefile b/usr/src/uts/sparc/dcpc/Makefile
index 1a8c50de78..0089a862c6 100644
--- a/usr/src/uts/sparc/dcpc/Makefile
+++ b/usr/src/uts/sparc/dcpc/Makefile
@@ -28,13 +28,11 @@ UTSBASE = ../..
MODULE = dcpc
OBJECTS = $(DCPC_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(DCPC_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
ROOTLINK = $(ROOT_DTRACE_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/dtrace
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
include $(UTSBASE)/sparc/Makefile.sparc
@@ -51,12 +49,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_DTRACE_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/dedump/Makefile b/usr/src/uts/sparc/dedump/Makefile
index 42c3f0512f..aed73980dc 100644
--- a/usr/src/uts/sparc/dedump/Makefile
+++ b/usr/src/uts/sparc/dedump/Makefile
@@ -19,11 +19,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/dedump/Makefile
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the dedump streams kernel
# module.
@@ -41,7 +40,6 @@ UTSBASE = ../..
#
MODULE = dedump
OBJECTS = $(DEDUMP_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(DEDUMP_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE)
#
@@ -53,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -62,15 +59,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -83,12 +71,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/des/Makefile b/usr/src/uts/sparc/des/Makefile
index b205c669ee..26fb4a4e20 100644
--- a/usr/src/uts/sparc/des/Makefile
+++ b/usr/src/uts/sparc/des/Makefile
@@ -44,7 +44,6 @@ COM_DIR = $(COMMONBASE)/crypto
#
MODULE = des
OBJECTS = $(DES_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(DES_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE)
ROOTLINK = $(ROOT_MISC_DIR)/$(MODULE)
TARGET_32 = ../../kernel/crypto/$(MODULE)
@@ -60,7 +59,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK)
#
@@ -76,21 +74,19 @@ CLEANFILES += $(MODSTUBS_O)
LDFLAGS += -dy -Nmisc/kcf
#
-# lint pass one enforcement
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
CFLAGS += $(CCVERBOSE) -I$(COM_DIR)
-LINTFLAGS += -I$(COM_DIR)
-
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
#
# Default build targets.
@@ -105,12 +101,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_MISC_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/dev/Makefile b/usr/src/uts/sparc/dev/Makefile
index a918d401af..55b3e63746 100644
--- a/usr/src/uts/sparc/dev/Makefile
+++ b/usr/src/uts/sparc/dev/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = dev
OBJECTS = $(DEV_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(DEV_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE)
#
@@ -52,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -66,8 +64,6 @@ LDFLAGS += -dy -Nfs/devfs -Nmisc/dls
INC_PATH += -I$(UTSBASE)/common/fs/zfs
INC_PATH += -I$(UTSBASE)/common/io/bpf
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_STATIC_UNUSED
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-label
@@ -86,12 +82,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/devfs/Makefile b/usr/src/uts/sparc/devfs/Makefile
index c80af73300..233b5680a7 100644
--- a/usr/src/uts/sparc/devfs/Makefile
+++ b/usr/src/uts/sparc/devfs/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = devfs
OBJECTS = $(DEVFS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(DEVFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE)
#
@@ -55,7 +54,6 @@ CERRWARN += -_gcc=-Wno-parentheses
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -79,12 +77,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/devinfo/Makefile b/usr/src/uts/sparc/devinfo/Makefile
index 7f97558d29..6a56f13807 100644
--- a/usr/src/uts/sparc/devinfo/Makefile
+++ b/usr/src/uts/sparc/devinfo/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = devinfo
OBJECTS = $(DEVINFO_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(DEVINFO_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -56,15 +55,16 @@ CFLAGS += $(CCVERBOSE)
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
+CPPFLAGS += -I$(SRC)/common
+
#
-# lint pass one enforcement
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
CFLAGS += $(CCVERBOSE)
-CPPFLAGS += -I$(SRC)/common
-
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-parentheses
@@ -83,12 +83,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/dlcosmk/Makefile b/usr/src/uts/sparc/dlcosmk/Makefile
index 6a6367e539..be37f7eddc 100644
--- a/usr/src/uts/sparc/dlcosmk/Makefile
+++ b/usr/src/uts/sparc/dlcosmk/Makefile
@@ -23,7 +23,6 @@
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
#
# This makefile creates the dlcosmk (ipp) module.
# sparc architecture dependent
@@ -39,7 +38,6 @@ UTSBASE = ../..
#
MODULE = dlcosmk
OBJECTS = $(DLCOSMK_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(DLCOSMK_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_IPP_DIR)/$(MODULE)
#
@@ -56,22 +54,11 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
LDFLAGS += -dy -Ndrv/ip
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
+CFLAGS += $(CCVERBOSE)
#
# Default build targets.
@@ -86,12 +73,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/dld/Makefile b/usr/src/uts/sparc/dld/Makefile
index e288e2e357..5fca1a54a9 100644
--- a/usr/src/uts/sparc/dld/Makefile
+++ b/usr/src/uts/sparc/dld/Makefile
@@ -33,7 +33,6 @@ UTSBASE = ../..
#
MODULE = dld
OBJECTS = $(DLD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(DLD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/dld
ROOTDEVLINK = $(ROOT)/dev/$(MODULE)
@@ -47,7 +46,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -60,14 +58,10 @@ LDFLAGS += -dy -N misc/dls -N misc/mac
INC_PATH += -I$(UTSBASE)/common/io/bpf
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-type-limits
@@ -86,12 +80,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS) $(ROOTDEVLINK)
$(ROOTDEVLINK):
diff --git a/usr/src/uts/sparc/dlpistub/Makefile b/usr/src/uts/sparc/dlpistub/Makefile
index 548361738a..aff2c694a1 100644
--- a/usr/src/uts/sparc/dlpistub/Makefile
+++ b/usr/src/uts/sparc/dlpistub/Makefile
@@ -35,7 +35,6 @@ UTSBASE = ../..
#
MODULE = dlpistub
OBJECTS = $(DLPISTUB_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(DLPISTUB_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/inet/dlpistub
@@ -48,7 +47,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -69,12 +67,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/dls/Makefile b/usr/src/uts/sparc/dls/Makefile
index b32db65dd0..38a104cef4 100644
--- a/usr/src/uts/sparc/dls/Makefile
+++ b/usr/src/uts/sparc/dls/Makefile
@@ -33,7 +33,6 @@ UTSBASE = ../..
#
MODULE = dls
OBJECTS = $(DLS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(DLS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -45,7 +44,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -58,14 +56,10 @@ LDFLAGS += -dy -N misc/mac
INC_PATH += -I$(UTSBASE)/common/io/bpf
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_STATIC_UNUSED
CERRWARN += $(CNOWARN_UNINIT)
@@ -82,12 +76,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/dmfe/Makefile b/usr/src/uts/sparc/dmfe/Makefile
index 1220b595fd..7fcee1d9b7 100644
--- a/usr/src/uts/sparc/dmfe/Makefile
+++ b/usr/src/uts/sparc/dmfe/Makefile
@@ -36,7 +36,6 @@ UTSBASE = ../..
#
MODULE = dmfe
OBJECTS = $(DMFE_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(DMFE_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -48,14 +47,14 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
-# lint pass one enforcement
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
-CFLAGS += $(CCVERBOSE)
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
#
@@ -76,12 +75,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/doorfs/Makefile b/usr/src/uts/sparc/doorfs/Makefile
index d8bd5421c0..bbb31ec778 100644
--- a/usr/src/uts/sparc/doorfs/Makefile
+++ b/usr/src/uts/sparc/doorfs/Makefile
@@ -42,7 +42,6 @@ DOORFS_OBJS += door_vnops.o door_sys.o door_support.o
#
MODULE = doorfs
OBJECTS = $(DOORFS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(DOORFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_SYS_DIR)/$(MODULE)
#
@@ -55,25 +54,21 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# Overrides.
#
MODSTUBS_DIR = $(OBJS_DIR)
-$(MODSTUBS_O) := AS_CPPFLAGS +=
CLEANFILES += $(MODSTUBS_O)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
@@ -91,12 +86,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/dprov/Makefile b/usr/src/uts/sparc/dprov/Makefile
index 0aa53e059a..e9b765fe14 100644
--- a/usr/src/uts/sparc/dprov/Makefile
+++ b/usr/src/uts/sparc/dprov/Makefile
@@ -41,7 +41,6 @@ COM_DIR = $(SRC)/common/crypto
#
MODULE = dprov
OBJECTS = $(DPROV_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(DPROV_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
ROOTLINK = $(ROOT_CRYPTO_DIR)/$(MODULE)
TARGET_32 = ../../kernel/drv/$(MODULE)
@@ -58,7 +57,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
#
@@ -69,21 +67,14 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
# uses private KCF functions.
LDFLAGS += -dy -Nmisc/kcf
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE) -I$(COM_DIR)
-LINTFLAGS += -I$(COM_DIR)
+CFLAGS += -I$(COM_DIR)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-switch
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-label
@@ -101,12 +92,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_CRYPTO_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/drcompat/Makefile b/usr/src/uts/sparc/drcompat/Makefile
index f16a3d3c15..d5e9f1142c 100644
--- a/usr/src/uts/sparc/drcompat/Makefile
+++ b/usr/src/uts/sparc/drcompat/Makefile
@@ -19,12 +19,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/drcompat/Makefile
-#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the drcompat streams kernel
# module.
@@ -42,7 +40,6 @@ UTSBASE = ../..
#
MODULE = drcompat
OBJECTS = $(DRCOMPAT_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(DRCOMPAT_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE)
#
@@ -54,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -63,14 +59,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -83,12 +71,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/dscpmk/Makefile b/usr/src/uts/sparc/dscpmk/Makefile
index e4f488c306..50f134cc72 100644
--- a/usr/src/uts/sparc/dscpmk/Makefile
+++ b/usr/src/uts/sparc/dscpmk/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = dscpmk
OBJECTS = $(DSCPMK_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(DSCPMK_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_IPP_DIR)/$(MODULE)
#
@@ -55,23 +54,16 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
LDFLAGS += -dy -Ndrv/ip
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
#
@@ -87,12 +79,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/dtrace/Makefile b/usr/src/uts/sparc/dtrace/Makefile
index 941f5873ca..6f3c2f3b39 100644
--- a/usr/src/uts/sparc/dtrace/Makefile
+++ b/usr/src/uts/sparc/dtrace/Makefile
@@ -28,7 +28,6 @@ UTSBASE = ../..
PLATFORM = sun4u
MODULE = dtrace
OBJECTS = $(DTRACE_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(DTRACE_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/dtrace
@@ -44,13 +43,12 @@ CERRWARN += -_gcc=-Wno-type-limits
CERRWARN += $(CNOWARN_UNINIT)
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
DTRACE_INC_32 = -I$(UTSBASE)/sparc/v7
DTRACE_INC_64 = -I$(UTSBASE)/sparc/v9
-CFLAGS += $(CCVERBOSE)
+CFLAGS += $(CCVERBOSE)
CPPFLAGS += $(DTRACE_INC_$(CLASS))
CPPFLAGS += -I$(SRC)/common/util
@@ -64,16 +62,10 @@ AS_INC_PATH += -I$(DSF_DIR)/$(OBJS_DIR)
ASSYM_H = $(DSF_DIR)/$(OBJS_DIR)/assym.h
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
.KEEP_STATE:
@@ -85,12 +77,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(BINARY): $(ASSYM_H)
diff --git a/usr/src/uts/sparc/dump/Makefile b/usr/src/uts/sparc/dump/Makefile
index 7c38303ed7..2e4dcabba5 100644
--- a/usr/src/uts/sparc/dump/Makefile
+++ b/usr/src/uts/sparc/dump/Makefile
@@ -22,7 +22,6 @@
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
UTSBASE = ../..
@@ -31,7 +30,6 @@ UTSBASE = ../..
#
MODULE = dump
OBJECTS = $(DUMP_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(DUMP_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -44,7 +42,6 @@ include $(UTSBASE)/$(MACH)/Makefile.$(MACH)
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -53,13 +50,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -72,12 +62,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/e1000g/Makefile b/usr/src/uts/sparc/e1000g/Makefile
index f22795fdce..caae3659da 100644
--- a/usr/src/uts/sparc/e1000g/Makefile
+++ b/usr/src/uts/sparc/e1000g/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
MODULE = e1000g
OBJECTS = $(E1000G_OBJS:%=$(OBJS_DIR)/%)
OBJECTS += $(E1000API_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(E1000G_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/e1000g
@@ -54,14 +53,14 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
-LINTFLAGS += \
- -I$(UTSBASE)/common/io/e1000g \
- -I$(UTSBASE)/common/io/e1000api
-
-
+#
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
+#
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-switch
@@ -69,19 +68,12 @@ CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_cc=-erroff=E_STATEMENT_NOT_REACHED
-LINTTAGS += -erroff=E_CONSTANT_CONDITION
#
# Override defaults
#
INC_PATH += -I$(CONF_SRCDIR) -I$(UTSBASE)/common/io/e1000api
-
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
#
# Turn on doubleword alignment for 64 bit registers
#
@@ -107,11 +99,6 @@ clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
install: $(INSTALL_DEPS)
diff --git a/usr/src/uts/sparc/ecc/Makefile b/usr/src/uts/sparc/ecc/Makefile
index 7930035fed..e4dc8c5ae8 100644
--- a/usr/src/uts/sparc/ecc/Makefile
+++ b/usr/src/uts/sparc/ecc/Makefile
@@ -41,7 +41,6 @@ COM2_DIR = $(COMMONBASE)/crypto
#
MODULE = ecc
OBJECTS = $(ECCPROV_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(LINTS_DIR)/ecc.ln
ROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE)
#
@@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -61,13 +59,15 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
LDFLAGS += -dy -Nmisc/kcf
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE) -I$(COM1_DIR) -I$(COM2_DIR)
+CFLAGS += -I$(COM1_DIR) -I$(COM2_DIR)
CFLAGS += -DMP_API_COMPATIBLE -DNSS_ECC_MORE_THAN_SUITE_B
-LINTFLAGS += -I$(COM1_DIR) -I$(COM2_DIR)
+#
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
+#
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-switch
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += $(CNOWARN_UNINIT)
@@ -89,12 +89,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ecpp/Makefile b/usr/src/uts/sparc/ecpp/Makefile
index bbf1a3a00c..0f26a6c506 100644
--- a/usr/src/uts/sparc/ecpp/Makefile
+++ b/usr/src/uts/sparc/ecpp/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = ecpp
OBJECTS = $(ECPP_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(ECPP_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -53,29 +52,23 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
-# lint pass one enforcement
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
-CFLAGS += $(CCVERBOSE)
-
-# Turn this on once compiler understands v9 in it's backend
-#INLINES += $(UTSBASE)/sun/io/ecpp.il
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-variable
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
# Default build targets.
#
@@ -89,10 +82,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-modlintlib: $(MODLINTLIB_DEPS) lint64
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/edonr/Makefile b/usr/src/uts/sparc/edonr/Makefile
index b0c6eb0f8c..3b2a5524d6 100644
--- a/usr/src/uts/sparc/edonr/Makefile
+++ b/usr/src/uts/sparc/edonr/Makefile
@@ -38,7 +38,6 @@ COMDIR = $(COMMONBASE)/crypto
#
MODULE = edonr
OBJECTS = $(EDONR_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(EDONR_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE)
ROOTLINK = $(ROOT_MISC_DIR)/$(MODULE)
@@ -51,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK)
#
@@ -60,7 +58,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK)
LDFLAGS += -dy -Nmisc/kcf
CFLAGS += -I$(COMDIR)
-LINTFLAGS += -I$(COMDIR)
#
# Default build targets.
@@ -75,12 +72,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_MISC_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/efe/Makefile b/usr/src/uts/sparc/efe/Makefile
index 119d855117..1c15299e33 100644
--- a/usr/src/uts/sparc/efe/Makefile
+++ b/usr/src/uts/sparc/efe/Makefile
@@ -19,7 +19,6 @@ UTSBASE = ../..
#
MODULE = efe
OBJECTS = $(EFE_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(EFE_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -31,7 +30,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets.
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -55,12 +53,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ehci/Makefile b/usr/src/uts/sparc/ehci/Makefile
index 42f0e0d7bb..d1c34085fd 100644
--- a/usr/src/uts/sparc/ehci/Makefile
+++ b/usr/src/uts/sparc/ehci/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = ehci
OBJECTS = $(EHCI_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(EHCI_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/usb/hcd/ehci
@@ -50,7 +49,9 @@ CONF_SRCDIR = $(UTSBASE)/common/io/usb/hcd/ehci
include $(UTSBASE)/sparc/Makefile.sparc
#
-# lint pass one enforcement
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
@@ -65,7 +66,6 @@ LDFLAGS += -dy -Nmisc/usba
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
.KEEP_STATE:
@@ -78,12 +78,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/eibnx/Makefile b/usr/src/uts/sparc/eibnx/Makefile
index 3dd9c47375..04edd34912 100644
--- a/usr/src/uts/sparc/eibnx/Makefile
+++ b/usr/src/uts/sparc/eibnx/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = eibnx
OBJECTS = $(EIBNX_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(EIBNX_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/eoib
@@ -52,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -66,20 +64,16 @@ DEF_BUILDS = $(DEF_BUILDSONLY64)
CPPFLAGS += -DENX_DEBUG
#
-# Lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
# Depends on misc/ibtl
#
LDFLAGS += -dy -Nmisc/ibcm -Nmisc/ibtl
#
-# The only lint flag we should need
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
@@ -96,12 +90,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS) lint32
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/elfexec/Makefile b/usr/src/uts/sparc/elfexec/Makefile
index ba49e2b0d5..1cc0fe03bc 100644
--- a/usr/src/uts/sparc/elfexec/Makefile
+++ b/usr/src/uts/sparc/elfexec/Makefile
@@ -44,7 +44,6 @@ ELFEXEC_OBJS_32 =
ELFEXEC_OBJS_64 = elf32.o elf32_notes.o old32_notes.o
ELFEXEC_OBJS += $(ELFEXEC_OBJS_$(CLASS))
OBJECTS = $(ELFEXEC_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(ELFEXEC_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_EXEC_DIR)/$(MODULE)
#
@@ -56,7 +55,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -65,13 +63,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
@@ -89,12 +84,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
@@ -102,8 +91,6 @@ install: $(INSTALL_DEPS)
#
include $(UTSBASE)/sparc/Makefile.targ
-.NO_PARALLEL: $(LINTS)
-
$(OBJS_DIR)/elf32.o: $(UTSBASE)/common/exec/elf/elf.c
$(COMPILE.c) -o $@ -D_ELF32_COMPAT $(UTSBASE)/common/exec/elf/elf.c
$(CTFCONVERT_O)
@@ -115,15 +102,3 @@ $(OBJS_DIR)/elf32_notes.o: $(UTSBASE)/common/exec/elf/elf_notes.c
$(OBJS_DIR)/old32_notes.o: $(UTSBASE)/common/exec/elf/old_notes.c
$(COMPILE.c) -o $@ -D_ELF32_COMPAT $(UTSBASE)/common/exec/elf/old_notes.c
$(CTFCONVERT_O)
-
-$(LINTS_DIR)/elf32.ln: $(UTSBASE)/common/exec/elf/elf.c
- @($(LHEAD) $(LINT.c) -Celf32 -D_ELF32_COMPAT $(UTSBASE)/common/exec/elf/elf.c $(LTAIL))
- @$(MV) $(@F) $@
-
-$(LINTS_DIR)/elf32_notes.ln: $(UTSBASE)/common/exec/elf/elf_notes.c
- @($(LHEAD) $(LINT.c) -Celf32_notes -D_ELF32_COMPAT $(UTSBASE)/common/exec/elf/elf_notes.c $(LTAIL))
- @$(MV) $(@F) $@
-
-$(LINTS_DIR)/old32_notes.ln: $(UTSBASE)/common/exec/elf/old_notes.c
- @($(LHEAD) $(LINT.c) -Cold32_notes -D_ELF32_COMPAT $(UTSBASE)/common/exec/elf/old_notes.c $(LTAIL))
- @$(MV) $(@F) $@
diff --git a/usr/src/uts/sparc/emlxs/Makefile b/usr/src/uts/sparc/emlxs/Makefile
index 16ac3b05df..8fb682d782 100644
--- a/usr/src/uts/sparc/emlxs/Makefile
+++ b/usr/src/uts/sparc/emlxs/Makefile
@@ -35,7 +35,6 @@ COMMON_BASE = ../../../common
#
MODULE = emlxs
OBJECTS = $(EMLXS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(EMLXS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/fibre-channel/fca/emlxs
@@ -49,7 +48,6 @@ include ../Makefile.$(ARCHDIR)
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
EMLXS_FLAGS = -DEMLXS_SPARC
@@ -59,7 +57,6 @@ EMLXS_FLAGS += -DMACH=\"$(MACH)\"
EMLXS_CFLAGS = $(EMLXS_FLAGS)
EMLXS_LFLAGS = $(EMLXS_FLAGS)
CFLAGS += $(EMLXS_CFLAGS) -DEMLXS_ARCH=\"64\"
-LINTTAGS += $(EMLXS_LFLAGS) -DEMLXS_ARCH=\"64\"
#
@@ -78,14 +75,9 @@ LDFLAGS += -dy -Nmisc/md5 -Nmisc/sha1
LDFLAGS += -Nmisc/bignum -Nmisc/fctl
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-LINTTAGS += -erroff=E_INCONS_VAL_TYPE_DECL2
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-label
@@ -104,12 +96,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/emlxs_fw/Makefile b/usr/src/uts/sparc/emlxs_fw/Makefile
index 724fc9531f..57baa04fc0 100644
--- a/usr/src/uts/sparc/emlxs_fw/Makefile
+++ b/usr/src/uts/sparc/emlxs_fw/Makefile
@@ -33,7 +33,6 @@ UTSBASE = ../..
#
MODULE = emlxs_fw
OBJECTS = $(EMLXS_FW_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(EMLXS_FW_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_EMLXS_FW_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/fibre-channel/fca/emlxs
@@ -47,7 +46,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
EMLXS_FLAGS = -DEMLXS_SPARC
@@ -57,19 +55,12 @@ EMLXS_FLAGS += -DMACH=\"$(MACH)\"
EMLXS_CFLAGS = $(EMLXS_FLAGS)
EMLXS_LFLAGS = $(EMLXS_FLAGS)
CFLAGS += $(EMLXS_CFLAGS) -DEMLXS_ARCH=\"$(CLASS)\"
-LINTTAGS += $(EMLXS_LFLAGS) -DEMLXS_ARCH=\"$(CLASS)\"
INC_PATH += -I$(UTSBASE)/common/sys/fibre-channel/fca/emlxs
LDFLAGS += -dy -Nmisc/fctl
#
-# Lint tags
-#
-LINTTAGS += -DUNIQUE_FW_NAME
-LINTTAGS += -DFW_VERSION_STRING=\"2.01.145\"
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -82,12 +73,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/emul64/Makefile b/usr/src/uts/sparc/emul64/Makefile
index 86cfecacd1..313ef518e2 100644
--- a/usr/src/uts/sparc/emul64/Makefile
+++ b/usr/src/uts/sparc/emul64/Makefile
@@ -36,7 +36,6 @@ UTSBASE = ../..
#
MODULE = emul64
OBJECTS = $(EMUL64_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(EMUL64_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -52,29 +51,27 @@ CFLAGS += $(CCVERBOSE)
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
# Define dependency on scsi
#
LDFLAGS += -dy -N misc/scsi
+#
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
+#
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += $(CNOWARN_UNINIT)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
#
# Default build targets.
@@ -89,12 +86,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/eoib/Makefile b/usr/src/uts/sparc/eoib/Makefile
index ffa1ac053d..1f9c9e747a 100644
--- a/usr/src/uts/sparc/eoib/Makefile
+++ b/usr/src/uts/sparc/eoib/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = eoib
OBJECTS = $(EOIB_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(EOIB_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -51,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -65,10 +63,11 @@ DEF_BUILDS = $(DEF_BUILDSONLY64)
CPPFLAGS += -DEIB_DEBUG
#
-# Lint pass one enforcement
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
-CFLAGS += $(CCVERBOSE)
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-switch
CERRWARN += $(CNOWARN_UNINIT)
@@ -90,12 +89,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS) lint32
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/eri/Makefile b/usr/src/uts/sparc/eri/Makefile
index d0976890d7..16be73401a 100644
--- a/usr/src/uts/sparc/eri/Makefile
+++ b/usr/src/uts/sparc/eri/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = eri
OBJECTS = $(ERI_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(ERI_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -51,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -59,15 +57,16 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
ALL_BUILDS = $(ALL_BUILDSONLY64)
DEF_BUILDS = $(DEF_BUILDSONLY64)
-CLEANLINTFILES += $(LINT32_FILES)
+LDFLAGS += -dy -N misc/mac -N drv/ip
#
-# Overrides.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-label
-LDFLAGS += -dy -N misc/mac -N drv/ip
#
# Default build targets.
@@ -82,12 +81,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS) lint32
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/eventfd/Makefile b/usr/src/uts/sparc/eventfd/Makefile
index 063aa29b78..f0733e83e9 100644
--- a/usr/src/uts/sparc/eventfd/Makefile
+++ b/usr/src/uts/sparc/eventfd/Makefile
@@ -23,7 +23,6 @@ UTSBASE = ../..
#
MODULE = eventfd
OBJECTS = $(EVENTFD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(EVENTFD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -38,7 +37,6 @@ CERRWARN += -_gcc=-Wno-parentheses
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -54,12 +52,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/exacctsys/Makefile b/usr/src/uts/sparc/exacctsys/Makefile
index 3c89b44cfb..ade76a4a9c 100644
--- a/usr/src/uts/sparc/exacctsys/Makefile
+++ b/usr/src/uts/sparc/exacctsys/Makefile
@@ -23,9 +23,7 @@
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# uts/sparc/exacctsys/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the exacctsys system call module.
# sparc architecture dependent
@@ -41,7 +39,6 @@ UTSBASE = ../..
#
MODULE = exacctsys
OBJECTS = $(EXACCTSYS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(EXACCTSYS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_SYS_DIR)/$(MODULE)
#
@@ -53,12 +50,8 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
@@ -74,12 +67,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/fas/Makefile b/usr/src/uts/sparc/fas/Makefile
index 03eec24a86..77ce9bb94b 100644
--- a/usr/src/uts/sparc/fas/Makefile
+++ b/usr/src/uts/sparc/fas/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = fas
OBJECTS = $(FAS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(FAS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -51,28 +50,19 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
# Defines dependency on scsi
#
LDFLAGS += -dy -N misc/scsi
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += $(CNOWARN_UNINIT)
@@ -89,12 +79,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/fasttrap/Makefile b/usr/src/uts/sparc/fasttrap/Makefile
index e69edd4f6f..daf6d8d192 100644
--- a/usr/src/uts/sparc/fasttrap/Makefile
+++ b/usr/src/uts/sparc/fasttrap/Makefile
@@ -28,7 +28,6 @@ UTSBASE = ../..
MODULE = fasttrap
OBJECTS = $(FASTTRAP_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(FASTTRAP_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
ROOTLINK = $(ROOT_DTRACE_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/sparc/dtrace
@@ -36,7 +35,6 @@ CONF_SRCDIR = $(UTSBASE)/sparc/dtrace
include $(UTSBASE)/sparc/Makefile.sparc
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
CFLAGS += $(CCVERBOSE)
@@ -55,12 +53,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_DTRACE_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/fbt/Makefile b/usr/src/uts/sparc/fbt/Makefile
index 79286b526e..c532e71406 100644
--- a/usr/src/uts/sparc/fbt/Makefile
+++ b/usr/src/uts/sparc/fbt/Makefile
@@ -27,7 +27,6 @@ UTSBASE = ../..
MODULE = fbt
OBJECTS = $(FBT_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(FBT_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
ROOTLINK = $(ROOT_DTRACE_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/sparc/dtrace
@@ -35,19 +34,16 @@ CONF_SRCDIR = $(UTSBASE)/sparc/dtrace
include $(UTSBASE)/sparc/Makefile.sparc
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
CFLAGS += $(CCVERBOSE)
LDFLAGS += -dy -Ndrv/dtrace -Nmisc/ctf
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-label
@@ -63,12 +59,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_DTRACE_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/fcip/Makefile b/usr/src/uts/sparc/fcip/Makefile
index 6e70560f9b..47a17da531 100644
--- a/usr/src/uts/sparc/fcip/Makefile
+++ b/usr/src/uts/sparc/fcip/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = fcip
OBJECTS = $(FCIP_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(FCIP_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/fibre-channel/ulp/
@@ -52,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -63,14 +61,10 @@ INC_PATH += -I$(SRC)/uts/common
LDFLAGS += -dy -Nmisc/fctl -Ndrv/ip
#
-# Lint tags
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_INCONS_ARG_USED2
-LINTTAGS += -erroff=E_INCONS_VAL_TYPE_USED2
-
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-type-limits
@@ -87,12 +81,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/fcode/Makefile b/usr/src/uts/sparc/fcode/Makefile
index 6077d2646a..2b297a0e82 100644
--- a/usr/src/uts/sparc/fcode/Makefile
+++ b/usr/src/uts/sparc/fcode/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = fcode
OBJECTS = $(FCODE_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(FCODE_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/sun4/io/efcode
@@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -61,12 +59,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
INC_PATH += -I$(UTSBASE)/sun4
-# Turn this on once compiler understands v9 in it's backend
-#INLINES += $(UTSBASE)/sun4/io/fcode.il
-
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
@@ -92,12 +84,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/fcodem/Makefile b/usr/src/uts/sparc/fcodem/Makefile
index 57bee792a0..6f00465d92 100644
--- a/usr/src/uts/sparc/fcodem/Makefile
+++ b/usr/src/uts/sparc/fcodem/Makefile
@@ -19,12 +19,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/fcodem/Makefile
-#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the fcodem misc kernel module
#
@@ -41,7 +39,6 @@ UTSBASE = ../..
#
MODULE = fcodem
OBJECTS = $(FCODEM_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(FCODEM_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -53,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -61,12 +57,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
INC_PATH += -I$(UTSBASE)/sun4
-# Turn this on once compiler understands v9 in it's backend
-#INLINES += $(UTSBASE)/sun4/io/fcode.il
-
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
@@ -87,12 +77,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/fcoe/Makefile b/usr/src/uts/sparc/fcoe/Makefile
index 58215fc027..05b4f2177d 100644
--- a/usr/src/uts/sparc/fcoe/Makefile
+++ b/usr/src/uts/sparc/fcoe/Makefile
@@ -35,7 +35,6 @@ ARCHDIR:sh = cd ..; basename `pwd`
#
MODULE = fcoe
OBJECTS = $(FCOE_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(FCOE_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/fcoe
@@ -48,7 +47,6 @@ include ../Makefile.$(ARCHDIR)
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -73,12 +71,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/fcoei/Makefile b/usr/src/uts/sparc/fcoei/Makefile
index 4f4c80292f..6dd2213e5b 100644
--- a/usr/src/uts/sparc/fcoei/Makefile
+++ b/usr/src/uts/sparc/fcoei/Makefile
@@ -22,7 +22,7 @@
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# This makefile drives the production of the fcoei driver for
+# This makefile drives the production of the fcoei driver for
# LEADVILLE.
#
@@ -36,7 +36,6 @@ ARCHDIR:sh = cd ..; basename `pwd`
#
MODULE = fcoei
OBJECTS = $(FCOEI_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(FCOEI_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/fibre-channel/fca/fcoei
@@ -49,7 +48,6 @@ include ../Makefile.$(ARCHDIR)
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -71,12 +69,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/fcoet/Makefile b/usr/src/uts/sparc/fcoet/Makefile
index ee28b5510f..b664831d7c 100644
--- a/usr/src/uts/sparc/fcoet/Makefile
+++ b/usr/src/uts/sparc/fcoet/Makefile
@@ -36,7 +36,6 @@ ARCHDIR:sh = cd ..; basename `pwd`
#
MODULE = fcoet
OBJECTS = $(FCOET_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(FCOET_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -48,7 +47,6 @@ include ../Makefile.$(ARCHDIR)
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -69,12 +67,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/fcp/Makefile b/usr/src/uts/sparc/fcp/Makefile
index 8ba05be670..7abfbffaba 100644
--- a/usr/src/uts/sparc/fcp/Makefile
+++ b/usr/src/uts/sparc/fcp/Makefile
@@ -37,7 +37,6 @@ ARCHDIR:sh = cd ..; basename `pwd`
#
MODULE = fcp
OBJECTS = $(FCP_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(FCP_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/fibre-channel/ulp
@@ -50,7 +49,6 @@ include ../Makefile.$(ARCHDIR)
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -59,12 +57,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
LDFLAGS += -dy -Nmisc/fctl -Nmisc/scsi
#
-# Lint tags
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
-
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-switch
CERRWARN += $(CNOWARN_UNINIT)
@@ -82,12 +78,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/fcpci/Makefile b/usr/src/uts/sparc/fcpci/Makefile
index eacdd19548..b4848262ea 100644
--- a/usr/src/uts/sparc/fcpci/Makefile
+++ b/usr/src/uts/sparc/fcpci/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = fcpci
OBJECTS = $(FCPCI_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(FCPCI_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -51,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -59,14 +57,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
INC_PATH += -I$(UTSBASE)/sun4
-# Turn this on once compiler understands v9 in it's backend
-#INLINES += $(UTSBASE)/sun4/io/fcode.il
-
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
#
# Turn on doubleword alignment for 64 bit registers
#
@@ -78,14 +68,11 @@ CFLAGS += -dalign
LDFLAGS += -dy -N misc/fcodem -N misc/busra
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
@@ -102,12 +89,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/fcsm/Makefile b/usr/src/uts/sparc/fcsm/Makefile
index fc93e07a59..309f26c502 100644
--- a/usr/src/uts/sparc/fcsm/Makefile
+++ b/usr/src/uts/sparc/fcsm/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = fcsm
OBJECTS = $(FCSM_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(FCSM_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/fibre-channel/ulp/
@@ -52,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -63,10 +61,10 @@ INC_PATH += -I$(ROOT)/usr/include
LDFLAGS += -dy -Nmisc/fctl
#
-# Lint tags
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
@@ -83,12 +81,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/fct/Makefile b/usr/src/uts/sparc/fct/Makefile
index c4c89b3a46..42ec698329 100644
--- a/usr/src/uts/sparc/fct/Makefile
+++ b/usr/src/uts/sparc/fct/Makefile
@@ -21,7 +21,7 @@
#
# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
-# This makefile drives the production of the fct driver for
+# This makefile drives the production of the fct driver for
# COMSTAR.
#
@@ -38,7 +38,6 @@ ARCHDIR:sh = cd ..; basename `pwd`
#
MODULE = fct
OBJECTS = $(FCT_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(FCT_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/comstar/port/fct
@@ -51,7 +50,6 @@ include ../Makefile.$(ARCHDIR)
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -63,12 +61,9 @@ LDFLAGS += -dy -Ndrv/stmf
C99LMODE= -Xc99=%all
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_IF_ELSE_ANNOTATION
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += -_gcc=-Wno-switch
@@ -87,12 +82,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/fctl/Makefile b/usr/src/uts/sparc/fctl/Makefile
index b0c525ed3e..acfebaa812 100644
--- a/usr/src/uts/sparc/fctl/Makefile
+++ b/usr/src/uts/sparc/fctl/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = fctl
OBJECTS = $(FCTL_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(FCTL_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -61,14 +59,11 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
INCS += -I$(SRC)/uts/common/
-
#
-# Lint tags
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-
CERRWARN += $(CNOWARN_UNINIT)
#
@@ -84,12 +79,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/fdfs/Makefile b/usr/src/uts/sparc/fdfs/Makefile
index 9122961e83..83731e7bdf 100644
--- a/usr/src/uts/sparc/fdfs/Makefile
+++ b/usr/src/uts/sparc/fdfs/Makefile
@@ -20,11 +20,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/fdfs/Makefile
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the fdfs file system
# kernel module.
@@ -42,7 +41,6 @@ UTSBASE = ../..
#
MODULE = fdfs
OBJECTS = $(FDFS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(FDFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_FS_DIR)/$(MODULE)
#
@@ -54,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -75,12 +72,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/fifofs/Makefile b/usr/src/uts/sparc/fifofs/Makefile
index a12c89e2b0..d36be1a990 100644
--- a/usr/src/uts/sparc/fifofs/Makefile
+++ b/usr/src/uts/sparc/fifofs/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = fifofs
OBJECTS = $(FIFO_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(FIFO_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE)
#
@@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -65,12 +63,10 @@ CLEANFILES += $(MODSTUBS_O)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
CERRWARN += -_gcc=-Wno-parentheses
@@ -87,12 +83,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/flowacct/Makefile b/usr/src/uts/sparc/flowacct/Makefile
index 56a16ddc8b..eec56f716b 100644
--- a/usr/src/uts/sparc/flowacct/Makefile
+++ b/usr/src/uts/sparc/flowacct/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = flowacct
OBJECTS = $(FLOWACCT_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(FLOWACCT_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_IPP_DIR)/$(MODULE)
#
@@ -55,22 +54,16 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
LDFLAGS += -dy -Ndrv/ip -Ndrv/tcp
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
#
@@ -86,12 +79,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/fm/Makefile b/usr/src/uts/sparc/fm/Makefile
index d16d54a828..de5d38da49 100644
--- a/usr/src/uts/sparc/fm/Makefile
+++ b/usr/src/uts/sparc/fm/Makefile
@@ -35,7 +35,6 @@ UTSBASE = ../..
MODULE = fm
#
OBJECTS = $(FM_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(FM_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -48,7 +47,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(LINT_MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -64,12 +62,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/fp/Makefile b/usr/src/uts/sparc/fp/Makefile
index 5d446e7ca9..078f0056f0 100644
--- a/usr/src/uts/sparc/fp/Makefile
+++ b/usr/src/uts/sparc/fp/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = fp
OBJECTS = $(FP_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(FP_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/sparc/io/fibre-channel/impl/
@@ -54,24 +53,20 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
# header file directories
#
-INCS += -I$(SRC)/uts/common/
+INCS += -I$(SRC)/uts/common/
LDFLAGS += -dy -Nmisc/fctl -Ndrv/fcp -Nmisc/scsi
#
-# Lint tags
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-LINTTAGS += -erroff=E_STATIC_UNUSED
-
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-unused-function
@@ -88,12 +83,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/fssnap/Makefile b/usr/src/uts/sparc/fssnap/Makefile
index 5d0eb504ae..15e5968cb2 100644
--- a/usr/src/uts/sparc/fssnap/Makefile
+++ b/usr/src/uts/sparc/fssnap/Makefile
@@ -37,7 +37,6 @@ UTSBASE = ../..
#
MODULE = fssnap
OBJECTS = $(FSSNAP_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(FSSNAP_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -50,7 +49,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -60,11 +58,10 @@ CFLAGS += $(CCVERBOSE)
LDFLAGS += -dy -Nmisc/fssnap_if -Nfs/ufs
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
CERRWARN += -_gcc=-Wno-parentheses
@@ -81,12 +78,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/fssnap_if/Makefile b/usr/src/uts/sparc/fssnap_if/Makefile
index 3177067dfc..e326b49470 100644
--- a/usr/src/uts/sparc/fssnap_if/Makefile
+++ b/usr/src/uts/sparc/fssnap_if/Makefile
@@ -20,11 +20,9 @@
# CDDL HEADER END
#
#
-# uts/sparc/fssnap_if/Makefile
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
#
# This makefile drives the production of the file system
@@ -43,7 +41,6 @@ UTSBASE = ../..
#
MODULE = fssnap_if
OBJECTS = $(FSSNAPIF_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(FSSNAPIF_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -55,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -76,12 +72,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/gen_drv/Makefile b/usr/src/uts/sparc/gen_drv/Makefile
index a4a8448844..5a34989cd4 100644
--- a/usr/src/uts/sparc/gen_drv/Makefile
+++ b/usr/src/uts/sparc/gen_drv/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = gen_drv
OBJECTS = $(GEN_DRV_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(GEN_DRV_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
#
@@ -53,21 +52,14 @@ CFLAGS += $(CCVERBOSE)
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_STATIC_UNUSED
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-unused-variable
#
@@ -83,12 +75,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/gld/Makefile b/usr/src/uts/sparc/gld/Makefile
index ad3519c146..682b2bdc06 100644
--- a/usr/src/uts/sparc/gld/Makefile
+++ b/usr/src/uts/sparc/gld/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = gld
OBJECTS = $(GLD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(GLD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
LDFLAGS += -dy -Nmisc/mac
@@ -64,13 +62,10 @@ LDFLAGS += -dy -Nmisc/mac
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-parentheses
@@ -88,12 +83,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/hci1394/Makefile b/usr/src/uts/sparc/hci1394/Makefile
index 07b8f1c907..23d9a71a86 100644
--- a/usr/src/uts/sparc/hci1394/Makefile
+++ b/usr/src/uts/sparc/hci1394/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = hci1394
OBJECTS = $(HCI1394_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(HCI1394_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/1394/adapters
LDFLAGS += -dy -Nmisc/s1394
@@ -55,7 +54,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -63,28 +61,16 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
ALL_BUILDS = $(ALL_BUILDSONLY64)
DEF_BUILDS = $(DEF_BUILDSONLY64)
-CLEANLINTFILES += $(LINT32_FILES)
DEBUG_DEFS_DBG32 += -DTNF_DEBUG
DEBUG_DEFS_DBG64 += -DTNF_DEBUG
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-parentheses
@@ -101,12 +87,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS) lint32
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/hermon/Makefile b/usr/src/uts/sparc/hermon/Makefile
index b91d41e52c..27d82f4688 100644
--- a/usr/src/uts/sparc/hermon/Makefile
+++ b/usr/src/uts/sparc/hermon/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = hermon
OBJECTS = $(HERMON_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(HERMON_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/ib/adapters/hermon
LDFLAGS += -dy -Ndrv/ib -Nmisc/ibtl -Nmisc/ibmf
@@ -54,7 +53,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -67,11 +65,12 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#DEBUG_DEFS_DBG32 += -DTNF_DEBUG
#DEBUG_DEFS_DBG64 += -DTNF_DEBUG
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
+#
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
+#
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-switch
CERRWARN += -_gcc=-Wno-unused-value
CERRWARN += -_gcc=-Wno-unused-label
@@ -91,12 +90,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/hid/Makefile b/usr/src/uts/sparc/hid/Makefile
index 85f360fd7d..7baf7a31e0 100644
--- a/usr/src/uts/sparc/hid/Makefile
+++ b/usr/src/uts/sparc/hid/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = hid
OBJECTS = $(HID_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(HID_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -50,11 +49,6 @@ ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
include $(UTSBASE)/sparc/Makefile.sparc
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
# depends on misc/usba
#
LDFLAGS += -dy -Nmisc/usba -Nmisc/hidparser -Ndacf/consconfig_dacf
@@ -63,17 +57,15 @@ LDFLAGS += -dy -Nmisc/usba -Nmisc/hidparser -Ndacf/consconfig_dacf
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-CERRWARN += -_gcc=-Wno-parentheses
-
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
+CFLAGS += $(CCVERBOSE)
+CERRWARN += -_gcc=-Wno-parentheses
.KEEP_STATE:
@@ -85,12 +77,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/hidparser/Makefile b/usr/src/uts/sparc/hidparser/Makefile
index 31eb5a23b6..8ed0f9cc6b 100644
--- a/usr/src/uts/sparc/hidparser/Makefile
+++ b/usr/src/uts/sparc/hidparser/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = hidparser
OBJECTS = $(HIDPARSER_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(HIDPARSER_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
@@ -49,9 +48,11 @@ ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
include $(UTSBASE)/sparc/Makefile.sparc
-#
-# lint pass one enforcement
-#
+#
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
+#
CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
@@ -64,7 +65,6 @@ LDFLAGS += -dy -Nmisc/usba
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
.KEEP_STATE:
@@ -77,12 +77,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
diff --git a/usr/src/uts/sparc/hme/Makefile b/usr/src/uts/sparc/hme/Makefile
index 492dfe2a25..59b95ff672 100644
--- a/usr/src/uts/sparc/hme/Makefile
+++ b/usr/src/uts/sparc/hme/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = hme
OBJECTS = $(HME_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(HME_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -50,7 +49,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -76,12 +74,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/hook/Makefile b/usr/src/uts/sparc/hook/Makefile
index 5e68af14d3..8b45c9fa43 100644
--- a/usr/src/uts/sparc/hook/Makefile
+++ b/usr/src/uts/sparc/hook/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = hook
OBJECTS = $(HOOK_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(HOOK_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -55,11 +54,12 @@ CERRWARN += $(CNOWARN_UNINIT)
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK)
#
-# lint pass one enforcement
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
CFLAGS += $(CCVERBOSE)
@@ -76,12 +76,6 @@ clean: $(CLEAN_DEPS) $(SISCLEAN_DEPS)
clobber: $(CLOBBER_DEPS) $(SISCLEAN_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS) $(SISCHECK_DEPS)
#
diff --git a/usr/src/uts/sparc/hpcsvc/Makefile b/usr/src/uts/sparc/hpcsvc/Makefile
index 3472ca053a..d77cb933a9 100644
--- a/usr/src/uts/sparc/hpcsvc/Makefile
+++ b/usr/src/uts/sparc/hpcsvc/Makefile
@@ -42,7 +42,6 @@ UTSBASE = ../..
#
MODULE = hpcsvc
OBJECTS = $(HPCSVC_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(HPCSVC_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -54,7 +53,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -63,12 +61,13 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
DEBUG_FLGS =
DEBUG_DEFS += $(DEBUG_FLGS)
-CERRWARN += $(CNOWARN_UNINIT)
-
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
+#
+CFLAGS += $(CCVERBOSE)
+CERRWARN += $(CNOWARN_UNINIT)
#
# Default build targets.
@@ -83,12 +82,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/hsfs/Makefile b/usr/src/uts/sparc/hsfs/Makefile
index 1303c74a7e..a9aed3cc3b 100644
--- a/usr/src/uts/sparc/hsfs/Makefile
+++ b/usr/src/uts/sparc/hsfs/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = hsfs
OBJECTS = $(HSFS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(HSFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE)
#
@@ -52,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -66,16 +64,10 @@ CFLAGS += $(CCVERBOSE)
LDFLAGS += -dy -N fs/specfs
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
@@ -96,12 +88,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/hubd/Makefile b/usr/src/uts/sparc/hubd/Makefile
index c53d68add8..a3c23bda29 100644
--- a/usr/src/uts/sparc/hubd/Makefile
+++ b/usr/src/uts/sparc/hubd/Makefile
@@ -20,15 +20,12 @@
# CDDL HEADER END
#
#
-# uts/sparc/hubd/Makefile
-#
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# This makefile drives the production of the hubd driver kernel module.
# sparc architecture dependent
#
-#ident "%Z%%M% %I% %E% SMI"
#
# Path to the base of the uts directory tree (usually /usr/src/uts).
@@ -53,7 +50,6 @@ $(ROOTCONFIGFILES):= FILEMODE = $(CFILEMODE)
#
MODULE = hubd
OBJECTS = $(HUBD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(HUBD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -61,9 +57,6 @@ ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
include $(UTSBASE)/sparc/Makefile.sparc
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
@@ -75,7 +68,6 @@ LDFLAGS += -dy -Nmisc/usba
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
.KEEP_STATE:
@@ -88,12 +80,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS) $(ROOTCONFIGFILES)
$(ROOTETCUSB)/%: $(ROOTETCUSB) $(SRCDIR)/%
diff --git a/usr/src/uts/sparc/hxge/Makefile b/usr/src/uts/sparc/hxge/Makefile
index 46343ada36..b093760a0d 100644
--- a/usr/src/uts/sparc/hxge/Makefile
+++ b/usr/src/uts/sparc/hxge/Makefile
@@ -37,7 +37,6 @@ UTSBASE = ../..
MODULE = hxge
HXGE_OBJECTS = $(HXGE_OBJS) $(HXGE_HPI_OBJS)
OBJECTS = $(HXGE_OBJECTS:%=$(OBJS_DIR)/%)
-LINTS = $(HXGE_OBJECTS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/hxge
@@ -57,7 +56,6 @@ CLEANFILES += $(MODSTUBS_O)
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -69,25 +67,20 @@ CFLAGS += -dalign
# Include hxge specific header files
#
INC_PATH += -I$(UTSBASE)/common/io/hxge
-#
-#
-# lint pass one enforcement
-#
+
CFLAGS += -DSOLARIS
#
# Debug flags
#
# CFLAGS += -DHXGE_DEBUG -DHPI_DEBUG
#
-LINTFLAGS += -DSOLARIS
-#
-# STREAMS, DDI API limitations and other ON header file definitions such as ethernet.h
-# force us to turn off these lint checks.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_FALSE_LOGICAL_EXPR
+#
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
+#
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += -_gcc=-Wno-switch
CERRWARN += $(CNOWARN_UNINIT)
@@ -111,12 +104,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/i8042/Makefile b/usr/src/uts/sparc/i8042/Makefile
index a08c71cac1..cd25201939 100644
--- a/usr/src/uts/sparc/i8042/Makefile
+++ b/usr/src/uts/sparc/i8042/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = i8042
OBJECTS = $(I8042_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(I8042_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -52,15 +51,13 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) # $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
CERRWARN += -_gcc=-Wno-unused-function
@@ -77,12 +74,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ib/Makefile b/usr/src/uts/sparc/ib/Makefile
index 83e44c69f2..5bb271e6c1 100644
--- a/usr/src/uts/sparc/ib/Makefile
+++ b/usr/src/uts/sparc/ib/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = ib
OBJECTS = $(IB_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(IB_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/ib/ibnex
@@ -54,7 +53,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -63,24 +61,13 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
ALL_BUILDS = $(ALL_BUILDSONLY64)
DEF_BUILDS = $(DEF_BUILDSONLY64)
-CERRWARN += $(CNOWARN_UNINIT)
-
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
+CFLAGS += $(CCVERBOSE)
+CERRWARN += $(CNOWARN_UNINIT)
#
# depends on misc/ibtl
@@ -100,12 +87,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS) lint32
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ibcm/Makefile b/usr/src/uts/sparc/ibcm/Makefile
index 71f1f79fcc..41681e88d6 100644
--- a/usr/src/uts/sparc/ibcm/Makefile
+++ b/usr/src/uts/sparc/ibcm/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = ibcm
OBJECTS = $(IBCM_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(IBCM_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -50,7 +49,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -59,11 +57,12 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
ALL_BUILDS = $(ALL_BUILDSONLY64)
DEF_BUILDS = $(DEF_BUILDSONLY64)
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
+#
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
+#
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-switch
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-type-limits
@@ -77,15 +76,6 @@ CERRWARN += -_gcc=-Wno-unused-value
#
LDFLAGS += -dy -Nmisc/ibtl -Nmisc/ibmf -Ndrv/ip
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
#
# Default build targets.
@@ -100,12 +90,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS) lint32
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ibdm/Makefile b/usr/src/uts/sparc/ibdm/Makefile
index 1308ed72b3..2b56a0f005 100644
--- a/usr/src/uts/sparc/ibdm/Makefile
+++ b/usr/src/uts/sparc/ibdm/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = ibdm
OBJECTS = $(IBDM_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(IBDM_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -52,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -62,22 +60,16 @@ ALL_BUILDS = $(ALL_BUILDSONLY64)
DEF_BUILDS = $(DEF_BUILDSONLY64)
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
# depends on misc/ibtl, and misc/ibmf
#
LDFLAGS += -dy -Nmisc/ibtl -Nmisc/ibmf
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
#
@@ -93,12 +85,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS) lint32
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ibdma/Makefile b/usr/src/uts/sparc/ibdma/Makefile
index cb60c81a3c..00596363ea 100644
--- a/usr/src/uts/sparc/ibdma/Makefile
+++ b/usr/src/uts/sparc/ibdma/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = ibdma
OBJECTS = $(IBDMA_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(IBDMA_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -50,7 +49,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -59,9 +57,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
ALL_BUILDS = $(ALL_BUILDSONLY64)
DEF_BUILDS = $(DEF_BUILDSONLY64)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
@@ -70,13 +65,6 @@ CFLAGS += $(CCVERBOSE)
LDFLAGS += -dy -Nmisc/ibtl -Nmisc/ibmf
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -89,12 +77,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS) lint32
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ibmf/Makefile b/usr/src/uts/sparc/ibmf/Makefile
index 6de209c25c..c353e95e8d 100644
--- a/usr/src/uts/sparc/ibmf/Makefile
+++ b/usr/src/uts/sparc/ibmf/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = ibmf
OBJECTS = $(IBMF_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(IBMF_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
LDFLAGS += -dy -Nmisc/ibtl
@@ -52,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -64,18 +62,11 @@ ALL_BUILDS = $(ALL_BUILDSONLY64)
DEF_BUILDS = $(DEF_BUILDSONLY64)
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
#
@@ -91,12 +82,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS) lint32
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ibp/Makefile b/usr/src/uts/sparc/ibp/Makefile
index 8e837ad67d..12a2446eea 100644
--- a/usr/src/uts/sparc/ibp/Makefile
+++ b/usr/src/uts/sparc/ibp/Makefile
@@ -33,7 +33,6 @@ UTSBASE = ../..
#
MODULE = ibp
OBJECTS = $(IBD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(IBD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/ibd
LDFLAGS += -dy -Nmisc/mac -Nmisc/ibtl -Nmisc/ibcm -Nmisc/ibmf -Ndrv/ip \
@@ -48,7 +47,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -56,21 +54,13 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
ALL_BUILDS = $(ALL_BUILDSONLY64)
DEF_BUILDS = $(DEF_BUILDSONLY64)
-CLEANLINTFILES += $(LINT32_FILES)
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-switch
@@ -87,12 +77,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS) lint32
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ibtl/Makefile b/usr/src/uts/sparc/ibtl/Makefile
index 31da41ff10..cef3dc1e16 100644
--- a/usr/src/uts/sparc/ibtl/Makefile
+++ b/usr/src/uts/sparc/ibtl/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = ibtl
OBJECTS = $(IBTL_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(IBTL_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -51,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -60,21 +58,12 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
ALL_BUILDS = $(ALL_BUILDSONLY64)
DEF_BUILDS = $(DEF_BUILDSONLY64)
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-type-limits
CERRWARN += -_gcc=-Wno-switch
CERRWARN += $(CNOWARN_UNINIT)
@@ -94,12 +83,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS) lint32
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/icmp/Makefile b/usr/src/uts/sparc/icmp/Makefile
index 55c11a1ea0..4bf37054c0 100644
--- a/usr/src/uts/sparc/icmp/Makefile
+++ b/usr/src/uts/sparc/icmp/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = icmp
OBJECTS = $(ICMP_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(ICMP_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
ROOTLINK = $(ROOT_STRMOD_DIR)/$(MODULE) $(ROOT_SOCK_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/inet/ip
@@ -59,12 +58,8 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
@@ -73,15 +68,6 @@ CFLAGS += $(CCVERBOSE)
LDFLAGS += -dy -Ndrv/ip -Nfs/sockfs
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -94,12 +80,6 @@ clean: $(CLEAN_DEPS) $(SISCLEAN_DEPS)
clobber: $(CLOBBER_DEPS) $(SISCLEAN_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS) $(SISCHECK_DEPS)
$(ROOTLINK): $(ROOT_STRMOD_DIR) $(ROOT_SOCK_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/icmp6/Makefile b/usr/src/uts/sparc/icmp6/Makefile
index 2c3983a677..9c22a17601 100644
--- a/usr/src/uts/sparc/icmp6/Makefile
+++ b/usr/src/uts/sparc/icmp6/Makefile
@@ -23,7 +23,7 @@
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the icmp6 IP driver
#
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = icmp6
OBJECTS = $(ICMP6_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(ICMP6_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/inet/ip
@@ -53,15 +52,9 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
# depends on ip ip6 and icmp
#
LDFLAGS += -dy -Ndrv/ip -Ndrv/ip6 -Ndrv/icmp
@@ -79,12 +72,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/idm/Makefile b/usr/src/uts/sparc/idm/Makefile
index 6ae749af13..bac16c2e6c 100644
--- a/usr/src/uts/sparc/idm/Makefile
+++ b/usr/src/uts/sparc/idm/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = idm
OBJECTS = $(IDM_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(IDM_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -50,7 +49,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -80,12 +78,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/idmap/Makefile b/usr/src/uts/sparc/idmap/Makefile
index a832800e41..a5c07efd4d 100644
--- a/usr/src/uts/sparc/idmap/Makefile
+++ b/usr/src/uts/sparc/idmap/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = idmap
OBJECTS = $(IDMAP_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(IDMAP_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -53,20 +52,17 @@ include $(UTSBASE)/sparc/Makefile.sparc
LDFLAGS += -dy -N"sys/doorfs" -N"strmod/rpcmod"
#
-# Lint warnings turned off
+# warnings turned off
#
# Function variables unused for rpcgen-generated code
# Constant conditions for do { } while (0) macros
#
-LINTTAGS += -erroff=E_FUNC_VAR_UNUSED -erroff=E_CONSTANT_CONDITION
-
CERRWARN += -_gcc=-Wno-unused-variable
#
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CLEANFILES += $(MODSTUBS_O)
@@ -83,12 +79,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/igb/Makefile b/usr/src/uts/sparc/igb/Makefile
index 3e8c78c94d..a8bb94b376 100644
--- a/usr/src/uts/sparc/igb/Makefile
+++ b/usr/src/uts/sparc/igb/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
MODULE = igb
OBJECTS = $(IGB_OBJS:%=$(OBJS_DIR)/%)
OBJECTS += $(E1000API_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(IGB_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/igb
@@ -50,10 +49,13 @@ CONF_SRCDIR = $(UTSBASE)/common/io/igb
#
include $(UTSBASE)/sparc/Makefile.sparc
-LINTFLAGS += \
- -I$(UTSBASE)/common/io/igb \
- -I$(UTSBASE)/common/io/e1000api
+#
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
+#
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-switch
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_cc=-erroff=E_STATEMENT_NOT_REACHED
@@ -62,7 +64,6 @@ CERRWARN += -_cc=-erroff=E_STATEMENT_NOT_REACHED
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -71,11 +72,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
INC_PATH += -I$(CONF_SRCDIR) -I$(UTSBASE)/common/io/e1000api
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
# Turn on doubleword alignment for 64 bit registers
#
CFLAGS += -dalign
@@ -98,12 +94,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/inst_sync/Makefile b/usr/src/uts/sparc/inst_sync/Makefile
index a400fc61a2..a7192958e6 100644
--- a/usr/src/uts/sparc/inst_sync/Makefile
+++ b/usr/src/uts/sparc/inst_sync/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = inst_sync
OBJECTS = $(INSTANCE_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(INSTANCE_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_SYS_DIR)/$(MODULE)
#
@@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CERRWARN += -_gcc=-Wno-parentheses
@@ -76,12 +74,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/intpexec/Makefile b/usr/src/uts/sparc/intpexec/Makefile
index 6de8290733..ac4dde7fcc 100644
--- a/usr/src/uts/sparc/intpexec/Makefile
+++ b/usr/src/uts/sparc/intpexec/Makefile
@@ -41,14 +41,12 @@ UTSBASE = ../..
#
MODULE = intpexec
OBJECTS = $(INTPEXEC_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(INTPEXEC_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_EXEC_DIR)/$(MODULE)
#
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -75,12 +73,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ip/Makefile b/usr/src/uts/sparc/ip/Makefile
index 4b6ac89108..58b5552cc6 100644
--- a/usr/src/uts/sparc/ip/Makefile
+++ b/usr/src/uts/sparc/ip/Makefile
@@ -24,7 +24,7 @@
#
# Copyright 2019 Joyent, Inc.
#
-# This makefile drives the production of the ip driver
+# This makefile drives the production of the ip driver
# kernel module.
#
# sparc architecture dependent
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = ip
OBJECTS = $(IP_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(IP_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
ROOTLINK = $(ROOT_STRMOD_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/inet/ip
@@ -53,14 +52,10 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-CFLAGS += -xinline=tcp_set_ws_value
+CFLAGS += -xinline=tcp_set_ws_value
+
#
# To get the BPF header files included by ipnet.h
#
@@ -80,17 +75,11 @@ LDFLAGS += -dy -Nmisc/md5 -Ncrypto/swrand -Nmisc/hook -Nmisc/neti
LDFLAGS += -N misc/cc -N cc/cc_sunreno -N cc/cc_newreno -N cc/cc_cubic
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += -_gcc=-Wno-unused-function
@@ -112,12 +101,6 @@ clean: $(CLEAN_DEPS) $(SISCLEAN_DEPS)
clobber: $(CLOBBER_DEPS) $(SISCLEAN_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS) $(SISCHECK_DEPS)
$(ROOTLINK): $(ROOT_STRMOD_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/ip6/Makefile b/usr/src/uts/sparc/ip6/Makefile
index 4108089199..741c43cd4b 100644
--- a/usr/src/uts/sparc/ip6/Makefile
+++ b/usr/src/uts/sparc/ip6/Makefile
@@ -23,9 +23,9 @@
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
+
#
-# This makefile drives the production of the ip6 driver
+# This makefile drives the production of the ip6 driver
# kernel module.
#
# sparc architecture dependent
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = ip6
OBJECTS = $(IP6_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(IP6_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/inet/ip
@@ -54,12 +53,8 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
@@ -80,12 +75,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ipc/Makefile b/usr/src/uts/sparc/ipc/Makefile
index 1ed5f1f9fe..1928960a7e 100644
--- a/usr/src/uts/sparc/ipc/Makefile
+++ b/usr/src/uts/sparc/ipc/Makefile
@@ -40,14 +40,12 @@ UTSBASE = ../..
#
MODULE = ipc
OBJECTS = $(IPC_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(IPC_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -61,11 +59,10 @@ include $(UTSBASE)/sparc/Makefile.sparc
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
@@ -83,12 +80,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ipd/Makefile b/usr/src/uts/sparc/ipd/Makefile
index 597bf0fb8d..f9b330b74d 100644
--- a/usr/src/uts/sparc/ipd/Makefile
+++ b/usr/src/uts/sparc/ipd/Makefile
@@ -20,14 +20,12 @@ UTSBASE = ../..
MODULE = ipd
OBJECTS = $(IPD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(IPD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/inet/ipd
include $(UTSBASE)/sparc/Makefile.sparc
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
LDFLAGS += -dy -Nmisc/neti -Nmisc/hook
@@ -42,12 +40,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
include $(UTSBASE)/sparc/Makefile.targ
diff --git a/usr/src/uts/sparc/ipf/Makefile b/usr/src/uts/sparc/ipf/Makefile
index 3250d51003..9352b1996d 100644
--- a/usr/src/uts/sparc/ipf/Makefile
+++ b/usr/src/uts/sparc/ipf/Makefile
@@ -26,7 +26,7 @@
# uts/sparc/ipf/Makefile
#
#
-# This makefile drives the production of the ipf driver
+# This makefile drives the production of the ipf driver
# kernel module.
#
# sparc architecture dependent
@@ -42,7 +42,6 @@ UTSBASE = ../..
#
MODULE = ipf
OBJECTS = $(IPF_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(IPF_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/inet/ipf
@@ -55,14 +54,9 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
-#
-# lint pass one enforcement and OS version
-#
-CFLAGS += $(CCVERBOSE)
-CPPFLAGS += -DIPFILTER_LKM -DIPFILTER_LOG -DIPFILTER_LOOKUP
+CPPFLAGS += -DIPFILTER_LKM -DIPFILTER_LOG -DIPFILTER_LOOKUP
CPPFLAGS += -DSUNDDI -DSOLARIS2=$(RELEASE_MINOR) -DIRE_ILL_CN -DUSE_INET6
LDFLAGS += -dy -Ndrv/ip -Nmisc/md5 -Nmisc/neti -Nmisc/hook -Nmisc/kcf
LDFLAGS += -Nmisc/mac
@@ -70,15 +64,11 @@ LDFLAGS += -Nmisc/mac
INC_PATH += -I$(UTSBASE)/common/inet/ipf
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_STATIC_UNUSED
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-unused-function
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-parentheses
@@ -98,12 +88,6 @@ clean: $(CLEAN_DEPS) $(SISCLEAN_DEPS)
clobber: $(CLOBBER_DEPS) $(SISCLEAN_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS) $(SISCHECK_DEPS)
#
diff --git a/usr/src/uts/sparc/ipgpc/Makefile b/usr/src/uts/sparc/ipgpc/Makefile
index a5d60bf915..a6415e216e 100644
--- a/usr/src/uts/sparc/ipgpc/Makefile
+++ b/usr/src/uts/sparc/ipgpc/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = ipgpc
OBJECTS = $(IPGPC_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(IPGPC_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_IPP_DIR)/$(MODULE)
#
@@ -57,25 +56,23 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
+LDFLAGS += -dy -Ndrv/ip
+
#
-# lint pass one enforcement
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
-CFLAGS += $(CCVERBOSE)
-
-LDFLAGS += -dy -Ndrv/ip
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
#
# Default build targets.
@@ -90,12 +87,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ipnet/Makefile b/usr/src/uts/sparc/ipnet/Makefile
index 3693a3df57..b2a8c688f7 100644
--- a/usr/src/uts/sparc/ipnet/Makefile
+++ b/usr/src/uts/sparc/ipnet/Makefile
@@ -1,4 +1,4 @@
-#
+#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
@@ -23,7 +23,7 @@
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# This makefile drives the production of the ipnet driver
+# This makefile drives the production of the ipnet driver
# kernel module.
#
# sparc architecture dependent
@@ -41,7 +41,6 @@ UTSBASE = ../..
MODULE = ipnet
OBJECTS = $(IPNET_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(IPNET_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/inet/ipnet
@@ -56,28 +55,11 @@ include $(UTSBASE)/sparc/Makefile.sparc
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
-#
-# lint pass one enforcement
-#
-
CFLAGS += $(CCVERBOSE)
#
-# lint pass one enforcement
-#
-
-CFLAGS += $(CCVERBOSE)
-
-#
-# STREAMS API limitations force us to turn off these lint checks.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-
-#
# Depends on ip, neti, and hook.
#
LDFLAGS += -dy -Ndrv/ip -Nmisc/neti -Nmisc/hook
@@ -101,12 +83,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ippctl/Makefile b/usr/src/uts/sparc/ippctl/Makefile
index 0f4ce838ef..140b60b8fd 100644
--- a/usr/src/uts/sparc/ippctl/Makefile
+++ b/usr/src/uts/sparc/ippctl/Makefile
@@ -23,9 +23,6 @@
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# uts/sparc/ippctl/Makefile
#
# This makefile drives the production of the ipp driver
# kernel module.
@@ -41,7 +38,6 @@ UTSBASE = ../..
#
MODULE = ippctl
OBJECTS = $(IPP_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(IPP_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/ipp
@@ -54,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -63,13 +58,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -82,12 +70,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/iptun/Makefile b/usr/src/uts/sparc/iptun/Makefile
index 3b5ad846bf..ec78eb85ac 100644
--- a/usr/src/uts/sparc/iptun/Makefile
+++ b/usr/src/uts/sparc/iptun/Makefile
@@ -33,7 +33,6 @@ UTSBASE = ../..
#
MODULE = iptun
OBJECTS = $(IPTUN_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(IPTUN_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/inet/iptun
@@ -46,18 +45,15 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
# Overrides
#
-CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -Ndrv/dld -Nmisc/dls -Nmisc/mac -Ndrv/ip
+CFLAGS += $(CCVERBOSE)
+LDFLAGS += -dy -Ndrv/dld -Nmisc/dls -Nmisc/mac -Ndrv/ip
INC_PATH += -I$(UTSBASE)/common/io/bpf
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += -_gcc=-Wno-switch
@@ -76,12 +72,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/iscsi/Makefile b/usr/src/uts/sparc/iscsi/Makefile
index 7b0c73fd6b..56decc8082 100644
--- a/usr/src/uts/sparc/iscsi/Makefile
+++ b/usr/src/uts/sparc/iscsi/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = iscsi
OBJECTS = $(ISCSI_INITIATOR_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(ISCSI_INITIATOR_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/scsi/adapters/iscsi
@@ -52,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets.
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
# includes
@@ -65,8 +63,6 @@ INC_PATH += -I$(SRC)/common/hdcrc
LDFLAGS += -dy -N"misc/scsi" -N"fs/sockfs" -N"sys/doorfs" -N"misc/md5" -Nmisc/ksocket
LDFLAGS += -N"misc/idm"
-LINTFLAGS += -a -erroff=E_BAD_PTR_CAST_ALIGN -erroff=E_PTRDIFF_OVERFLOW
-LINTFLAGS64 += -a -erroff=E_BAD_PTR_CAST_ALIGN -erroff=E_PTRDIFF_OVERFLOW
CERRWARN += -_gcc=-Wno-switch
CERRWARN += -_gcc=-Wno-unused-function
@@ -87,12 +83,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/iscsit/Makefile b/usr/src/uts/sparc/iscsit/Makefile
index 45954abf12..379ab9195f 100644
--- a/usr/src/uts/sparc/iscsit/Makefile
+++ b/usr/src/uts/sparc/iscsit/Makefile
@@ -21,7 +21,7 @@
#
# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
-# This makefile drives the production of the iscsit pseudo-driver for
+# This makefile drives the production of the iscsit pseudo-driver for
# COMSTAR.
#
@@ -38,7 +38,6 @@ ARCHDIR:sh = cd ..; basename `pwd`
#
MODULE = iscsit
OBJECTS = $(ISCSIT_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(ISCSIT_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/comstar/port/iscsit
@@ -51,7 +50,6 @@ include ../Makefile.$(ARCHDIR)
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -79,12 +77,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/iser/Makefile b/usr/src/uts/sparc/iser/Makefile
index f4fd1b5c41..0812f68ae6 100644
--- a/usr/src/uts/sparc/iser/Makefile
+++ b/usr/src/uts/sparc/iser/Makefile
@@ -33,7 +33,6 @@ UTSBASE = ../..
#
MODULE = iser
OBJECTS = $(ISER_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(ISER_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
LDFLAGS += -dy -Nmisc/ibtl -Nmisc/ibcm -Nmisc/idm
CONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/iser
@@ -49,7 +48,6 @@ CERRWARN += $(CNOWARN_UNINIT)
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -65,12 +63,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/iwscn/Makefile b/usr/src/uts/sparc/iwscn/Makefile
index 0a74c9ca33..965e74592f 100644
--- a/usr/src/uts/sparc/iwscn/Makefile
+++ b/usr/src/uts/sparc/iwscn/Makefile
@@ -20,11 +20,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/iwscn/Makefile
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the iwscn driver
#
@@ -41,7 +40,6 @@ UTSBASE = ../..
#
MODULE = iwscn
OBJECTS = $(IWSCN_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(IWSCN_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -54,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -78,12 +75,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
diff --git a/usr/src/uts/sparc/ixgbe/Makefile b/usr/src/uts/sparc/ixgbe/Makefile
index 493f91652d..3dcaeed9e3 100644
--- a/usr/src/uts/sparc/ixgbe/Makefile
+++ b/usr/src/uts/sparc/ixgbe/Makefile
@@ -42,7 +42,6 @@ UTSBASE = ../..
MODULE = ixgbe
OBJECTS = $(IXGBE_OBJS:%=$(OBJS_DIR)/%)
OBJECTS += $(IXGBE_INTC_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(IXGBE_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/ixgbe
@@ -54,17 +53,10 @@ include $(UTSBASE)/sparc/Makefile.sparc
INC_PATH += -I$(UTSBASE)/common/io/ixgbe
INC_PATH += -I$(UTSBASE)/common/io/ixgbe/core
-CERRWARN += -_gcc=-Wno-parentheses
-CERRWARN += -_gcc=-Wno-switch
-CERRWARN += $(CNOWARN_UNINIT)
-CERRWARN += -_gcc=-Wno-unused-value
-CERRWARN += -_cc=-erroff=E_STATEMENT_NOT_REACHED
-
#
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -73,9 +65,16 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
INC_PATH += -I$(CONF_SRCDIR)
#
-# lint pass one enforcement
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
CFLAGS += $(CCVERBOSE)
+CERRWARN += -_gcc=-Wno-parentheses
+CERRWARN += -_gcc=-Wno-switch
+CERRWARN += $(CNOWARN_UNINIT)
+CERRWARN += -_gcc=-Wno-unused-value
+CERRWARN += -_cc=-erroff=E_STATEMENT_NOT_REACHED
#
# Turn on doubleword alignment for 64 bit registers
@@ -100,12 +99,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/javaexec/Makefile b/usr/src/uts/sparc/javaexec/Makefile
index 7b25a52726..6923b4d181 100644
--- a/usr/src/uts/sparc/javaexec/Makefile
+++ b/usr/src/uts/sparc/javaexec/Makefile
@@ -43,7 +43,6 @@ UTSBASE = ../..
#
MODULE = javaexec
OBJECTS = $(JAVAEXEC_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(JAVAEXEC_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_EXEC_DIR)/$(MODULE)
#
@@ -57,7 +56,6 @@ CERRWARN += -_gcc=-Wno-parentheses
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -78,12 +76,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/kaio/Makefile b/usr/src/uts/sparc/kaio/Makefile
index 41f948fc03..8961401729 100644
--- a/usr/src/uts/sparc/kaio/Makefile
+++ b/usr/src/uts/sparc/kaio/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = kaio
OBJECTS = $(KAIO_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(KAIO_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_SYS_DIR)/$(MODULE)
#
@@ -52,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -63,18 +61,11 @@ $(MODSTUBS_O) := AS_CPPFLAGS += -DKAIO_MODULE
CLEANFILES += $(MODSTUBS_O)
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += $(CNOWARN_UNINIT)
@@ -92,12 +83,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/kb8042/Makefile b/usr/src/uts/sparc/kb8042/Makefile
index 258a09323a..efe5750d43 100644
--- a/usr/src/uts/sparc/kb8042/Makefile
+++ b/usr/src/uts/sparc/kb8042/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = kb8042
OBJECTS = $(KB8042_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(KB8042_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -54,15 +53,13 @@ LDFLAGS += -dy -Nmisc/kbtrans
# Define targets
#
ALL_TARGET = $(BINARY) # $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
CERRWARN += $(CNOWARN_UNINIT)
@@ -79,12 +76,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/kbtrans/Makefile b/usr/src/uts/sparc/kbtrans/Makefile
index 0669817680..fb9512b47a 100644
--- a/usr/src/uts/sparc/kbtrans/Makefile
+++ b/usr/src/uts/sparc/kbtrans/Makefile
@@ -42,7 +42,6 @@ UTSBASE = ../..
#
MODULE = kbtrans
OBJECTS = $(KBTRANS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(KBTRANS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -50,26 +49,18 @@ ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
include $(UTSBASE)/sparc/Makefile.sparc
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
#
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-empty-body
CERRWARN += -_gcc=-Wno-unused-braces
@@ -83,12 +74,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
diff --git a/usr/src/uts/sparc/kcf/Makefile b/usr/src/uts/sparc/kcf/Makefile
index 7d7eee4c01..cdd8cfdae5 100644
--- a/usr/src/uts/sparc/kcf/Makefile
+++ b/usr/src/uts/sparc/kcf/Makefile
@@ -39,7 +39,6 @@ COM_DIR = $(COMMONBASE)/crypto
#
MODULE = kcf
OBJECTS = $(KCF_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(KCF_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -51,20 +50,16 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# Linkage dependencies
-#
+CFLAGS += -I$(COM_DIR)
#
-# lint pass one enforcement
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
-CFLAGS += $(CCVERBOSE) -I$(COM_DIR)
-
-LINTTAGS += -I$(COM_DIR)
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-switch
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-parentheses
@@ -83,12 +78,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/keysock/Makefile b/usr/src/uts/sparc/keysock/Makefile
index f73ad4e981..9c7a524d1b 100644
--- a/usr/src/uts/sparc/keysock/Makefile
+++ b/usr/src/uts/sparc/keysock/Makefile
@@ -25,7 +25,7 @@
#
#
-# This makefile drives the production of the keysock driver
+# This makefile drives the production of the keysock driver
# kernel module.
#
# sparc architecture dependent
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = keysock
OBJECTS = $(KEYSOCK_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(KEYSOCK_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
ROOTLINK = $(ROOT_STRMOD_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/inet/ip
@@ -55,7 +54,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
#
@@ -64,20 +62,11 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
LDFLAGS += -dy -Ndrv/ip
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_STATIC_UNUSED
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-unused-variable
#
@@ -93,12 +82,6 @@ clean: $(CLEAN_DEPS) $(SISCLEAN_DEPS)
clobber: $(CLOBBER_DEPS) $(SISCLEAN_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS) $(SISCHECK_DEPS)
$(ROOTLINK): $(ROOT_STRMOD_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/kgssapi/Makefile b/usr/src/uts/sparc/kgssapi/Makefile
index 3e25d28a02..315d1df70b 100644
--- a/usr/src/uts/sparc/kgssapi/Makefile
+++ b/usr/src/uts/sparc/kgssapi/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
MODULE = kgssapi
OBJECTS = $(KGSSD_OBJS:%=$(OBJS_DIR)/%)
OBJECTS += $(KGSSD_DERIVED_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(KGSSD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
# Include common rules.
@@ -49,27 +48,19 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_KGSS_DIR)
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
# Define dependencies on rpc, rpcsec, and tlimod
#
LDFLAGS += -dy -N strmod/rpcmod -N misc/rpcsec -N misc/tlimod
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += $(CNOWARN_UNINIT)
@@ -86,12 +77,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/kiconv_emea/Makefile b/usr/src/uts/sparc/kiconv_emea/Makefile
index 4afc3065c1..e974575042 100644
--- a/usr/src/uts/sparc/kiconv_emea/Makefile
+++ b/usr/src/uts/sparc/kiconv_emea/Makefile
@@ -19,12 +19,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/kiconv_emea/Makefile
-#
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the kiconv_emea kernel module.
#
@@ -41,7 +39,6 @@ UTSBASE = ../..
#
MODULE = kiconv_emea
OBJECTS = $(KICONV_EMEA_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(KICONV_EMEA_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_KICONV_DIR)/$(MODULE)
#
@@ -53,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -62,13 +58,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -81,12 +70,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/kiconv_ja/Makefile b/usr/src/uts/sparc/kiconv_ja/Makefile
index de9f8e0559..a7c5252688 100644
--- a/usr/src/uts/sparc/kiconv_ja/Makefile
+++ b/usr/src/uts/sparc/kiconv_ja/Makefile
@@ -19,12 +19,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/kiconv_ja/Makefile
-#
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the kiconv_ja kernel module.
#
@@ -41,7 +39,6 @@ UTSBASE = ../..
#
MODULE = kiconv_ja
OBJECTS = $(KICONV_JA_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(KICONV_JA_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_KICONV_DIR)/$(MODULE)
#
@@ -53,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -62,13 +58,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -81,12 +70,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/kiconv_ko/Makefile b/usr/src/uts/sparc/kiconv_ko/Makefile
index 066b2398ba..7af6f50f72 100644
--- a/usr/src/uts/sparc/kiconv_ko/Makefile
+++ b/usr/src/uts/sparc/kiconv_ko/Makefile
@@ -42,7 +42,6 @@ UTSBASE = ../..
#
MODULE = kiconv_ko
OBJECTS = $(KICONV_KO_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(KICONV_KO_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_KICONV_DIR)/$(MODULE)
#
@@ -54,7 +53,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -63,11 +61,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
CERRWARN += -_gcc=-Wno-parentheses
@@ -84,12 +81,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/kiconv_sc/Makefile b/usr/src/uts/sparc/kiconv_sc/Makefile
index b658e00830..c74c128975 100755
--- a/usr/src/uts/sparc/kiconv_sc/Makefile
+++ b/usr/src/uts/sparc/kiconv_sc/Makefile
@@ -19,12 +19,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/kiconv_sc/Makefile
-#
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the kiconv_sc
# kernel module.
@@ -42,7 +40,6 @@ UTSBASE = ../..
#
MODULE = kiconv_sc
OBJECTS = $(KICONV_SC_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(KICONV_SC_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_KICONV_DIR)/$(MODULE)
#
@@ -54,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -63,13 +59,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -82,12 +71,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/kiconv_tc/Makefile b/usr/src/uts/sparc/kiconv_tc/Makefile
index a04c0f0e50..afaae26122 100755
--- a/usr/src/uts/sparc/kiconv_tc/Makefile
+++ b/usr/src/uts/sparc/kiconv_tc/Makefile
@@ -19,12 +19,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/kiconv_tc/Makefile
-#
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the kiconv_tc
# kernel module.
@@ -42,7 +40,6 @@ UTSBASE = ../..
#
MODULE = kiconv_tc
OBJECTS = $(KICONV_TC_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(KICONV_TC_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_KICONV_DIR)/$(MODULE)
#
@@ -54,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -63,13 +59,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -82,12 +71,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/klmmod/Makefile b/usr/src/uts/sparc/klmmod/Makefile
index a3523ab775..955c4289be 100644
--- a/usr/src/uts/sparc/klmmod/Makefile
+++ b/usr/src/uts/sparc/klmmod/Makefile
@@ -36,7 +36,6 @@ UTSBASE = ../..
#
MODULE = klmmod
OBJECTS = $(KLMMOD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(KLMMOD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -48,7 +47,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -76,12 +74,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/klmops/Makefile b/usr/src/uts/sparc/klmops/Makefile
index be0b805e5e..6a85e677c0 100644
--- a/usr/src/uts/sparc/klmops/Makefile
+++ b/usr/src/uts/sparc/klmops/Makefile
@@ -35,7 +35,6 @@ UTSBASE = ../..
#
MODULE = klmops
OBJECTS = $(KLMOPS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(KLMOPS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -47,7 +46,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -70,12 +68,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/kmdb/Makefile b/usr/src/uts/sparc/kmdb/Makefile
index 927e043bf6..ba6242f049 100644
--- a/usr/src/uts/sparc/kmdb/Makefile
+++ b/usr/src/uts/sparc/kmdb/Makefile
@@ -23,21 +23,17 @@
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
-#
UTSBASE = ../..
MODULE = kmdb
OBJECTS = $(KMDB_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(KMDB_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/kmdb
include $(UTSBASE)/sparc/Makefile.sparc
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
CFLAGS += $(CCVERBOSE)
@@ -53,12 +49,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
include $(UTSBASE)/sparc/Makefile.targ
diff --git a/usr/src/uts/sparc/kmech_dummy/Makefile b/usr/src/uts/sparc/kmech_dummy/Makefile
index f8ea726961..08b84ccec1 100644
--- a/usr/src/uts/sparc/kmech_dummy/Makefile
+++ b/usr/src/uts/sparc/kmech_dummy/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = kmech_dummy
OBJECTS = $(KGSS_DUMMY_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(KGSS_DUMMY_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_KGSS_DIR)/$(MODULE)
#
@@ -52,13 +51,9 @@ CERRWARN += -_gcc=-Wno-parentheses
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
+CFLAGS += $(CCVERBOSE)
#
# Define dependency on kgssapi
@@ -78,11 +73,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
#
# Do not install the dummy GSS-API mechanism in the proto area
diff --git a/usr/src/uts/sparc/kmech_krb5/Makefile b/usr/src/uts/sparc/kmech_krb5/Makefile
index dc76bb0d91..8eec486ca3 100644
--- a/usr/src/uts/sparc/kmech_krb5/Makefile
+++ b/usr/src/uts/sparc/kmech_krb5/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = kmech_krb5
OBJECTS = $(KGSS_KRB5_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(KGSS_KRB5_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_KGSS_DIR)/$(MODULE)
#
@@ -51,32 +50,24 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
# Define dependencies on kgssapi and md5
#
LDFLAGS += -dy -N misc/kgssapi -N crypto/md5
-CERRWARN += -_gcc=-Wno-unused-function
-CERRWARN += -_gcc=-Wno-unused-label
-CERRWARN += $(CNOWARN_UNINIT)
-CERRWARN += -_gcc=-Wno-parentheses
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
+CFLAGS += $(CCVERBOSE)
+CERRWARN += -_gcc=-Wno-unused-function
+CERRWARN += -_gcc=-Wno-unused-label
+CERRWARN += $(CNOWARN_UNINIT)
+CERRWARN += -_gcc=-Wno-parentheses
#
# Default build targets.
@@ -91,12 +82,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
KMECHKRB5_BASE=$(UTSBASE)/common/gssapi/mechs/krb5
@@ -107,9 +92,6 @@ $(OBJS_DIR)/%.o: $(KMECHKRB5_BASE)/crypto/crc32/%.c
$(COMPILE.c) $(KGSSDFLAGS) -o $@ $<
$(CTFCONVERT_O)
-$(LINTS_DIR)/%.ln: $(KMECHKRB5_BASE)/crypto/crc32/%.c
- @($(LHEAD) $(LINT.c) $(KGSSDFLAGS) $< $(LTAIL))
-
#
# Include common targets.
#
diff --git a/usr/src/uts/sparc/ksocket/Makefile b/usr/src/uts/sparc/ksocket/Makefile
index 287a7cfda6..3128fc1819 100644
--- a/usr/src/uts/sparc/ksocket/Makefile
+++ b/usr/src/uts/sparc/ksocket/Makefile
@@ -36,7 +36,6 @@ UTSBASE = ../..
#
MODULE = ksocket
OBJECTS = $(KSOCKET_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(KSOCKET_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -48,7 +47,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -70,12 +68,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/kssl/Makefile b/usr/src/uts/sparc/kssl/Makefile
index 566bbeb13a..4adf733e15 100644
--- a/usr/src/uts/sparc/kssl/Makefile
+++ b/usr/src/uts/sparc/kssl/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = kssl
OBJECTS = $(KSSL_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(KSSL_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/inet/kssl
@@ -53,26 +52,16 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
LDFLAGS += -dy -Nmisc/md5 -Nmisc/kcf
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_STATIC_UNUSED
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
#
@@ -88,12 +77,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ksslf/Makefile b/usr/src/uts/sparc/ksslf/Makefile
index a65199e8ec..4bf5cb72a9 100644
--- a/usr/src/uts/sparc/ksslf/Makefile
+++ b/usr/src/uts/sparc/ksslf/Makefile
@@ -21,7 +21,7 @@
#
# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
#
-# This makefile drives the production of the kssl socket filter
+# This makefile drives the production of the kssl socket filter
# kernel module.
#
# sparc architecture dependent
@@ -37,7 +37,6 @@ UTSBASE = ../..
#
MODULE = ksslf
OBJECTS = $(KSSL_SOCKFIL_MOD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(KSSL_SOCKFIL_MOD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_SOCK_DIR)/$(MODULE)
#
@@ -49,24 +48,16 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# lint pass one enforcement and OS version
-#
-CFLAGS += $(CCVERBOSE)
-
LDFLAGS += -dy -Nmisc/md5 -Nmisc/kcf -Ndrv/kssl -Nfs/sockfs
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-switch
CERRWARN += $(CNOWARN_UNINIT)
@@ -83,12 +74,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/kstat/Makefile b/usr/src/uts/sparc/kstat/Makefile
index efe30fdacd..8426fa58aa 100644
--- a/usr/src/uts/sparc/kstat/Makefile
+++ b/usr/src/uts/sparc/kstat/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = kstat
OBJECTS = $(KSTAT_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(KSTAT_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -62,11 +60,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
CERRWARN += $(CNOWARN_UNINIT)
@@ -83,12 +80,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ksyms/Makefile b/usr/src/uts/sparc/ksyms/Makefile
index 34ba77de3f..7eda6dfc1b 100644
--- a/usr/src/uts/sparc/ksyms/Makefile
+++ b/usr/src/uts/sparc/ksyms/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = ksyms
OBJECTS = $(KSYMS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(KSYMS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -56,7 +55,6 @@ CERRWARN += -_gcc=-Wno-parentheses
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -77,12 +75,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ldterm/Makefile b/usr/src/uts/sparc/ldterm/Makefile
index 82f018cb9c..cdcafc0073 100644
--- a/usr/src/uts/sparc/ldterm/Makefile
+++ b/usr/src/uts/sparc/ldterm/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = ldterm
OBJECTS = $(LDTERM_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(LDTERM_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE)
#
@@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -62,13 +60,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
@@ -86,12 +81,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/llc1/Makefile b/usr/src/uts/sparc/llc1/Makefile
index 5cc83a519b..278d1a5c41 100644
--- a/usr/src/uts/sparc/llc1/Makefile
+++ b/usr/src/uts/sparc/llc1/Makefile
@@ -34,7 +34,6 @@ UTSBASE = ../..
#
MODULE = llc1
OBJECTS = $(LLC1_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(LLC1_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -47,7 +46,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -56,12 +54,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
CERRWARN += $(CNOWARN_UNINIT)
@@ -78,12 +74,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/lockstat/Makefile b/usr/src/uts/sparc/lockstat/Makefile
index bc2c04ff53..d4c5d251c4 100644
--- a/usr/src/uts/sparc/lockstat/Makefile
+++ b/usr/src/uts/sparc/lockstat/Makefile
@@ -23,19 +23,16 @@
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
UTSBASE = ../..
MODULE = lockstat
OBJECTS = $(LOCKSTAT_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(LOCKSTAT_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
ROOTLINK = $(ROOT_DTRACE_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/dtrace
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
include $(UTSBASE)/sparc/Makefile.sparc
@@ -53,12 +50,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_DTRACE_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/lofi/Makefile b/usr/src/uts/sparc/lofi/Makefile
index 6fa0f0b8e0..28c1d4e1bd 100644
--- a/usr/src/uts/sparc/lofi/Makefile
+++ b/usr/src/uts/sparc/lofi/Makefile
@@ -35,7 +35,6 @@ UTSBASE = ../..
#
MODULE = lofi
OBJECTS = $(LOFI_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(LOFI_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -48,7 +47,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
LDFLAGS += -dy -Nmisc/cmlb
@@ -60,7 +58,7 @@ CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
-INC_PATH += -I$(SRC)/common/lzma
+INC_PATH += -I$(SRC)/common/lzma
#
# Default build targets.
@@ -75,12 +73,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/lofs/Makefile b/usr/src/uts/sparc/lofs/Makefile
index ec0a876cb1..7be801ec0a 100644
--- a/usr/src/uts/sparc/lofs/Makefile
+++ b/usr/src/uts/sparc/lofs/Makefile
@@ -42,7 +42,6 @@ UTSBASE = ../..
#
MODULE = lofs
OBJECTS = $(LOFS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(LOFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE)
#
@@ -56,7 +55,6 @@ CERRWARN += -_gcc=-Wno-parentheses
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -77,12 +75,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/log/Makefile b/usr/src/uts/sparc/log/Makefile
index f76f3563fd..f821364c09 100644
--- a/usr/src/uts/sparc/log/Makefile
+++ b/usr/src/uts/sparc/log/Makefile
@@ -19,13 +19,12 @@
# CDDL HEADER END
#
#
-# uts/sparc/log/Makefile
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
-# This makefile drives the production of the log driver
+# This makefile drives the production of the log driver
# kernel module.
#
# sparc implementation architecture dependent
@@ -41,7 +40,6 @@ UTSBASE = ../..
#
MODULE = log
OBJECTS = $(LOG_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(LOG_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -54,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -64,20 +61,9 @@ MODSTUBS_DIR = $(OBJS_DIR)
$(MODSTUBS_O) := AS_CPPFLAGS += -DLOG_MODULE
CLEANFILES += $(MODSTUBS_O)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -90,12 +76,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/logindmux/Makefile b/usr/src/uts/sparc/logindmux/Makefile
index 179e66f20b..fede6266b4 100644
--- a/usr/src/uts/sparc/logindmux/Makefile
+++ b/usr/src/uts/sparc/logindmux/Makefile
@@ -21,7 +21,7 @@
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the logindmux streams kernel
# driver.
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = logindmux
OBJECTS = $(LOGINDMUX_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(LOGINDMUX_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -52,20 +51,11 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -78,12 +68,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/mac/Makefile b/usr/src/uts/sparc/mac/Makefile
index c5fcd87bb7..99ccc04b62 100644
--- a/usr/src/uts/sparc/mac/Makefile
+++ b/usr/src/uts/sparc/mac/Makefile
@@ -23,7 +23,7 @@
# Use is subject to license terms.
#
#
-# This makefile drives the production of the mac driver
+# This makefile drives the production of the mac driver
# kernel module.
#
# sparc architecture dependent
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = mac
OBJECTS = $(MAC_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(MAC_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -50,7 +49,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -62,14 +60,12 @@ $(RELEASE_BUILD)COPTIMIZE = -xO5
LDFLAGS += -dy
INC_PATH += -I$(UTSBASE)/common/io/bpf
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-CERRWARN += -_gcc=-Wno-unused-label
-CERRWARN += $(CNOWARN_UNINIT)
-CERRWARN += -_gcc=-Wno-type-limits
-CERRWARN += -_gcc=-Wno-switch
-CERRWARN += -_gcc=-Wno-unused-variable
+CERRWARN += -_gcc=-Wno-unused-label
+CERRWARN += $(CNOWARN_UNINIT)
+CERRWARN += -_gcc=-Wno-type-limits
+CERRWARN += -_gcc=-Wno-switch
+CERRWARN += -_gcc=-Wno-unused-variable
#
# Default build targets.
@@ -84,12 +80,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/mac_6to4/Makefile b/usr/src/uts/sparc/mac_6to4/Makefile
index b9f87dc2f7..ba2d62844f 100644
--- a/usr/src/uts/sparc/mac_6to4/Makefile
+++ b/usr/src/uts/sparc/mac_6to4/Makefile
@@ -23,7 +23,7 @@
# Use is subject to license terms.
#
#
-# This makefile drives the production of the mac_6to4 plugin
+# This makefile drives the production of the mac_6to4 plugin
# kernel module.
#
@@ -37,7 +37,6 @@ UTSBASE = ../..
#
MODULE = mac_6to4
OBJECTS = $(MAC_6TO4_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(MAC_6TO4_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MAC_DIR)/$(MODULE)
#
@@ -49,7 +48,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -58,8 +56,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CFLAGS += $(CCVERBOSE)
LDFLAGS += -dy -Nmisc/mac -Nmac/mac_ipv4
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
#
# Default build targets.
@@ -74,12 +70,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/mac_ether/Makefile b/usr/src/uts/sparc/mac_ether/Makefile
index 3ec066d4c6..691a3eea97 100644
--- a/usr/src/uts/sparc/mac_ether/Makefile
+++ b/usr/src/uts/sparc/mac_ether/Makefile
@@ -22,7 +22,7 @@
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# This makefile drives the production of the mac_ether MAC-Type plugin
+# This makefile drives the production of the mac_ether MAC-Type plugin
# kernel module.
#
@@ -36,7 +36,6 @@ UTSBASE = ../..
#
MODULE = mac_ether
OBJECTS = $(MAC_ETHER_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(MAC_ETHER_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MAC_DIR)/$(MODULE)
#
@@ -48,7 +47,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -71,12 +69,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/mac_ib/Makefile b/usr/src/uts/sparc/mac_ib/Makefile
index 339b88fb6b..6ead65146c 100644
--- a/usr/src/uts/sparc/mac_ib/Makefile
+++ b/usr/src/uts/sparc/mac_ib/Makefile
@@ -22,7 +22,7 @@
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# This makefile drives the production of the mac_ib MAC-Type plugin
+# This makefile drives the production of the mac_ib MAC-Type plugin
# kernel module.
#
@@ -36,7 +36,6 @@ UTSBASE = ../..
#
MODULE = mac_ib
OBJECTS = $(MAC_IB_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(MAC_IB_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MAC_DIR)/$(MODULE)
#
@@ -48,7 +47,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -71,12 +69,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/mac_ipv4/Makefile b/usr/src/uts/sparc/mac_ipv4/Makefile
index f9d0b1f58b..7804ed49db 100644
--- a/usr/src/uts/sparc/mac_ipv4/Makefile
+++ b/usr/src/uts/sparc/mac_ipv4/Makefile
@@ -23,7 +23,7 @@
# Use is subject to license terms.
#
#
-# This makefile drives the production of the mac_ipv4 plugin
+# This makefile drives the production of the mac_ipv4 plugin
# kernel module.
#
@@ -37,7 +37,6 @@ UTSBASE = ../..
#
MODULE = mac_ipv4
OBJECTS = $(MAC_IPV4_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(MAC_IPV4_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MAC_DIR)/$(MODULE)
#
@@ -49,7 +48,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -58,8 +56,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CFLAGS += $(CCVERBOSE)
LDFLAGS += -dy -Nmisc/mac
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
#
# Default build targets.
@@ -74,12 +70,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/mac_ipv6/Makefile b/usr/src/uts/sparc/mac_ipv6/Makefile
index b726e67c63..054132aaf2 100644
--- a/usr/src/uts/sparc/mac_ipv6/Makefile
+++ b/usr/src/uts/sparc/mac_ipv6/Makefile
@@ -23,7 +23,7 @@
# Use is subject to license terms.
#
#
-# This makefile drives the production of the mac_ipv6 plugin
+# This makefile drives the production of the mac_ipv6 plugin
# kernel module.
#
@@ -37,7 +37,6 @@ UTSBASE = ../..
#
MODULE = mac_ipv6
OBJECTS = $(MAC_IPV6_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(MAC_IPV6_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MAC_DIR)/$(MODULE)
#
@@ -49,7 +48,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -58,8 +56,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CFLAGS += $(CCVERBOSE)
LDFLAGS += -dy -Nmisc/mac -Nmac/mac_ipv4
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
#
# Default build targets.
@@ -74,12 +70,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/mac_wifi/Makefile b/usr/src/uts/sparc/mac_wifi/Makefile
index 66dcd3ac3f..5139478337 100644
--- a/usr/src/uts/sparc/mac_wifi/Makefile
+++ b/usr/src/uts/sparc/mac_wifi/Makefile
@@ -22,7 +22,7 @@
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# This makefile drives the production of the mac_wifi plugin
+# This makefile drives the production of the mac_wifi plugin
# kernel module.
#
@@ -36,7 +36,6 @@ UTSBASE = ../..
#
MODULE = mac_wifi
OBJECTS = $(MAC_WIFI_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(MAC_WIFI_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MAC_DIR)/$(MODULE)
#
@@ -50,7 +49,6 @@ CERRWARN += -_gcc=-Wno-switch
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -73,12 +71,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/md4/Makefile b/usr/src/uts/sparc/md4/Makefile
index ab13ec964f..1bda5d5010 100644
--- a/usr/src/uts/sparc/md4/Makefile
+++ b/usr/src/uts/sparc/md4/Makefile
@@ -19,12 +19,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/md4/Makefile
-#
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the md4 crypto kernel module.
#
@@ -41,7 +39,6 @@ UTSBASE = ../..
#
MODULE = md4
OBJECTS = $(MD4_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(MD4_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE)
#
@@ -58,24 +55,13 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
LDFLAGS += -dy
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -88,12 +74,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/md5/Makefile b/usr/src/uts/sparc/md5/Makefile
index 64d71ba216..a65fbda29f 100644
--- a/usr/src/uts/sparc/md5/Makefile
+++ b/usr/src/uts/sparc/md5/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = md5
OBJECTS = $(MD5_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(MD5_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE)
ROOTLINK = $(ROOT_MISC_DIR)/$(MODULE)
@@ -57,12 +56,8 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
@@ -83,12 +78,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_MISC_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/mii/Makefile b/usr/src/uts/sparc/mii/Makefile
index 3dce507659..91f9c3b7c0 100644
--- a/usr/src/uts/sparc/mii/Makefile
+++ b/usr/src/uts/sparc/mii/Makefile
@@ -37,7 +37,6 @@ UTSBASE = ../..
#
MODULE = mii
OBJECTS = $(MII_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(MII_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -49,7 +48,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
LDFLAGS += -dy -N misc/mac
@@ -70,12 +68,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/mm/Makefile b/usr/src/uts/sparc/mm/Makefile
index 9382e2d30e..0ab1e988f4 100644
--- a/usr/src/uts/sparc/mm/Makefile
+++ b/usr/src/uts/sparc/mm/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = mm
OBJECTS = $(MM_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(MM_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -53,21 +52,14 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-unused-function
CERRWARN += -_gcc=-Wno-clobbered
@@ -84,12 +76,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/mntfs/Makefile b/usr/src/uts/sparc/mntfs/Makefile
index 5dec303245..e661fe8f56 100644
--- a/usr/src/uts/sparc/mntfs/Makefile
+++ b/usr/src/uts/sparc/mntfs/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = mntfs
OBJECTS = $(MNTFS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(MNTFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE)
#
@@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -65,11 +63,10 @@ CLEANFILES += $(MODSTUBS_O)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
CERRWARN += -_gcc=-Wno-parentheses
@@ -86,12 +83,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/mouse8042/Makefile b/usr/src/uts/sparc/mouse8042/Makefile
index be8ec6689c..fd679c1e53 100644
--- a/usr/src/uts/sparc/mouse8042/Makefile
+++ b/usr/src/uts/sparc/mouse8042/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = mouse8042
OBJECTS = $(MOUSE8042_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(MOUSE8042_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -50,17 +49,15 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) # $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
LDFLAGS += -dy -Ndacf/consconfig_dacf
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-switch
@@ -78,12 +75,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/mpt_sas/Makefile b/usr/src/uts/sparc/mpt_sas/Makefile
index b63d1b04f4..63f88dd052 100644
--- a/usr/src/uts/sparc/mpt_sas/Makefile
+++ b/usr/src/uts/sparc/mpt_sas/Makefile
@@ -36,7 +36,6 @@ UTSBASE = ../../../../src/uts
#
MODULE = mpt_sas
OBJECTS = $(MPTSAS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(MPTSAS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/scsi/adapters/mpt_sas
@@ -49,7 +48,6 @@ LDFLAGS += -dy -Nmisc/scsi -Ndrv/scsi_vhci -Nmisc/sata
# Define targets
#
ALL_TARGET = $(BINARY) $(CONFMOD)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -58,10 +56,11 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
include $(UTSBASE)/sparc/Makefile.sparc
#
-# lint pass one enforcement
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
-CFLAGS += $(CCVERBOSE)
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-switch
@@ -79,12 +78,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/mr_sas/Makefile b/usr/src/uts/sparc/mr_sas/Makefile
index 3429251238..63a40b356e 100644
--- a/usr/src/uts/sparc/mr_sas/Makefile
+++ b/usr/src/uts/sparc/mr_sas/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = mr_sas
OBJECTS = $(MR_SAS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(MR_SAS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/mr_sas
@@ -51,14 +50,14 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(CONFMOD)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
-#
-# lint pass one enforcement
-#
+#
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
+#
CFLAGS += $(CCVERBOSE)
-
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += -_gcc=-Wno-switch
CERRWARN += $(CNOWARN_UNINIT)
@@ -69,12 +68,12 @@ CERRWARN += $(CNOWARN_UNINIT)
CFLAGS += -dalign
#
-# Kernel Module Dependencies
+# Kernel Module Dependencies
#
LDFLAGS += -dy -Nmisc/scsi
#
-# Overrides
+# Overrides
#
#
@@ -90,12 +89,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ms/Makefile b/usr/src/uts/sparc/ms/Makefile
index d06232df74..5c28ee5516 100644
--- a/usr/src/uts/sparc/ms/Makefile
+++ b/usr/src/uts/sparc/ms/Makefile
@@ -19,11 +19,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/ms/Makefile
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the ms streams kernel
# module.
@@ -41,7 +40,6 @@ UTSBASE = ../..
#
MODULE = ms
OBJECTS = $(MS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(MS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE)
#
@@ -53,21 +51,12 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# Overrides.
-#
-CFLAGS += $(CCVERBOSE)
-
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
+CFLAGS += $(CCVERBOSE)
#
# Default build targets.
@@ -82,12 +71,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/msgsys/Makefile b/usr/src/uts/sparc/msgsys/Makefile
index a16e294bea..ea285208b8 100644
--- a/usr/src/uts/sparc/msgsys/Makefile
+++ b/usr/src/uts/sparc/msgsys/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = msgsys
OBJECTS = $(IPCMSG_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(IPCMSG_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_SYS_DIR)/$(MODULE)
#
@@ -51,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -61,11 +59,10 @@ CFLAGS += $(CCVERBOSE)
LDFLAGS += -dy -Nmisc/ipc
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
@@ -83,12 +80,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/mxfe/Makefile b/usr/src/uts/sparc/mxfe/Makefile
index 17c7174a5c..480b3a9c0d 100644
--- a/usr/src/uts/sparc/mxfe/Makefile
+++ b/usr/src/uts/sparc/mxfe/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = mxfe
OBJECTS = $(MXFE_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(MXFE_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -50,7 +49,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -77,12 +75,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/myri10ge/Makefile b/usr/src/uts/sparc/myri10ge/Makefile
index 333e5c4bab..1255295bfd 100644
--- a/usr/src/uts/sparc/myri10ge/Makefile
+++ b/usr/src/uts/sparc/myri10ge/Makefile
@@ -35,7 +35,6 @@ MODULE = myri10ge
OBJECTS += $(MYRI10GE_OBJS:%=$(OBJS_DIR)/%)
-LINTS += $(MYRI10GE_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
@@ -48,13 +47,11 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# Overrides
#
-LINTTAGS += -DSOLARIS_S11 -erroff=E_STATIC_UNUSED
#COPTIMIZE = -xO4
@@ -80,12 +77,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/namefs/Makefile b/usr/src/uts/sparc/namefs/Makefile
index 5a00eac980..b21a1c42c1 100644
--- a/usr/src/uts/sparc/namefs/Makefile
+++ b/usr/src/uts/sparc/namefs/Makefile
@@ -42,7 +42,6 @@ UTSBASE = ../..
#
MODULE = namefs
OBJECTS = $(NAMEFS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(NAMEFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE)
#
@@ -56,7 +55,6 @@ CERRWARN += -_gcc=-Wno-parentheses
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -80,12 +78,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/nca/Makefile b/usr/src/uts/sparc/nca/Makefile
index fd7a3102b3..b569b8a443 100644
--- a/usr/src/uts/sparc/nca/Makefile
+++ b/usr/src/uts/sparc/nca/Makefile
@@ -19,14 +19,12 @@
# CDDL HEADER END
#
#
-# uts/sparc/nca/Makefile
-#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
+
#
-# This makefile drives the production of the nca driver
+# This makefile drives the production of the nca driver
# kernel module.
#
# sparc architecture dependent
@@ -42,7 +40,6 @@ UTSBASE = ../..
#
MODULE = nca
OBJECTS = $(NCA_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(NCA_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
ROOTLINK = $(ROOT_STRMOD_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/inet/nca
@@ -56,24 +53,13 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
-#
-# lint pass one enforcement and OS version
-#
CFLAGS += $(CCVERBOSE)
LDFLAGS += -dy -Nfs/sockfs -Ndrv/ip
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -86,12 +72,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS) lint64
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_STRMOD_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/net_dacf/Makefile b/usr/src/uts/sparc/net_dacf/Makefile
index 5dfe832d72..454bc88922 100644
--- a/usr/src/uts/sparc/net_dacf/Makefile
+++ b/usr/src/uts/sparc/net_dacf/Makefile
@@ -19,12 +19,9 @@
# CDDL HEADER END
#
#
-# uts/sparc/net_dacf/Makefile
-#
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
#
# Path to the base of the uts directory tree (usually /usr/src/uts).
@@ -36,7 +33,6 @@ UTSBASE = ../..
#
MODULE = net_dacf
OBJECTS = $(NET_DACF_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(NET_DACF_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DACF_DIR)/$(MODULE)
#
@@ -44,9 +40,6 @@ ROOTMODULE = $(ROOT_DACF_DIR)/$(MODULE)
#
include $(UTSBASE)/sparc/Makefile.sparc
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
LDFLAGS += -dy -Ndrv/softmac
@@ -54,7 +47,6 @@ LDFLAGS += -dy -Ndrv/softmac
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
.KEEP_STATE:
@@ -67,12 +59,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/neti/Makefile b/usr/src/uts/sparc/neti/Makefile
index 2520b77173..9e0a7dce60 100644
--- a/usr/src/uts/sparc/neti/Makefile
+++ b/usr/src/uts/sparc/neti/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = neti
OBJECTS = $(NETI_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(NETI_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -51,12 +50,8 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
LDFLAGS += -dy -Nmisc/hook
@@ -74,12 +69,6 @@ clean: $(CLEAN_DEPS) $(SISCLEAN_DEPS)
clobber: $(CLOBBER_DEPS) $(SISCLEAN_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS) $(SISCHECK_DEPS)
#
diff --git a/usr/src/uts/sparc/nfs/Makefile b/usr/src/uts/sparc/nfs/Makefile
index 4e85d846a5..fd17de0071 100644
--- a/usr/src/uts/sparc/nfs/Makefile
+++ b/usr/src/uts/sparc/nfs/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = nfs
OBJECTS = $(NFS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(NFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE)
ROOTLINK = $(ROOT_SYS_DIR)/$(MODULE)
@@ -54,7 +53,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK)
#
@@ -71,16 +69,10 @@ CFLAGS += $(CCVERBOSE)
LDFLAGS += -dy -N fs/specfs -N strmod/rpcmod -N misc/rpcsec
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-label
@@ -104,12 +96,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_SYS_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/nfs_dlboot/Makefile b/usr/src/uts/sparc/nfs_dlboot/Makefile
index 27e68a8180..e312e01bed 100644
--- a/usr/src/uts/sparc/nfs_dlboot/Makefile
+++ b/usr/src/uts/sparc/nfs_dlboot/Makefile
@@ -43,7 +43,6 @@ COM_DIR = $(SRC)/common/net/dhcp
#
MODULE = nfs_dlboot
OBJECTS = $(DLBOOT_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(DLBOOT_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -55,23 +54,19 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# Overrides.
#
CFLAGS += $(CCVERBOSE) -I$(COM_DIR)
-LINTFLAGS += -I$(COM_DIR)
LDFLAGS += -dy -Nmisc/strplumb -Nstrmod/rpcmod
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
CERRWARN += -_gcc=-Wno-parentheses
@@ -88,12 +83,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/nfssrv/Makefile b/usr/src/uts/sparc/nfssrv/Makefile
index b0dfc398d2..718b706a46 100644
--- a/usr/src/uts/sparc/nfssrv/Makefile
+++ b/usr/src/uts/sparc/nfssrv/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = nfssrv
OBJECTS = $(NFSSRV_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(NFSSRV_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -64,15 +62,10 @@ LDFLAGS += -dy -Nstrmod/rpcmod -Nfs/nfs -Nmisc/rpcsec
LDFLAGS += -Nmisc/klmmod
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-type-limits
@@ -95,12 +88,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/nsmb/Makefile b/usr/src/uts/sparc/nsmb/Makefile
index 7100a34dd9..4393989975 100644
--- a/usr/src/uts/sparc/nsmb/Makefile
+++ b/usr/src/uts/sparc/nsmb/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = nsmb
OBJECTS = $(NSMB_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(NSMB_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/fs/smbclnt/netsmb
OFFSETS_SRC = $(CONF_SRCDIR)/offsets.in
@@ -54,7 +53,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(ALL_TARGET_$(OBJS_DIR))
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(INSTALL_TARGET_$(OBJS_DIR))
#
@@ -87,17 +85,15 @@ INSTALL_TARGET_obj64 = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
MODSTUBS_DIR = $(OBJS_DIR)
$(MODSTUBS_O) := AS_CPPFLAGS += -DNSMB_MODULE
CLEANFILES += $(MODSTUBS_O) $(IOC_CHECK_H)
-CERRWARN += -erroff=E_STATEMENT_NOT_REACHED
INC_PATH += -I$(UTSBASE)/common/fs/smbclnt
LDFLAGS += -dy -Ncrypto/md4 -Ncrypto/md5 -Nmisc/tlimod
-# Until CR 4994570 is fixed...
-LINTTAGS += -erroff=E_BAD_FORMAT_ARG_TYPE2
-
-# The mb_put/md_get functions are intentionally used with and without
-# return value checks, so filter those out like LGREP.2 does.
-LGREP.nsmb = egrep -v ' ignored: (mb_init|mb_put|md_get)'
-LTAIL += 2>&1 | $(LGREP.2) | $(LGREP.nsmb) || true
+#
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
+#
+CERRWARN += -erroff=E_STATEMENT_NOT_REACHED
#
# Default build targets.
@@ -112,12 +108,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/nulldriver/Makefile b/usr/src/uts/sparc/nulldriver/Makefile
index e49222c0a7..0a9c8873b7 100644
--- a/usr/src/uts/sparc/nulldriver/Makefile
+++ b/usr/src/uts/sparc/nulldriver/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = nulldriver
OBJECTS = $(NULLDRIVER_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(NULLDRIVER_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -51,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -77,12 +75,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/objfs/Makefile b/usr/src/uts/sparc/objfs/Makefile
index 9a0845e331..ef6dd87226 100644
--- a/usr/src/uts/sparc/objfs/Makefile
+++ b/usr/src/uts/sparc/objfs/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = objfs
OBJECTS = $(OBJFS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(OBJFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE)
#
@@ -52,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -61,12 +59,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_STATIC_UNUSED
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-function
@@ -85,12 +81,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/oce/Makefile b/usr/src/uts/sparc/oce/Makefile
index 375aba9280..59f832dcdf 100644
--- a/usr/src/uts/sparc/oce/Makefile
+++ b/usr/src/uts/sparc/oce/Makefile
@@ -33,7 +33,6 @@ UTSBASE = ../../
#
MODULE = oce
OBJECTS = $(OCE_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(OCE_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -46,7 +45,6 @@ include ../Makefile.$(ARCHDIR)
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -74,12 +72,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ohci/Makefile b/usr/src/uts/sparc/ohci/Makefile
index 3c0ee37ec4..0dc38836f4 100644
--- a/usr/src/uts/sparc/ohci/Makefile
+++ b/usr/src/uts/sparc/ohci/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = ohci
OBJECTS = $(OHCI_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(OHCI_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/usb/hcd/openhci
@@ -50,11 +49,6 @@ CONF_SRCDIR = $(UTSBASE)/common/io/usb/hcd/openhci
include $(UTSBASE)/sparc/Makefile.sparc
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
# depends on misc/usba
#
LDFLAGS += -dy -Nmisc/usba
@@ -63,17 +57,15 @@ LDFLAGS += -dy -Nmisc/usba
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
-CERRWARN += $(CNOWARN_UNINIT)
-
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
+CFLAGS += $(CCVERBOSE)
+CERRWARN += $(CNOWARN_UNINIT)
.KEEP_STATE:
@@ -85,12 +77,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/openeepr/Makefile b/usr/src/uts/sparc/openeepr/Makefile
index b536c6c58c..7919dcb4fc 100644
--- a/usr/src/uts/sparc/openeepr/Makefile
+++ b/usr/src/uts/sparc/openeepr/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = openeepr
OBJECTS = $(OPENEEPR_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(OPENEEPR_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
CFLAGS += $(CCVERBOSE)
@@ -64,12 +62,10 @@ CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
#
# Default build targets.
@@ -84,12 +80,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/options/Makefile b/usr/src/uts/sparc/options/Makefile
index 2df03f78bf..b688548af7 100644
--- a/usr/src/uts/sparc/options/Makefile
+++ b/usr/src/uts/sparc/options/Makefile
@@ -24,7 +24,7 @@
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the options driver kernel module.
#
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = options
OBJECTS = $(OPTIONS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(OPTIONS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -54,7 +53,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -75,12 +73,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/pcfs/Makefile b/usr/src/uts/sparc/pcfs/Makefile
index 59c53e2458..007789bcae 100644
--- a/usr/src/uts/sparc/pcfs/Makefile
+++ b/usr/src/uts/sparc/pcfs/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = pcfs
OBJECTS = $(PCFS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PCFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_FS_DIR)/$(MODULE)
#
@@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -68,16 +66,10 @@ CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-unused-function
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
#
# Default build targets.
@@ -92,12 +84,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/pci_pci/Makefile b/usr/src/uts/sparc/pci_pci/Makefile
index b9fd029289..ad2fab1bc7 100644
--- a/usr/src/uts/sparc/pci_pci/Makefile
+++ b/usr/src/uts/sparc/pci_pci/Makefile
@@ -37,7 +37,6 @@ UTSBASE = ../..
#
MODULE = pci_pci
OBJECTS = $(PCI_PCI_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PCI_PCI_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -49,12 +48,8 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-# Turn this on once compiler understands v9 in it's backend
-#INLINES += $(UTSBASE)/sun4u/io/pci.il
-
#
# Include sun4u and sun4 specific headers files
#
@@ -62,22 +57,16 @@ INC_PATH += -I$(UTSBASE)/sun4u
INC_PATH += -I$(UTSBASE)/sun4
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
# Turn on doubleword alignment for 64 bit registers
#
CFLAGS += -dalign
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-switch
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-value
@@ -100,12 +89,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/pcic/Makefile b/usr/src/uts/sparc/pcic/Makefile
index 93e2eb1198..a843e06d9c 100644
--- a/usr/src/uts/sparc/pcic/Makefile
+++ b/usr/src/uts/sparc/pcic/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = pcic
OBJECTS = $(PCIC_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PCIC_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -66,31 +64,23 @@ INC_PATH += -I$(UTSBASE)/sun4u
#
DEF_BUILDS = $(DEF_BUILDS64)
ALL_BUILDS = $(ALL_BUILDS64)
-CLEANLINTFILES += $(LINT64_FILES)
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
CPPFLAGS += -DCARDBUS -DHOTPLUG
# dependency
LDFLAGS += -dy -Nmisc/busra -Nmisc/pcmcia -Nmisc/cardbus
-CERRWARN += -_gcc=-Wno-parentheses
-CERRWARN += -_gcc=-Wno-unused-variable
-CERRWARN += -_gcc=-Wno-unused-function
-CERRWARN += $(CNOWARN_UNINIT)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
+CFLAGS += $(CCVERBOSE)
+CERRWARN += -_gcc=-Wno-parentheses
+CERRWARN += -_gcc=-Wno-unused-variable
+CERRWARN += -_gcc=-Wno-unused-function
+CERRWARN += $(CNOWARN_UNINIT)
#
# Default build targets.
@@ -105,12 +95,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS) lint64
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
# Include common targets.
diff --git a/usr/src/uts/sparc/pcicfg/Makefile b/usr/src/uts/sparc/pcicfg/Makefile
index b403c87670..025f182278 100644
--- a/usr/src/uts/sparc/pcicfg/Makefile
+++ b/usr/src/uts/sparc/pcicfg/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = pcicfg
OBJECTS = $(PCICFG_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PCICFG_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -51,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -59,15 +57,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
INC_PATH += -I$(UTSBASE)/sun4
-
-# Turn this on once compiler understands v9 in it's backend
-#INLINES += $(UTSBASE)/sun4u/io/pcicfg.il
-
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
#
# Turn on doubleword alignment for 64 bit registers
#
@@ -78,14 +67,11 @@ CFLAGS += -dalign -DPCICFG_INTERPRET_FCODE
LDFLAGS += -dy -Nmisc/busra -Nmisc/fcpci -Nmisc/fcodem -Nmisc/pcie
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_STATIC_UNUSED
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-unused-function
CERRWARN += -_gcc=-Wno-unused-value
CERRWARN += -_gcc=-Wno-unused-variable
@@ -104,12 +90,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/pcieb/Makefile b/usr/src/uts/sparc/pcieb/Makefile
index 9e2785998d..817f75bf76 100644
--- a/usr/src/uts/sparc/pcieb/Makefile
+++ b/usr/src/uts/sparc/pcieb/Makefile
@@ -37,9 +37,8 @@ UTSBASE = ../..
#
# Define the module and object file sets.
#
-MODULE = pcieb
+MODULE = pcieb
OBJECTS = $(PCIEB_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PCIEB_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/pciex/
@@ -52,22 +51,15 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
# Turn on doubleword alignment for 64 bit registers
#
CFLAGS += -dalign
#
-# Enable PLX workaround code and lint duplicate symbol
-# avoidance hack
+# Enable PLX workaround code
#
CPPFLAGS += -DPX_PLX
@@ -77,13 +69,11 @@ CPPFLAGS += -DPX_PLX
LDFLAGS += -dy -Nmisc/pcie
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_STATIC_UNUSED
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-unused-value
CERRWARN += -_gcc=-Wno-unused-variable
@@ -100,12 +90,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/pcieb_bcm/Makefile b/usr/src/uts/sparc/pcieb_bcm/Makefile
index f1e7efe3a6..2f63cad7e7 100644
--- a/usr/src/uts/sparc/pcieb_bcm/Makefile
+++ b/usr/src/uts/sparc/pcieb_bcm/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = pcieb_bcm
OBJECTS = $(PCIEB_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PCIEB_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -52,22 +51,15 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
# Turn on doubleword alignment for 64 bit registers
#
CFLAGS += -dalign
#
-# Enable Broadcom 5714/5715 workaround code and lint duplicate symbol
-# avoidance hack
+# Enable Broadcom 5714/5715 workaround code
#
CPPFLAGS += -DPCIEB_BCM -DPX_MOD_NAME=pcieb_bcm
@@ -77,14 +69,11 @@ CPPFLAGS += -DPCIEB_BCM -DPX_MOD_NAME=pcieb_bcm
LDFLAGS += -dy -Nmisc/pcie
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-LINTTAGS += -erroff=E_STATIC_UNUSED
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-unused-value
CERRWARN += -_gcc=-Wno-type-limits
@@ -102,12 +91,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/pcihp/Makefile b/usr/src/uts/sparc/pcihp/Makefile
index 2ab823fe58..fb26a9c4a0 100644
--- a/usr/src/uts/sparc/pcihp/Makefile
+++ b/usr/src/uts/sparc/pcihp/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = pcihp
OBJECTS = $(PCIHPNEXUS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PCIHPNEXUS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -51,12 +50,8 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
@@ -71,14 +66,6 @@ CLEANFILES += $(MODSTUBS_O)
LDFLAGS += -dy -Nmisc/busra -Nmisc/hpcsvc -Nmisc/pcicfg
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -91,12 +78,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/pckt/Makefile b/usr/src/uts/sparc/pckt/Makefile
index 707f3571bb..6a8108a3c0 100644
--- a/usr/src/uts/sparc/pckt/Makefile
+++ b/usr/src/uts/sparc/pckt/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = pckt
OBJECTS = $(PCKT_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PCKT_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE)
#
@@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -62,12 +60,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
CERRWARN += -_gcc=-Wno-parentheses
@@ -84,12 +80,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/pcmcia/Makefile b/usr/src/uts/sparc/pcmcia/Makefile
index e8d67d5fdb..72f41f84a2 100644
--- a/usr/src/uts/sparc/pcmcia/Makefile
+++ b/usr/src/uts/sparc/pcmcia/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = pcmcia
OBJECTS = $(PCMCIA_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PCMCIA_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -51,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -60,29 +58,21 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
MODSTUBS_DIR = $(OBJS_DIR)
$(MODSTUBS_O) := AS_CPPFLAGS += -DPCMCIA_MODULE
CLEANFILES += $(MODSTUBS_O)
-CLEANLINTFILES += $(LINT64_FILES)
#
# Include sun4 specific header files
#
INC_PATH += -I$(UTSBASE)/sun4
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
# dependency
LDFLAGS += -dy -Nmisc/busra
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-parentheses
@@ -99,12 +89,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/pcs/Makefile b/usr/src/uts/sparc/pcs/Makefile
index dd59e130c9..b46bc8de9f 100644
--- a/usr/src/uts/sparc/pcs/Makefile
+++ b/usr/src/uts/sparc/pcs/Makefile
@@ -20,11 +20,9 @@
# CDDL HEADER END
#
#
-# uts/sparc/pcs/Makefile
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
#
# This makefile drives the production of the DoRight driver kernel module.
#
@@ -41,7 +39,6 @@ UTSBASE = ../..
#
MODULE = pcs
OBJECTS = $(PCS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PCS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -53,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -61,11 +57,7 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
DEF_BUILDS = $(DEF_BUILDS64)
ALL_BUILDS = $(ALL_BUILDS64)
-CLEANLINTFILES += $(LINT64_FILES)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
@@ -81,12 +73,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS) lint64
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
# Include common targets.
diff --git a/usr/src/uts/sparc/pfmod/Makefile b/usr/src/uts/sparc/pfmod/Makefile
index 519aae73ee..02dea98af2 100644
--- a/usr/src/uts/sparc/pfmod/Makefile
+++ b/usr/src/uts/sparc/pfmod/Makefile
@@ -19,11 +19,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/pfmod/Makefile
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of streams packet filter module.
#
@@ -40,7 +39,6 @@ UTSBASE = ../..
#
MODULE = pfmod
OBJECTS = $(PFMOD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PFMOD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE)
#
@@ -52,23 +50,11 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -81,12 +67,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/physmem/Makefile b/usr/src/uts/sparc/physmem/Makefile
index adeb15139b..5b5e889dc2 100644
--- a/usr/src/uts/sparc/physmem/Makefile
+++ b/usr/src/uts/sparc/physmem/Makefile
@@ -19,11 +19,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/physmem/Makefile
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the mm driver
#
@@ -40,7 +39,6 @@ UTSBASE = ../..
#
MODULE = physmem
OBJECTS = $(PHYSMEM_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PHYSMEM_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -53,12 +51,8 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
@@ -74,12 +68,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/pipe/Makefile b/usr/src/uts/sparc/pipe/Makefile
index ab513f2ba4..81deef4e86 100644
--- a/usr/src/uts/sparc/pipe/Makefile
+++ b/usr/src/uts/sparc/pipe/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = pipe
OBJECTS = $(PIPE_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PIPE_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_SYS_DIR)/$(MODULE)
#
@@ -54,7 +53,6 @@ CERRWARN += -_gcc=-Wno-parentheses
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -64,10 +62,7 @@ MODSTUBS_DIR = $(OBJS_DIR)
$(MODSTUBS_O) := AS_CPPFLAGS += -DPIPE_MODULE
CLEANFILES += $(MODSTUBS_O)
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
+CFLAGS += $(CCVERBOSE)
#
# Define dependency on fifofs
@@ -87,12 +82,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/pipemod/Makefile b/usr/src/uts/sparc/pipemod/Makefile
index e236cd9563..41ceff403e 100644
--- a/usr/src/uts/sparc/pipemod/Makefile
+++ b/usr/src/uts/sparc/pipemod/Makefile
@@ -20,11 +20,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/pipemod/Makefile
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the pipemod streams kernel
# module.
@@ -42,7 +41,6 @@ UTSBASE = ../..
#
MODULE = pipemod
OBJECTS = $(PIPEMOD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PIPEMOD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE)
#
@@ -54,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -75,12 +72,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/pm/Makefile b/usr/src/uts/sparc/pm/Makefile
index ce992428df..5e26fe0645 100644
--- a/usr/src/uts/sparc/pm/Makefile
+++ b/usr/src/uts/sparc/pm/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = pm
OBJECTS = $(PM_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PM_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -54,7 +53,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -63,12 +61,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
@@ -86,12 +82,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/pmcs/Makefile b/usr/src/uts/sparc/pmcs/Makefile
index 6689465afd..9e98596643 100644
--- a/usr/src/uts/sparc/pmcs/Makefile
+++ b/usr/src/uts/sparc/pmcs/Makefile
@@ -36,7 +36,6 @@ UTSBASE = ../../../../src/uts
#
MODULE = pmcs
OBJECTS = $(PMCS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PMCS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/scsi/adapters/pmcs
@@ -49,7 +48,6 @@ LDFLAGS += -dy -Nmisc/scsi
# Define targets
#
ALL_TARGET = $(BINARY) $(CONFMOD)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -86,12 +84,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/pmcs8001fw/Makefile b/usr/src/uts/sparc/pmcs8001fw/Makefile
index 58eb229918..aaa0b0af5b 100644
--- a/usr/src/uts/sparc/pmcs8001fw/Makefile
+++ b/usr/src/uts/sparc/pmcs8001fw/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../../../../src/uts
#
MODULE = pmcs8001fw
OBJECTS = $(PMCS8001FW_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PMCS8001FW_C_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_PMCS_FW_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/scsi/adapters/pmcs
@@ -53,15 +52,10 @@ include $(CONF_SRCDIR)/pmcs8001fw.version
#
ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD)
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-LINT_TARGET = $(MODULE).lint
LDFLAGS += -dy
#
-# Lint tags
-#
-
-#
# Extra flags
#
CPPFLAGS += -DPMCS_FIRMWARE_VERSION=${PMCS_FW_VERSION} \
@@ -81,12 +75,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/poll/Makefile b/usr/src/uts/sparc/poll/Makefile
index af97f9371f..7cd01a7d1f 100644
--- a/usr/src/uts/sparc/poll/Makefile
+++ b/usr/src/uts/sparc/poll/Makefile
@@ -34,7 +34,6 @@ UTSBASE = ../..
#
MODULE = poll
OBJECTS = $(DEVPOLL_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(DEVPOLL_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -47,21 +46,17 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
-# lint pass one enforcement
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
#
-# See uts/intel/poll/Makefile for why this is necessary.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -74,12 +69,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/pool/Makefile b/usr/src/uts/sparc/pool/Makefile
index 67fa67d965..fdb44c2588 100644
--- a/usr/src/uts/sparc/pool/Makefile
+++ b/usr/src/uts/sparc/pool/Makefile
@@ -19,12 +19,9 @@
# CDDL HEADER END
#
#
-# uts/sparc/pool/Makefile
-#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
#
# Path to the base of the uts directory tree (usually /usr/src/uts).
@@ -36,7 +33,6 @@ UTSBASE = ../..
#
MODULE = pool
OBJECTS = $(DEVPOOL_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(DEVPOOL_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -49,22 +45,11 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -77,12 +62,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/portfs/Makefile b/usr/src/uts/sparc/portfs/Makefile
index faad9243ee..683785c905 100644
--- a/usr/src/uts/sparc/portfs/Makefile
+++ b/usr/src/uts/sparc/portfs/Makefile
@@ -42,7 +42,6 @@ PORTFS_OBJS += port.o port_vnops.o port_fd.o port_fop.o
#
MODULE = portfs
OBJECTS = $(PORTFS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PORTFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_SYS_DIR)/$(MODULE)
#
@@ -55,24 +54,21 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# Overrides.
#
MODSTUBS_DIR = $(OBJS_DIR)
-$(MODSTUBS_O) := AS_CPPFLAGS +=
CLEANFILES += $(MODSTUBS_O)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-parentheses
@@ -90,12 +86,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/pppt/Makefile b/usr/src/uts/sparc/pppt/Makefile
index d4d4dcbdbf..fd2e3d3aec 100644
--- a/usr/src/uts/sparc/pppt/Makefile
+++ b/usr/src/uts/sparc/pppt/Makefile
@@ -21,7 +21,7 @@
#
# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
#
-# This makefile drives the production of the pppt pseudo-driver for
+# This makefile drives the production of the pppt pseudo-driver for
# COMSTAR.
#
@@ -38,7 +38,6 @@ ARCHDIR:sh = cd ..; basename `pwd`
#
MODULE = pppt
OBJECTS = $(PPPT_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PPPT_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/comstar/port/pppt
@@ -51,7 +50,6 @@ include ../Makefile.$(ARCHDIR)
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -78,12 +76,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/profile/Makefile b/usr/src/uts/sparc/profile/Makefile
index d9e7475786..a23f125d2a 100644
--- a/usr/src/uts/sparc/profile/Makefile
+++ b/usr/src/uts/sparc/profile/Makefile
@@ -23,13 +23,11 @@
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
UTSBASE = ../..
MODULE = profile
OBJECTS = $(PROFILE_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PROFILE_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
ROOTLINK = $(ROOT_DTRACE_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/dtrace
@@ -37,7 +35,6 @@ CONF_SRCDIR = $(UTSBASE)/common/dtrace
include $(UTSBASE)/sparc/Makefile.sparc
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
CFLAGS += $(CCVERBOSE)
@@ -53,12 +50,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_DTRACE_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/pset/Makefile b/usr/src/uts/sparc/pset/Makefile
index be14b6f094..7986029140 100644
--- a/usr/src/uts/sparc/pset/Makefile
+++ b/usr/src/uts/sparc/pset/Makefile
@@ -20,11 +20,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/pset/Makefile
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the pset system call module.
#
@@ -41,7 +40,6 @@ UTSBASE = ../..
#
MODULE = pset
OBJECTS = $(PSET_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PSET_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_SYS_DIR)/$(MODULE)
#
@@ -53,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -63,9 +60,6 @@ MODSTUBS_DIR = $(OBJS_DIR)
$(MODSTUBS_O) := AS_CPPFLAGS += -DPSET_MODULE
CLEANFILES += $(MODSTUBS_O)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
@@ -81,12 +75,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/pseudo/Makefile b/usr/src/uts/sparc/pseudo/Makefile
index 5b6ecb8fd6..0d4a6e187c 100644
--- a/usr/src/uts/sparc/pseudo/Makefile
+++ b/usr/src/uts/sparc/pseudo/Makefile
@@ -20,11 +20,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/pseudo/Makefile
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the pseudo driver
#
@@ -41,7 +40,6 @@ UTSBASE = ../..
#
MODULE = pseudo
OBJECTS = $(PSEUDO_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PSEUDO_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -54,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -75,12 +72,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/pshot/Makefile b/usr/src/uts/sparc/pshot/Makefile
index e0fc89d2d8..eca9ca31dc 100644
--- a/usr/src/uts/sparc/pshot/Makefile
+++ b/usr/src/uts/sparc/pshot/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = pshot
OBJECTS = $(PSHOT_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PSHOT_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -54,21 +53,14 @@ CFLAGS += $(CCVERBOSE)
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_STATIC_UNUSED
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-variable
@@ -85,12 +77,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ptc/Makefile b/usr/src/uts/sparc/ptc/Makefile
index c26fc502cf..b0f04a8f6d 100644
--- a/usr/src/uts/sparc/ptc/Makefile
+++ b/usr/src/uts/sparc/ptc/Makefile
@@ -19,11 +19,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/ptc/Makefile
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the ptc driver
#
@@ -40,7 +39,6 @@ UTSBASE = ../..
#
MODULE = ptc
OBJECTS = $(PTC_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PTC_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -53,23 +51,11 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -82,12 +68,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ptem/Makefile b/usr/src/uts/sparc/ptem/Makefile
index 0031ebe676..267d22277f 100644
--- a/usr/src/uts/sparc/ptem/Makefile
+++ b/usr/src/uts/sparc/ptem/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = ptem
OBJECTS = $(PTEM_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PTEM_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE)
#
@@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -62,12 +60,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
@@ -85,12 +81,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ptm/Makefile b/usr/src/uts/sparc/ptm/Makefile
index 6ecbacacca..877327ab44 100644
--- a/usr/src/uts/sparc/ptm/Makefile
+++ b/usr/src/uts/sparc/ptm/Makefile
@@ -19,11 +19,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/ptm/Makefile
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the ptm driver
#
@@ -40,7 +39,6 @@ UTSBASE = ../..
#
MODULE = ptm
OBJECTS = $(PTM_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PTM_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -53,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -62,13 +59,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -81,12 +71,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/pts/Makefile b/usr/src/uts/sparc/pts/Makefile
index 725ceec33c..5a148c0249 100644
--- a/usr/src/uts/sparc/pts/Makefile
+++ b/usr/src/uts/sparc/pts/Makefile
@@ -19,11 +19,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/pts/Makefile
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the pts driver
#
@@ -40,7 +39,6 @@ UTSBASE = ../..
#
MODULE = pts
OBJECTS = $(PTS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PTS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -53,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -62,13 +59,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -81,12 +71,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ptsl/Makefile b/usr/src/uts/sparc/ptsl/Makefile
index e1587285d7..028bc70104 100644
--- a/usr/src/uts/sparc/ptsl/Makefile
+++ b/usr/src/uts/sparc/ptsl/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = ptsl
OBJECTS = $(PTSL_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PTSL_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -52,28 +51,20 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
# Define dependency on ptc
#
LDFLAGS += -dy -N drv/ptc
-CERRWARN += -_gcc=-Wno-parentheses
-
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
+CFLAGS += $(CCVERBOSE)
+CERRWARN += -_gcc=-Wno-parentheses
#
# Default build targets.
@@ -88,12 +79,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/qfe/Makefile b/usr/src/uts/sparc/qfe/Makefile
index 99f2d1bc60..5c1c043e49 100644
--- a/usr/src/uts/sparc/qfe/Makefile
+++ b/usr/src/uts/sparc/qfe/Makefile
@@ -19,10 +19,6 @@
# CDDL HEADER END
#
#
-# uts/sparc/qfe/Makefile
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
@@ -40,7 +36,6 @@ UTSBASE = ../..
#
MODULE = qfe
OBJECTS = $(QFE_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(QFE_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -52,7 +47,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -74,12 +68,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/qlc/Makefile b/usr/src/uts/sparc/qlc/Makefile
index 2d492a8baa..11023b0d4b 100644
--- a/usr/src/uts/sparc/qlc/Makefile
+++ b/usr/src/uts/sparc/qlc/Makefile
@@ -33,7 +33,6 @@ UTSBASE = ../..
#
MODULE = qlc
OBJECTS = $(QLC_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(QLC_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/fibre-channel/fca/qlc
@@ -47,7 +46,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -61,12 +59,6 @@ INC_PATH += -I$(UTSBASE)/common/sys/fibre-channel/impl
LDFLAGS += -dy -Nmisc/fctl
-#
-# Lint tags
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
-
FWIMAGES = 2200
FWIMAGES += 2300
FWIMAGES += 2400
@@ -94,12 +86,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/qlc_fw_2200/Makefile b/usr/src/uts/sparc/qlc_fw_2200/Makefile
index 157ad5a558..f1d279475c 100644
--- a/usr/src/uts/sparc/qlc_fw_2200/Makefile
+++ b/usr/src/uts/sparc/qlc_fw_2200/Makefile
@@ -33,7 +33,6 @@ UTSBASE = ../..
#
MODULE = qlc_fw_2200
OBJECTS = $(QLC_FW_2200_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(QLC_FW_2200_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_QLC_FW_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/fibre-channel/fca/qlc
@@ -48,18 +47,11 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
LDFLAGS += -dy -Nmisc/fctl
#
-# Lint tags
-#
-LINTTAGS += -DUNIQUE_FW_NAME
-LINTTAGS += -DFW_VERSION_STRING=\"2.01.145\"
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -72,12 +64,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/qlc_fw_2300/Makefile b/usr/src/uts/sparc/qlc_fw_2300/Makefile
index 6bff90a028..d22aaa9f33 100644
--- a/usr/src/uts/sparc/qlc_fw_2300/Makefile
+++ b/usr/src/uts/sparc/qlc_fw_2300/Makefile
@@ -33,7 +33,6 @@ UTSBASE = ../..
#
MODULE = qlc_fw_2300
OBJECTS = $(QLC_FW_2300_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(QLC_FW_2300_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_QLC_FW_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/fibre-channel/fca/qlc
@@ -48,18 +47,11 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
LDFLAGS += -dy -Nmisc/fctl
#
-# Lint tags
-#
-LINTTAGS += -DUNIQUE_FW_NAME
-LINTTAGS += -DFW_VERSION_STRING=\"3.03.27\"
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -72,12 +64,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/qlc_fw_2400/Makefile b/usr/src/uts/sparc/qlc_fw_2400/Makefile
index df071e6272..1ca3e62a23 100644
--- a/usr/src/uts/sparc/qlc_fw_2400/Makefile
+++ b/usr/src/uts/sparc/qlc_fw_2400/Makefile
@@ -33,7 +33,6 @@ UTSBASE = ../..
#
MODULE = qlc_fw_2400
OBJECTS = $(QLC_FW_2400_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(QLC_FW_2400_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_QLC_FW_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/fibre-channel/fca/qlc
@@ -48,18 +47,11 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
LDFLAGS += -dy -Nmisc/fctl
#
-# Lint tags
-#
-LINTTAGS += -DUNIQUE_FW_NAME
-LINTTAGS += -DFW_VERSION_STRING=\"4.04.01\"
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -72,12 +64,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/qlc_fw_2500/Makefile b/usr/src/uts/sparc/qlc_fw_2500/Makefile
index b4e7836162..abb60cafe7 100644
--- a/usr/src/uts/sparc/qlc_fw_2500/Makefile
+++ b/usr/src/uts/sparc/qlc_fw_2500/Makefile
@@ -33,7 +33,6 @@ UTSBASE = ../..
#
MODULE = qlc_fw_2500
OBJECTS = $(QLC_FW_2500_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(QLC_FW_2500_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_QLC_FW_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/fibre-channel/fca/qlc
@@ -48,18 +47,11 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
LDFLAGS += -dy -Nmisc/fctl
#
-# Lint tags
-#
-LINTTAGS += -DUNIQUE_FW_NAME
-LINTTAGS += -DFW_VERSION_STRING=\"4.04.01\"
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -72,12 +64,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/qlc_fw_6322/Makefile b/usr/src/uts/sparc/qlc_fw_6322/Makefile
index b0b5de9ea7..3104cca7f4 100644
--- a/usr/src/uts/sparc/qlc_fw_6322/Makefile
+++ b/usr/src/uts/sparc/qlc_fw_6322/Makefile
@@ -33,7 +33,6 @@ UTSBASE = ../..
#
MODULE = qlc_fw_6322
OBJECTS = $(QLC_FW_6322_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(QLC_FW_6322_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_QLC_FW_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/fibre-channel/fca/qlc
@@ -48,18 +47,11 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
LDFLAGS += -dy -Nmisc/fctl
#
-# Lint tags
-#
-LINTTAGS += -DUNIQUE_FW_NAME
-LINTTAGS += -DFW_VERSION_STRING=\"3.03.27\"
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -72,12 +64,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/qlc_fw_8100/Makefile b/usr/src/uts/sparc/qlc_fw_8100/Makefile
index b75487441a..5d4e7199fc 100644
--- a/usr/src/uts/sparc/qlc_fw_8100/Makefile
+++ b/usr/src/uts/sparc/qlc_fw_8100/Makefile
@@ -33,7 +33,6 @@ UTSBASE = ../..
#
MODULE = qlc_fw_8100
OBJECTS = $(QLC_FW_8100_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(QLC_FW_8100_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_QLC_FW_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/fibre-channel/fca/qlc
@@ -48,18 +47,11 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
LDFLAGS += -dy -Nmisc/fctl
#
-# Lint tags
-#
-LINTTAGS += -DUNIQUE_FW_NAME
-LINTTAGS += -DFW_VERSION_STRING=\"5.00.00\"
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -72,12 +64,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/qlge/Makefile b/usr/src/uts/sparc/qlge/Makefile
index a823631732..3489a36dd4 100644
--- a/usr/src/uts/sparc/qlge/Makefile
+++ b/usr/src/uts/sparc/qlge/Makefile
@@ -37,7 +37,6 @@ ARCHDIR:sh = cd ..; basename `pwd`
#
MODULE = qlge
OBJECTS = $(QLGE_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(QLGE_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -49,7 +48,6 @@ include ../Makefile.$(ARCHDIR)
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -79,12 +77,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/qlt/Makefile b/usr/src/uts/sparc/qlt/Makefile
index 16fd3ef9ed..cd5989db35 100644
--- a/usr/src/uts/sparc/qlt/Makefile
+++ b/usr/src/uts/sparc/qlt/Makefile
@@ -21,7 +21,7 @@
#
# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
-# This makefile drives the production of the qlt driver for
+# This makefile drives the production of the qlt driver for
# COMSTAR.
#
@@ -36,7 +36,6 @@ ARCHDIR:sh = cd ..; basename `pwd`
#
MODULE = qlt
OBJECTS = $(QLT_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(QLT_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/comstar/port/qlt
@@ -49,7 +48,6 @@ include ../Makefile.$(ARCHDIR)
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -62,13 +60,9 @@ CFLAGS += -DUNIQUE_FW_NAME
C99LMODE= -Xc99=%all
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
#
-LINTTAGS += -DUNIQUE_FW_NAME
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
CERRWARN += $(CNOWARN_UNINIT)
@@ -85,12 +79,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ramdisk/Makefile b/usr/src/uts/sparc/ramdisk/Makefile
index 28d4b32ba3..616797dbe9 100644
--- a/usr/src/uts/sparc/ramdisk/Makefile
+++ b/usr/src/uts/sparc/ramdisk/Makefile
@@ -23,7 +23,7 @@
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the ramdisk driver kernel
# module.
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = ramdisk
OBJECTS = $(RAMDISK_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(RAMDISK_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -54,7 +53,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -75,12 +73,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/random/Makefile b/usr/src/uts/sparc/random/Makefile
index ca3b92c48a..d18663cace 100644
--- a/usr/src/uts/sparc/random/Makefile
+++ b/usr/src/uts/sparc/random/Makefile
@@ -20,11 +20,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/random/Makefile
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the random driver
#
@@ -41,7 +40,6 @@ UTSBASE = ../..
#
MODULE = random
OBJECTS = $(RANDOM_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(RANDOM_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -54,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -62,9 +59,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
LDFLAGS += -dy -Nmisc/kcf
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
@@ -80,12 +74,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/rds/Makefile b/usr/src/uts/sparc/rds/Makefile
index 8e078da5da..deed8207d4 100644
--- a/usr/src/uts/sparc/rds/Makefile
+++ b/usr/src/uts/sparc/rds/Makefile
@@ -24,7 +24,7 @@
#
#
-# This makefile drives the production of the rds driver
+# This makefile drives the production of the rds driver
# kernel module.
#
# sparc architecture dependent
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = rds
OBJECTS = $(RDS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(RDS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/rds
@@ -53,14 +52,14 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
-# lint pass one enforcement and OS version
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
CFLAGS += $(CCVERBOSE)
-
CERRWARN += $(CNOWARN_UNINIT)
LDFLAGS += -dy -Nfs/sockfs -Ndrv/ip
@@ -78,12 +77,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS) lint64
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_STRMOD_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/rdsib/Makefile b/usr/src/uts/sparc/rdsib/Makefile
index 8325150c18..2294658fd4 100644
--- a/usr/src/uts/sparc/rdsib/Makefile
+++ b/usr/src/uts/sparc/rdsib/Makefile
@@ -24,7 +24,7 @@
#
#
-# This makefile drives the production of the rds driver
+# This makefile drives the production of the rds driver
# kernel module.
#
# sparc architecture dependent
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = rdsib
OBJECTS = $(RDSIB_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(RDSIB_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/rds
@@ -53,14 +52,14 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
-# lint pass one enforcement and OS version
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
-CFLAGS += $(CCVERBOSE)
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-switch
CERRWARN += $(CNOWARN_UNINIT)
@@ -79,12 +78,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS) lint64
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_STRMOD_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/rdsv3/Makefile b/usr/src/uts/sparc/rdsv3/Makefile
index 42218769c8..d46f687574 100644
--- a/usr/src/uts/sparc/rdsv3/Makefile
+++ b/usr/src/uts/sparc/rdsv3/Makefile
@@ -37,7 +37,6 @@ UTSBASE = ../..
#
MODULE = rdsv3
OBJECTS = $(RDSV3_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(RDSV3_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/rdsv3
@@ -50,37 +49,22 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
-# lint pass one enforcement and OS version
+# Disable these warnings since some errors suppressed here are
+# in the OFED code, but we'd like to keep it as is as much as possible.
+# Note. maintainers should endeavor to investigate and remove these for
+# maximum coverage, but please do not carry these forward to new
+# Makefiles blindly.
#
-CFLAGS += $(CCVERBOSE)
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-unused-function
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-parentheses
-#
-# Disable these lint checks since some errors suppressed here are
-# in the OFED code, but we'd like to keep it as is as much as possible.
-# Note. maintainers should endeavor to investigate and remove these for
-# maximum lint coverage, but please do not carry these forward to new
-# Makefiles blindly.
-#
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_CONSTANT_CONDITION
-LINTTAGS += -erroff=E_FUNC_VAR_UNUSED
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_FUNC_SET_NOT_USED
-LINTTAGS += -erroff=E_FUNC_USED_VAR_ARG2
-LINTTAGS += -erroff=E_INCONS_ARG_USED2
-
LDFLAGS += -dy -Nfs/sockfs -Nmisc/ksocket -Ndrv/ip -Nmisc/ibtl -Nmisc/ibcm -Nmisc/sol_ofs
#
@@ -96,12 +80,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS) lint64
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_STRMOD_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/redirmod/Makefile b/usr/src/uts/sparc/redirmod/Makefile
index 30ab743cb0..b204c03f6f 100644
--- a/usr/src/uts/sparc/redirmod/Makefile
+++ b/usr/src/uts/sparc/redirmod/Makefile
@@ -20,11 +20,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/redirmod/Makefile
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the redirmod streams kernel
# module.
@@ -42,7 +41,6 @@ UTSBASE = ../..
#
MODULE = redirmod
OBJECTS = $(REDIRMOD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(REDIRMOD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE)
#
@@ -54,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -75,12 +72,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/rge/Makefile b/usr/src/uts/sparc/rge/Makefile
index 48b7f673ed..a57856ab06 100644
--- a/usr/src/uts/sparc/rge/Makefile
+++ b/usr/src/uts/sparc/rge/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = rge
OBJECTS = $(RGE_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(RGE_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -50,15 +49,9 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
# Turn on doubleword alignment for 64 bit registers
#
CFLAGS += -dalign
@@ -68,17 +61,14 @@ CFLAGS += -dalign
#
LDFLAGS += -dy -N misc/mac -N drv/ip
-CERRWARN += -_gcc=-Wno-switch
-CERRWARN += $(CNOWARN_UNINIT)
-
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
+CFLAGS += $(CCVERBOSE)
+CERRWARN += -_gcc=-Wno-switch
+CERRWARN += $(CNOWARN_UNINIT)
#
# Default build targets.
@@ -93,12 +83,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/rlmod/Makefile b/usr/src/uts/sparc/rlmod/Makefile
index dc8cdff3a3..b173fa1079 100644
--- a/usr/src/uts/sparc/rlmod/Makefile
+++ b/usr/src/uts/sparc/rlmod/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = rlmod
OBJECTS = $(RLMOD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(RLMOD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_STRMOD_DIR)/$(MODULE)
#
@@ -53,22 +52,14 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
@@ -85,12 +76,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/rpcib/Makefile b/usr/src/uts/sparc/rpcib/Makefile
index 7d8e43ea31..c04744754b 100644
--- a/usr/src/uts/sparc/rpcib/Makefile
+++ b/usr/src/uts/sparc/rpcib/Makefile
@@ -24,7 +24,7 @@
#
#
-# This makefile drives the production of the kernel
+# This makefile drives the production of the kernel
# rpcib module.
#
# sparc implementation architecture dependent
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = rpcib
OBJECTS = $(RPCIB_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(RPCIB_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/rpc
@@ -52,27 +51,19 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
#
# depends on misc/ibtl and misc/ibcm
#
LDFLAGS += -dy -Nmisc/ibtl -Nmisc/ibcm
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_STATIC_UNUSED
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-unused-function
CERRWARN += $(CNOWARN_UNINIT)
@@ -90,12 +81,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/rpcmod/Makefile b/usr/src/uts/sparc/rpcmod/Makefile
index e25ca4bb83..d41fe9865c 100644
--- a/usr/src/uts/sparc/rpcmod/Makefile
+++ b/usr/src/uts/sparc/rpcmod/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = rpcmod
OBJECTS = $(RPCMOD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(RPCMOD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE)
ROOTLINK = $(ROOT_SYS_DIR)/$(MODULE)
@@ -54,7 +53,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK)
#
@@ -69,23 +67,12 @@ CLEANFILES += $(MODSTUBS_O)
#
LDFLAGS += -dy -Nmisc/tlimod
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-switch
@@ -106,12 +93,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_SYS_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/rpcsec/Makefile b/usr/src/uts/sparc/rpcsec/Makefile
index ac2536bc4f..33622281df 100644
--- a/usr/src/uts/sparc/rpcsec/Makefile
+++ b/usr/src/uts/sparc/rpcsec/Makefile
@@ -37,7 +37,6 @@ UTSBASE = ../..
#
MODULE = rpcsec
OBJECTS = $(RPCSEC_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(RPCSEC_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -49,27 +48,19 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
#
# Define dependencies on rpcmod and tlimod
#
LDFLAGS += -dy -N strmod/rpcmod -N misc/tlimod
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
@@ -86,12 +77,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/rpcsec_gss/Makefile b/usr/src/uts/sparc/rpcsec_gss/Makefile
index c75c8e548e..7804e282c3 100644
--- a/usr/src/uts/sparc/rpcsec_gss/Makefile
+++ b/usr/src/uts/sparc/rpcsec_gss/Makefile
@@ -23,7 +23,7 @@
# Use is subject to license terms.
# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
-# This makefile drives the production of the kernel
+# This makefile drives the production of the kernel
# rpcsec_gss module.
#
# sparc implementation architecture dependent
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = rpcsec_gss
OBJECTS = $(RPCSEC_GSS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(RPCSEC_GSS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -50,28 +49,19 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
#
# Define dependencies on rpcmod and kgssapi
#
LDFLAGS += -dy -N strmod/rpcmod -N misc/kgssapi
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
#
@@ -87,12 +77,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/rsa/Makefile b/usr/src/uts/sparc/rsa/Makefile
index 048e02f81e..691c78da70 100644
--- a/usr/src/uts/sparc/rsa/Makefile
+++ b/usr/src/uts/sparc/rsa/Makefile
@@ -41,7 +41,6 @@ COM2_DIR = $(COMMONBASE)/crypto
#
MODULE = rsa
OBJECTS = $(RSAPROV_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(RSAPROV_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE)
#
@@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -61,24 +59,15 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
LDFLAGS += -dy -Ncrypto/md5 -Ncrypto/sha2 -Nmisc/bignum -Nmisc/kcf
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE) -I$(COM1_DIR) -I$(COM2_DIR)
+CFLAGS += -I$(COM1_DIR) -I$(COM2_DIR)
CFLAGS += -DUMUL64
-LINTFLAGS += -I$(COM1_DIR) -I$(COM2_DIR)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-switch
CERRWARN += $(CNOWARN_UNINIT)
@@ -95,12 +84,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/rsm/Makefile b/usr/src/uts/sparc/rsm/Makefile
index cfd0eccedc..9e34c252fc 100644
--- a/usr/src/uts/sparc/rsm/Makefile
+++ b/usr/src/uts/sparc/rsm/Makefile
@@ -25,7 +25,7 @@
#
#
-# This makefile drives the production of the rsm kernel agent
+# This makefile drives the production of the rsm kernel agent
#
# Path to the base of the uts directory tree (usually /usr/src/uts).
@@ -35,9 +35,8 @@ UTSBASE = ../..
#
# Define the module and object file sets.
#
-MODULE = rsm
+MODULE = rsm
OBJECTS = $(RSM_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(RSM_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/rsm
@@ -50,7 +49,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -58,11 +56,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
INC_PATH += -I $(UTSBASE)/common/sys/rsm
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
#
# depends on rsmops
#
@@ -75,14 +68,11 @@ LDFLAGS += -dy -Nmisc/rsmops
#LDFLAGS += -Ndrv/rsm_drtest
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-parentheses
@@ -99,12 +89,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/rsmops/Makefile b/usr/src/uts/sparc/rsmops/Makefile
index de0d4740d2..9fc7bba9d4 100644
--- a/usr/src/uts/sparc/rsmops/Makefile
+++ b/usr/src/uts/sparc/rsmops/Makefile
@@ -20,11 +20,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/rsmops/Makefile
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the rsmops module
#
@@ -37,9 +36,8 @@ UTSBASE = ../..
#
# Define the module and object file sets.
#
-MODULE = rsmops
+MODULE = rsmops
OBJECTS = $(RSMOPS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(RSMOPS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -51,7 +49,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -59,9 +56,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
INC_PATH += -I $(UTSBASE)/common/sys/rsm
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
@@ -77,12 +71,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/rtls/Makefile b/usr/src/uts/sparc/rtls/Makefile
index 6a9e60d6a3..92aa45954b 100644
--- a/usr/src/uts/sparc/rtls/Makefile
+++ b/usr/src/uts/sparc/rtls/Makefile
@@ -37,7 +37,6 @@ UTSBASE = ../..
#
MODULE = rtls
OBJECTS = $(RTLS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(RTLS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -49,7 +48,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -76,12 +74,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/rts/Makefile b/usr/src/uts/sparc/rts/Makefile
index 4078c24237..b552f71e9b 100644
--- a/usr/src/uts/sparc/rts/Makefile
+++ b/usr/src/uts/sparc/rts/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = rts
OBJECTS = $(RTS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(RTS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
ROOTLINK = $(ROOT_SOCK_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/inet/ip
@@ -59,12 +58,8 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
@@ -73,15 +68,6 @@ CFLAGS += $(CCVERBOSE)
LDFLAGS += -dy -Ndrv/ip -Nfs/sockfs
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -94,12 +80,6 @@ clean: $(CLEAN_DEPS) $(SISCLEAN_DEPS)
clobber: $(CLOBBER_DEPS) $(SISCLEAN_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS) $(SISCHECK_DEPS)
$(ROOTLINK): $(ROOT_STRMOD_DIR) $(ROOT_SOCK_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/s1394/Makefile b/usr/src/uts/sparc/s1394/Makefile
index 67e21511cd..e9c197f309 100644
--- a/usr/src/uts/sparc/s1394/Makefile
+++ b/usr/src/uts/sparc/s1394/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = s1394
OBJECTS = $(S1394_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(S1394_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -61,28 +59,16 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
ALL_BUILDS = $(ALL_BUILDSONLY64)
DEF_BUILDS = $(DEF_BUILDSONLY64)
-CLEANLINTFILES += $(LINT32_FILES)
DEBUG_DEFS_DBG32 += -DTNF_DEBUG
DEBUG_DEFS_DBG64 += -DTNF_DEBUG
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-switch
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-unused-variable
@@ -101,12 +87,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS) lint32
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/sad/Makefile b/usr/src/uts/sparc/sad/Makefile
index f55534c3e7..3c605aed95 100644
--- a/usr/src/uts/sparc/sad/Makefile
+++ b/usr/src/uts/sparc/sad/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = sad
OBJECTS = $(SAD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SAD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -52,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -64,12 +62,10 @@ CLEANFILES += $(MODSTUBS_O)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
@@ -87,12 +83,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/sata/Makefile b/usr/src/uts/sparc/sata/Makefile
index 71ed1be9ae..d3726c78f4 100644
--- a/usr/src/uts/sparc/sata/Makefile
+++ b/usr/src/uts/sparc/sata/Makefile
@@ -45,7 +45,6 @@ UTSBASE = ../..
#
MODULE = sata
OBJECTS = $(SATA_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SATA_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -57,7 +56,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -67,25 +65,16 @@ DEBUG_FLGS =
DEBUG_DEFS += $(DEBUG_FLGS)
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
# dependency on scsi module
#
LDFLAGS += -dy -Nmisc/scsi
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_STATIC_UNUSED
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += -_gcc=-Wno-unused-function
@@ -109,12 +98,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/sbp2/Makefile b/usr/src/uts/sparc/sbp2/Makefile
index 7d3db7b1d2..79248a1ced 100644
--- a/usr/src/uts/sparc/sbp2/Makefile
+++ b/usr/src/uts/sparc/sbp2/Makefile
@@ -37,7 +37,6 @@ UTSBASE = ../..
#
MODULE = sbp2
OBJECTS = $(SBP2_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SBP2_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -49,7 +48,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -57,22 +55,13 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
ALL_BUILDS = $(ALL_BUILDSONLY64)
DEF_BUILDS = $(DEF_BUILDSONLY64)
-CLEANLINTFILES += $(LINT32_FILES)
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_STATIC_UNUSED
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-unused-function
.KEEP_STATE:
@@ -85,12 +74,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/scsa1394/Makefile b/usr/src/uts/sparc/scsa1394/Makefile
index 5eab76a7ed..06f3c1c106 100644
--- a/usr/src/uts/sparc/scsa1394/Makefile
+++ b/usr/src/uts/sparc/scsa1394/Makefile
@@ -33,7 +33,6 @@ UTSBASE = ../..
#
MODULE = scsa1394
OBJECTS = $(SCSA1394_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SCSA1394_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -45,7 +44,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -53,30 +51,19 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
ALL_BUILDS = $(ALL_BUILDSONLY64)
DEF_BUILDS = $(DEF_BUILDSONLY64)
-CLEANLINTFILES += $(LINT32_FILES)
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
#
# depends on
#
LDFLAGS += -dy -Nmisc/scsi -Nmisc/s1394 -Nmisc/sbp2
+#
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
+#
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
@@ -92,12 +79,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-modlintlib: $(MODLINTLIB_DEPS) lint32
-
-lint: $(LINT_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/scsa2usb/Makefile b/usr/src/uts/sparc/scsa2usb/Makefile
index eb7fdbbf9c..0af0aee092 100644
--- a/usr/src/uts/sparc/scsa2usb/Makefile
+++ b/usr/src/uts/sparc/scsa2usb/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = scsa2usb
OBJECTS = $(SCSA2USB_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SCSA2USB_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/usb/scsa2usb
@@ -50,10 +49,7 @@ CONF_SRCDIR = $(UTSBASE)/common/io/usb/scsa2usb
#
include $(UTSBASE)/sparc/Makefile.sparc
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
+
# depends on misc/usba misc/scsi
#
@@ -63,18 +59,16 @@ LDFLAGS += -dy -Nmisc/usba -Nmisc/scsi
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
-CERRWARN += -_gcc=-Wno-unused-label
-CERRWARN += $(CNOWARN_UNINIT)
-
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
+CFLAGS += $(CCVERBOSE)
+CERRWARN += -_gcc=-Wno-unused-label
+CERRWARN += $(CNOWARN_UNINIT)
.KEEP_STATE:
@@ -86,12 +80,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/scsi/Makefile b/usr/src/uts/sparc/scsi/Makefile
index 1d464fca09..aa666fa106 100644
--- a/usr/src/uts/sparc/scsi/Makefile
+++ b/usr/src/uts/sparc/scsi/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = scsi
OBJECTS = $(SCSI_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SCSI_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -53,23 +52,16 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
+
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-switch
CERRWARN += $(CNOWARN_UNINIT)
@@ -87,12 +79,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/scsi_vhci/Makefile b/usr/src/uts/sparc/scsi_vhci/Makefile
index fbe826d733..3de8bb2e63 100644
--- a/usr/src/uts/sparc/scsi_vhci/Makefile
+++ b/usr/src/uts/sparc/scsi_vhci/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = scsi_vhci
OBJECTS = $(SCSI_VHCI_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SCSI_VHCI_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/scsi/adapters/scsi_vhci
@@ -56,7 +55,6 @@ CERRWARN += -_gcc=-Wno-unused-label
# Define targets.
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -77,12 +75,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/scsi_vhci_f_sym/Makefile b/usr/src/uts/sparc/scsi_vhci_f_sym/Makefile
index 85c22ade33..428142d7be 100644
--- a/usr/src/uts/sparc/scsi_vhci_f_sym/Makefile
+++ b/usr/src/uts/sparc/scsi_vhci_f_sym/Makefile
@@ -25,8 +25,6 @@
#
#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
# This makefile drives the production of misc/scsi_vhci/scsi_vhci_f_sym
# sparc architecture dependent
#
@@ -41,7 +39,6 @@ UTSBASE = ../..
#
MODULE = scsi_vhci_f_sym
OBJECTS = $(SCSI_VHCI_F_SYM_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SCSI_VHCI_F_SYM_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_SCSI_VHCI_DIR)/$(MODULE)
#
@@ -53,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets.
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -74,12 +70,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/scsi_vhci_f_sym_hds/Makefile b/usr/src/uts/sparc/scsi_vhci_f_sym_hds/Makefile
index 87f77066df..42ff86f68d 100644
--- a/usr/src/uts/sparc/scsi_vhci_f_sym_hds/Makefile
+++ b/usr/src/uts/sparc/scsi_vhci_f_sym_hds/Makefile
@@ -25,8 +25,6 @@
#
#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
# This makefile drives the production of misc/scsi_vhci/scsi_vhci_f_sym_hds
# sparc architecture dependent
#
@@ -42,7 +40,6 @@ UTSBASE = ../..
#
MODULE = scsi_vhci_f_sym_hds
OBJECTS = $(SCSI_VHCI_F_SYM_HDS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SCSI_VHCI_F_SYM_HDS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_SCSI_VHCI_DIR)/$(MODULE)
#
@@ -54,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets.
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -75,12 +71,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/scsi_vhci_f_tape/Makefile b/usr/src/uts/sparc/scsi_vhci_f_tape/Makefile
index bf6598a9eb..2afe814945 100644
--- a/usr/src/uts/sparc/scsi_vhci_f_tape/Makefile
+++ b/usr/src/uts/sparc/scsi_vhci_f_tape/Makefile
@@ -25,8 +25,6 @@
#
#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
# This makefile drives the production of misc/scsi_vhci/scsi_vhci_f_tape
# sparc architecture dependent
#
@@ -41,7 +39,6 @@ UTSBASE = ../..
#
MODULE = scsi_vhci_f_tape
OBJECTS = $(SCSI_VHCI_F_TAPE_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SCSI_VHCI_F_TAPE_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_SCSI_VHCI_DIR)/$(MODULE)
#
@@ -53,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets.
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -74,12 +70,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/scsi_vhci_f_tpgs/Makefile b/usr/src/uts/sparc/scsi_vhci_f_tpgs/Makefile
index 62cb1fb4b6..b45900405b 100644
--- a/usr/src/uts/sparc/scsi_vhci_f_tpgs/Makefile
+++ b/usr/src/uts/sparc/scsi_vhci_f_tpgs/Makefile
@@ -25,8 +25,6 @@
#
#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
# This makefile drives the production of misc/scsi_vhci/scsi_vhci_f_tpgs
# sparc architecture dependent
#
@@ -41,7 +39,6 @@ UTSBASE = ../..
#
MODULE = scsi_vhci_f_tpgs
OBJECTS = $(SCSI_VHCI_F_TPGS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SCSI_VHCI_F_TPGS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_SCSI_VHCI_DIR)/$(MODULE)
#
@@ -53,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets.
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -74,12 +70,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/scsi_vhci_f_tpgs_tape/Makefile b/usr/src/uts/sparc/scsi_vhci_f_tpgs_tape/Makefile
index ee2288cff7..c9853144bc 100644
--- a/usr/src/uts/sparc/scsi_vhci_f_tpgs_tape/Makefile
+++ b/usr/src/uts/sparc/scsi_vhci_f_tpgs_tape/Makefile
@@ -25,8 +25,6 @@
#
#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
# This makefile drives the production of misc/scsi_vhci/scsi_vhci_f_tpgs_tape
# sparc architecture dependent
#
@@ -41,7 +39,6 @@ UTSBASE = ../..
#
MODULE = scsi_vhci_f_tpgs_tape
OBJECTS = $(SCSI_VHCI_F_TPGS_TAPE_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SCSI_VHCI_F_TPGS_TAPE_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_SCSI_VHCI_DIR)/$(MODULE)
#
@@ -53,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets.
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -74,12 +70,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/sd/Makefile b/usr/src/uts/sparc/sd/Makefile
index e97a15f713..3b5c08f41e 100644
--- a/usr/src/uts/sparc/sd/Makefile
+++ b/usr/src/uts/sparc/sd/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = sd
OBJECTS = $(SD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/sun/io/scsi/targets
@@ -53,12 +52,8 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
@@ -67,16 +62,6 @@ CFLAGS += $(CCVERBOSE)
LDFLAGS += -dy -N misc/scsi -N misc/cmlb
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -89,12 +74,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/sdp/Makefile b/usr/src/uts/sparc/sdp/Makefile
index c9b216840d..e7801a35d2 100644
--- a/usr/src/uts/sparc/sdp/Makefile
+++ b/usr/src/uts/sparc/sdp/Makefile
@@ -22,9 +22,6 @@
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
-#
-#
#
# Path to the base of the uts directory tree (usually /usr/src/uts).
@@ -36,7 +33,6 @@ UTSBASE = ../..
#
MODULE = sdp
OBJECTS = $(SDP_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SDP_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
LDFLAGS += -dy
CONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/sdp
@@ -49,7 +45,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -65,12 +60,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/sdt/Makefile b/usr/src/uts/sparc/sdt/Makefile
index 7100325717..015bdd6d55 100644
--- a/usr/src/uts/sparc/sdt/Makefile
+++ b/usr/src/uts/sparc/sdt/Makefile
@@ -27,7 +27,6 @@ UTSBASE = ../..
MODULE = sdt
OBJECTS = $(SDT_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SDT_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
ROOTLINK = $(ROOT_DTRACE_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/sparc/dtrace
@@ -35,18 +34,16 @@ CONF_SRCDIR = $(UTSBASE)/sparc/dtrace
include $(UTSBASE)/sparc/Makefile.sparc
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
CFLAGS += $(CCVERBOSE)
LDFLAGS += -dy -Ndrv/dtrace -Nmisc/ctf
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
CERRWARN += -_gcc=-Wno-parentheses
@@ -60,12 +57,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_DTRACE_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/semsys/Makefile b/usr/src/uts/sparc/semsys/Makefile
index 9f7dba60b4..b6b6873b1a 100644
--- a/usr/src/uts/sparc/semsys/Makefile
+++ b/usr/src/uts/sparc/semsys/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = semsys
OBJECTS = $(IPCSEM_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(IPCSEM_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_SYS_DIR)/$(MODULE)
#
@@ -51,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -64,11 +62,10 @@ CFLAGS += $(CCVERBOSE)
LDFLAGS += -dy -Nmisc/ipc
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
@@ -86,12 +83,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ses/Makefile b/usr/src/uts/sparc/ses/Makefile
index 73e29f288d..d3e69c016b 100644
--- a/usr/src/uts/sparc/ses/Makefile
+++ b/usr/src/uts/sparc/ses/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = ses
OBJECTS = $(SES_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SES_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/sun/io/scsi/targets
@@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -62,15 +60,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
LDFLAGS += -dy -N misc/scsi
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -83,10 +72,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-modlintlib: $(MODLINTLIB_DEPS) lint64
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/sfe/Makefile b/usr/src/uts/sparc/sfe/Makefile
index ff245466d1..77e795671d 100644
--- a/usr/src/uts/sparc/sfe/Makefile
+++ b/usr/src/uts/sparc/sfe/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = sfe
OBJECTS = $(SFE_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SFE_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -50,7 +49,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -96,12 +94,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/sgen/Makefile b/usr/src/uts/sparc/sgen/Makefile
index c342af394e..b245dcc25e 100644
--- a/usr/src/uts/sparc/sgen/Makefile
+++ b/usr/src/uts/sparc/sgen/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = sgen
OBJECTS = $(SGEN_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SGEN_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/scsi/targets
@@ -52,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets.
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -63,15 +61,13 @@ LDFLAGS += -dy -N"misc/scsi"
#
# Overrides.
#
-CFLAGS += $(CCVERBOSE)
+CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += $(CNOWARN_UNINIT)
@@ -89,12 +85,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/sha1/Makefile b/usr/src/uts/sparc/sha1/Makefile
index e2a65b662b..a3f4a67121 100644
--- a/usr/src/uts/sparc/sha1/Makefile
+++ b/usr/src/uts/sparc/sha1/Makefile
@@ -42,7 +42,6 @@ COM_DIR = $(COMMONBASE)/crypto
#
MODULE = sha1
OBJECTS = $(SHA1_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SHA1_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE)
ROOTLINK = $(ROOT_MISC_DIR)/$(MODULE)
@@ -60,7 +59,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK)
#
@@ -68,11 +66,7 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK)
#
LDFLAGS += -dy -Nmisc/kcf
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE) -I$(COM_DIR)
-LINTFLAGS += -I$(COM_DIR)
#
# Default build targets.
@@ -87,12 +81,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_MISC_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/sha2/Makefile b/usr/src/uts/sparc/sha2/Makefile
index df8e453ddc..ba385c6c98 100644
--- a/usr/src/uts/sparc/sha2/Makefile
+++ b/usr/src/uts/sparc/sha2/Makefile
@@ -39,7 +39,6 @@ COM_DIR = $(COMMONBASE)/crypto
#
MODULE = sha2
OBJECTS = $(SHA2_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SHA2_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE)
ROOTLINK = $(ROOT_MISC_DIR)/$(MODULE)
@@ -57,7 +56,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK)
#
@@ -65,12 +63,15 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK)
#
LDFLAGS += -dy -Nmisc/kcf
+
+CFLAGS += -I$(COM_DIR)
+
#
-# lint pass one enforcement
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
-CFLAGS += $(CCVERBOSE) -I$(COM_DIR)
-LINTFLAGS += -I$(COM_DIR)
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-switch
CERRWARN += $(CNOWARN_UNINIT)
@@ -87,12 +88,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_MISC_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/sharefs/Makefile b/usr/src/uts/sparc/sharefs/Makefile
index f212780a6d..e4ab636a74 100644
--- a/usr/src/uts/sparc/sharefs/Makefile
+++ b/usr/src/uts/sparc/sharefs/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = sharefs
OBJECTS = $(SHAREFS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SHAREFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE)
#
@@ -52,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -75,12 +73,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/shbinexec/Makefile b/usr/src/uts/sparc/shbinexec/Makefile
index a37c5c2294..d2fce021af 100644
--- a/usr/src/uts/sparc/shbinexec/Makefile
+++ b/usr/src/uts/sparc/shbinexec/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = shbinexec
OBJECTS = $(SHBINEXEC_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SHBINEXEC_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_EXEC_DIR)/$(MODULE)
#
@@ -54,7 +53,6 @@ CERRWARN += -_gcc=-Wno-parentheses
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -70,12 +68,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/shmsys/Makefile b/usr/src/uts/sparc/shmsys/Makefile
index be041263ec..8d7fa800b3 100644
--- a/usr/src/uts/sparc/shmsys/Makefile
+++ b/usr/src/uts/sparc/shmsys/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = shmsys
OBJECTS = $(IPCSHM_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(IPCSHM_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_SYS_DIR)/$(MODULE)
#
@@ -51,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -64,12 +62,10 @@ CFLAGS += $(CCVERBOSE)
LDFLAGS += -dy -Nmisc/ipc
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
CERRWARN += -_gcc=-Wno-parentheses
@@ -86,12 +82,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/signalfd/Makefile b/usr/src/uts/sparc/signalfd/Makefile
index a60bc617e1..a89a84cd2e 100644
--- a/usr/src/uts/sparc/signalfd/Makefile
+++ b/usr/src/uts/sparc/signalfd/Makefile
@@ -23,7 +23,6 @@ UTSBASE = ../..
#
MODULE = signalfd
OBJECTS = $(SIGNALFD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SIGNALFD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -38,7 +37,6 @@ CERRWARN += -_gcc=-Wno-parentheses
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -54,12 +52,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/simnet/Makefile b/usr/src/uts/sparc/simnet/Makefile
index f58942d867..fe30719de0 100644
--- a/usr/src/uts/sparc/simnet/Makefile
+++ b/usr/src/uts/sparc/simnet/Makefile
@@ -32,7 +32,6 @@ UTSBASE = ../..
#
MODULE = simnet
OBJECTS = $(SIMNET_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SIMNET_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/$(MODULE)
@@ -45,7 +44,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -69,12 +67,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/skein/Makefile b/usr/src/uts/sparc/skein/Makefile
index 6f1b4ecfab..737d13c52d 100644
--- a/usr/src/uts/sparc/skein/Makefile
+++ b/usr/src/uts/sparc/skein/Makefile
@@ -38,7 +38,6 @@ COMDIR = $(COMMONBASE)/crypto
#
MODULE = skein
OBJECTS = $(SKEIN_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SKEIN_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE)
ROOTLINK = $(ROOT_MISC_DIR)/$(MODULE)
@@ -51,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK)
#
@@ -60,7 +58,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK)
LDFLAGS += -dy -Nmisc/kcf
CFLAGS += -I$(COMDIR)
-LINTFLAGS += -I$(COMDIR)
#
# Default build targets.
@@ -75,12 +72,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_MISC_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/smbfs/Makefile b/usr/src/uts/sparc/smbfs/Makefile
index 346972e300..bf7b25626b 100644
--- a/usr/src/uts/sparc/smbfs/Makefile
+++ b/usr/src/uts/sparc/smbfs/Makefile
@@ -24,7 +24,7 @@
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# This makefile drives the production of the smbfs (Server
+# This makefile drives the production of the smbfs (Server
# message block file system) kernel module.
#
# sparc architecture dependent
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = smbfs
OBJECTS = $(SMBFS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SMBFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_FS_DIR)/$(MODULE)
#
@@ -52,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -65,16 +63,14 @@ INC_PATH += -I$(UTSBASE)/common/fs/smbclnt
INC_PATH += -I$(COMMONBASE)/smbclnt
LDFLAGS += -dy -Ndrv/nsmb
-# Until CR 4994570 is fixed...
-LINTTAGS += -erroff=E_BAD_FORMAT_ARG_TYPE2
+#
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
+#
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
-# The mb_put/md_get functions are intentionally used with and without
-# return value checks, so filter those out like LGREP.2 does.
-LGREP.nsmb = egrep -v ' ignored: (mb_init|mb_put|md_get)'
-LTAIL += 2>&1 | $(LGREP.2) | $(LGREP.nsmb) || true
-
#
# Default build targets.
#
@@ -88,12 +84,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/smbsrv/Makefile b/usr/src/uts/sparc/smbsrv/Makefile
index 57de6d9140..4da983f440 100644
--- a/usr/src/uts/sparc/smbsrv/Makefile
+++ b/usr/src/uts/sparc/smbsrv/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = smbsrv
OBJECTS = $(SMBSRV_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SMBSRV_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/fs/smbsrv
@@ -59,7 +58,6 @@ LDFLAGS += -Nmisc/kcf
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
#
@@ -85,12 +83,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_SYS_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/smp/Makefile b/usr/src/uts/sparc/smp/Makefile
index 7e8c71a047..6416f2b325 100644
--- a/usr/src/uts/sparc/smp/Makefile
+++ b/usr/src/uts/sparc/smp/Makefile
@@ -23,8 +23,6 @@
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
-#
#
# This makefile drives the production of the smp driver.
@@ -41,7 +39,6 @@ UTSBASE = ../..
#
MODULE = smp
OBJECTS = $(SMP_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SMP_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/scsi/targets
@@ -54,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets.
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -80,12 +76,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/socal/Makefile b/usr/src/uts/sparc/socal/Makefile
index e79fdc9bd2..4eb95ff3a1 100644
--- a/usr/src/uts/sparc/socal/Makefile
+++ b/usr/src/uts/sparc/socal/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = socal
OBJECTS = $(SOCAL_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SOCAL_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -62,16 +60,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CFLAGS += $(CCVERBOSE) -dalign
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
CERRWARN += $(CNOWARN_UNINIT)
@@ -88,12 +80,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/sockpfp/Makefile b/usr/src/uts/sparc/sockpfp/Makefile
index 59e17ddc64..e06887cdd9 100644
--- a/usr/src/uts/sparc/sockpfp/Makefile
+++ b/usr/src/uts/sparc/sockpfp/Makefile
@@ -22,7 +22,7 @@
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# This makefile drives the production of the nca driver
+# This makefile drives the production of the nca driver
# kernel module.
#
# sparc architecture dependent
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = sockpfp
OBJECTS = $(PFP_SOCK_MOD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PFP_SOCK_MOD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_SOCK_DIR)/$(MODULE)
#
@@ -50,25 +49,17 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# lint pass one enforcement and OS version
-#
-CFLAGS += $(CCVERBOSE)
-
LDFLAGS += -dy -Nfs/sockfs -Nmisc/dls -Nmisc/mac -Ndrv/bpf -Ndrv/ip
INC_PATH += -I$(UTSBASE)/common/inet/sockmods -I$(UTSBASE)/common/io/bpf
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-unused-label
@@ -85,12 +76,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/sockrds/Makefile b/usr/src/uts/sparc/sockrds/Makefile
index a8e1a0702f..d61e7f7ffd 100644
--- a/usr/src/uts/sparc/sockrds/Makefile
+++ b/usr/src/uts/sparc/sockrds/Makefile
@@ -23,7 +23,7 @@
#
#
-# This makefile drives the production of the nca driver
+# This makefile drives the production of the nca driver
# kernel module.
#
# sparc architecture dependent
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = sockrds
OBJECTS = $(RDS_SOCK_MOD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(RDS_SOCK_MOD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_SOCK_DIR)/$(MODULE)
#
@@ -51,12 +50,8 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# lint pass one enforcement and OS version
-#
CFLAGS += $(CCVERBOSE)
LDFLAGS += -dy -Nfs/sockfs -Ndrv/ip -Ndrv/rdsv3
@@ -74,12 +69,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/socksctp/Makefile b/usr/src/uts/sparc/socksctp/Makefile
index 50ce165fd1..bb7c3872a8 100644
--- a/usr/src/uts/sparc/socksctp/Makefile
+++ b/usr/src/uts/sparc/socksctp/Makefile
@@ -23,7 +23,7 @@
# Use is subject to license terms.
#
-# This makefile drives the production of the nca driver
+# This makefile drives the production of the nca driver
# kernel module.
#
# sparc architecture dependent
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = socksctp
OBJECTS = $(SCTP_SOCK_MOD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SCTP_SOCK_MOD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_SOCK_DIR)/$(MODULE)
#
@@ -51,24 +50,18 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# lint pass one enforcement and OS version
-#
-CFLAGS += $(CCVERBOSE)
+
LDFLAGS += -dy -Nfs/sockfs -Ndrv/ip
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += $(CNOWARN_UNINIT)
@@ -85,12 +78,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/socksdp/Makefile b/usr/src/uts/sparc/socksdp/Makefile
index 746f8c90c5..e921aea8c1 100644
--- a/usr/src/uts/sparc/socksdp/Makefile
+++ b/usr/src/uts/sparc/socksdp/Makefile
@@ -23,7 +23,7 @@
# Use is subject to license terms.
#
-# This makefile drives the production of the nca driver
+# This makefile drives the production of the nca driver
# kernel module.
#
# sparc architecture dependent
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = socksdp
OBJECTS = $(SDP_SOCK_MOD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SDP_SOCK_MOD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_SOCK_DIR)/$(MODULE)
#
@@ -51,14 +50,14 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
-# lint pass one enforcement and OS version
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
-CFLAGS += $(CCVERBOSE)
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += $(CNOWARN_UNINIT)
@@ -77,12 +76,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/softmac/Makefile b/usr/src/uts/sparc/softmac/Makefile
index dc9a3f53de..4b53f18a9f 100644
--- a/usr/src/uts/sparc/softmac/Makefile
+++ b/usr/src/uts/sparc/softmac/Makefile
@@ -33,7 +33,6 @@ UTSBASE = ../..
#
MODULE = softmac
OBJECTS = $(SOFTMAC_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SOFTMAC_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/softmac
@@ -46,22 +45,19 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
# Overrides
#
-CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -Ndrv/dld -Nmisc/mac -Nmisc/strplumb -Nmisc/dls
+LDFLAGS += -dy -Ndrv/dld -Nmisc/mac -Nmisc/strplumb -Nmisc/dls
#
-# For now, disable these lint checks as it is a generic STREAMS problem;
-# maintainers should endeavor to investigate and remove these for maximum
-# lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-unused-label
@@ -78,12 +74,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/sol_ofs/Makefile b/usr/src/uts/sparc/sol_ofs/Makefile
index 1b2c55fd77..3f62229d4f 100644
--- a/usr/src/uts/sparc/sol_ofs/Makefile
+++ b/usr/src/uts/sparc/sol_ofs/Makefile
@@ -33,7 +33,6 @@ UTSBASE = ../..
#
MODULE = sol_ofs
OBJECTS = $(SOL_OFS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SOL_OFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
LDFLAGS += -dy -Nmisc/ibtl -Nmisc/ibcm
@@ -46,18 +45,13 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_CONST_TRUNCATED_BY_ASSIGN
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-parentheses
@@ -77,12 +71,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/sol_ucma/Makefile b/usr/src/uts/sparc/sol_ucma/Makefile
index d263e60262..4152f59807 100644
--- a/usr/src/uts/sparc/sol_ucma/Makefile
+++ b/usr/src/uts/sparc/sol_ucma/Makefile
@@ -33,7 +33,6 @@ UTSBASE = ../..
#
MODULE = sol_ucma
OBJECTS = $(SOL_UCMA_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SOL_UCMA_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
LDFLAGS += -dy -Nmisc/sol_ofs
CONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/of/sol_ucma
@@ -47,7 +46,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -56,13 +54,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
INCLUDE_PATH += -I$(UTSBASE)/common/sys/ib/clients/ofv/sol_ucma
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_STATIC_UNUSED
#
# Default build targets.
@@ -77,12 +72,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/sol_umad/Makefile b/usr/src/uts/sparc/sol_umad/Makefile
index 8e7dcaa7ef..b4624f489b 100644
--- a/usr/src/uts/sparc/sol_umad/Makefile
+++ b/usr/src/uts/sparc/sol_umad/Makefile
@@ -33,7 +33,6 @@ UTSBASE = ../..
#
MODULE = sol_umad
OBJECTS = $(SOL_UMAD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SOL_UMAD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/of/sol_umad
LDFLAGS += -dy -Nmisc/sol_ofs -Nmisc/ibmf -Nmisc/ibtl
@@ -47,7 +46,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -71,12 +69,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/sol_uverbs/Makefile b/usr/src/uts/sparc/sol_uverbs/Makefile
index 67ea35fb18..665aec7a9b 100644
--- a/usr/src/uts/sparc/sol_uverbs/Makefile
+++ b/usr/src/uts/sparc/sol_uverbs/Makefile
@@ -33,7 +33,6 @@ UTSBASE = ../..
#
MODULE = sol_uverbs
OBJECTS = $(SOL_UVERBS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SOL_UVERBS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
LDFLAGS += -dy -Nmisc/ibtl -Nmisc/sol_ofs
CONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/of/sol_uverbs
@@ -47,18 +46,13 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_CONST_TRUNCATED_BY_ASSIGN
CERRWARN += -_gcc=-Wno-type-limits
CERRWARN += -_gcc=-Wno-switch
@@ -77,12 +71,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/spdsock/Makefile b/usr/src/uts/sparc/spdsock/Makefile
index 21b7d7c667..3726cbc2a8 100644
--- a/usr/src/uts/sparc/spdsock/Makefile
+++ b/usr/src/uts/sparc/spdsock/Makefile
@@ -64,10 +64,11 @@ LDFLAGS += -dy -Ndrv/ip
INC_PATH += -I$(UTSBASE)/common/io/bpf
#
-# lint pass one enforcement
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
-CFLAGS += $(CCVERBOSE)
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
#
diff --git a/usr/src/uts/sparc/specfs/Makefile b/usr/src/uts/sparc/specfs/Makefile
index 07a23b1309..3a18a26e80 100644
--- a/usr/src/uts/sparc/specfs/Makefile
+++ b/usr/src/uts/sparc/specfs/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = specfs
OBJECTS = $(SPEC_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SPEC_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE)
#
@@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -63,7 +61,7 @@ MODSTUBS_DIR = $(OBJS_DIR)
$(MODSTUBS_O) := AS_CPPFLAGS += -DSPEC_MODULE
CLEANFILES += $(MODSTUBS_O)
CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -Nfs/fifofs
+LDFLAGS += -dy -Nfs/fifofs
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
@@ -81,12 +79,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/sppp/Makefile b/usr/src/uts/sparc/sppp/Makefile
index c281897458..35260e4162 100644
--- a/usr/src/uts/sparc/sppp/Makefile
+++ b/usr/src/uts/sparc/sppp/Makefile
@@ -42,7 +42,6 @@ UTSBASE = ../..
#
MODULE = sppp
OBJECTS = $(SPPP_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SPPP_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/ppp/sppp
@@ -55,7 +54,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -70,12 +68,10 @@ INC_PATH += -I$(UTSBASE)/common/io/ppp/common
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
@@ -93,12 +89,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/spppasyn/Makefile b/usr/src/uts/sparc/spppasyn/Makefile
index 60acb99288..1a319c6fc7 100644
--- a/usr/src/uts/sparc/spppasyn/Makefile
+++ b/usr/src/uts/sparc/spppasyn/Makefile
@@ -25,7 +25,7 @@
# Use is subject to license terms.
# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
-# This makefile drives the production of the spppasyn STREAMS
+# This makefile drives the production of the spppasyn STREAMS
# kernel module.
#
# sparc architecture dependent
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = spppasyn
OBJECTS = $(SPPPASYN_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SPPPASYN_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_STRMOD_DIR)/$(MODULE)
#
@@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -61,9 +59,9 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
CPPFLAGS += -DINTERNAL_BUILD -DSOL2
-#
+#
# Additional compiler definitions
-#
+#
INC_PATH += -I$(UTSBASE)/common/io/ppp/common
CFLAGS += $(CCVERBOSE)
@@ -72,16 +70,6 @@ CFLAGS += $(CCVERBOSE)
#
LDFLAGS += -dy -N drv/sppp
-CLEANLINTFILES += $(LINT64_FILES)
-
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-
#
# Default build targets.
#
@@ -95,12 +83,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS) lint64
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/spppcomp/Makefile b/usr/src/uts/sparc/spppcomp/Makefile
index 7f603cc521..2b163e5ce9 100644
--- a/usr/src/uts/sparc/spppcomp/Makefile
+++ b/usr/src/uts/sparc/spppcomp/Makefile
@@ -25,7 +25,7 @@
# Use is subject to license terms.
# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
-# This makefile drives the production of the spppcomp STREAMS
+# This makefile drives the production of the spppcomp STREAMS
# kernel module.
#
# sparc architecture dependent
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = spppcomp
OBJECTS = $(SPPPCOMP_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SPPPCOMP_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_STRMOD_DIR)/$(MODULE)
#
@@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -61,30 +59,24 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
CPPFLAGS += -DINTERNAL_BUILD -DSOL2 -DMUX_FRAME
-#
+#
# Additional compiler definitions
-#
+#
INC_PATH += -I$(UTSBASE)/common/io/ppp/common
-CFLAGS += $(CCVERBOSE)
#
# Define dependency on sppp
#
LDFLAGS += -dy -N drv/sppp
-CLEANLINTFILES += $(LINT64_FILES)
-
-CERRWARN += -_gcc=-Wno-parentheses
-CERRWARN += $(CNOWARN_UNINIT)
-
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
+CFLAGS += $(CCVERBOSE)
+CERRWARN += -_gcc=-Wno-parentheses
+CERRWARN += $(CNOWARN_UNINIT)
#
# Default build targets.
@@ -99,17 +91,8 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS) lint64
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
-$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/ppp/spppcomp/%.c
- @($(LHEAD) $(LINT.c) $< $(LTAIL))
-
$(OBJS_DIR)/%.o: $(UTSBASE)/common/io/ppp/spppcomp/%.c
$(COMPILE.c) -o $@ $<
$(CTFCONVERT_O)
diff --git a/usr/src/uts/sparc/sppptun/Makefile b/usr/src/uts/sparc/sppptun/Makefile
index 94776f4695..de6a4b485b 100644
--- a/usr/src/uts/sparc/sppptun/Makefile
+++ b/usr/src/uts/sparc/sppptun/Makefile
@@ -42,7 +42,6 @@ UTSBASE = ../..
#
MODULE = sppptun
OBJECTS = $(SPPPTUN_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SPPPTUN_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
ROOTLINK = $(USR_STRMOD_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/ppp/sppptun
@@ -56,7 +55,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
#
@@ -68,19 +66,13 @@ CPPFLAGS += -DINTERNAL_BUILD -DSOL2
# Overrides.
#
INC_PATH += -I$(UTSBASE)/common/io/ppp/common
-CFLAGS += $(CCVERBOSE)
-
-CLEANLINTFILES += $(LINT64_FILES)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
#
@@ -96,12 +88,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS) lint64
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(USR_STRMOD_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/srpt/Makefile b/usr/src/uts/sparc/srpt/Makefile
index 424e85470e..4243dec8db 100644
--- a/usr/src/uts/sparc/srpt/Makefile
+++ b/usr/src/uts/sparc/srpt/Makefile
@@ -21,7 +21,7 @@
#
# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
#
-# This makefile drives the production of the srpt pseudo-driver for
+# This makefile drives the production of the srpt pseudo-driver for
# COMSTAR.
#
@@ -38,7 +38,6 @@ ARCHDIR:sh = cd ..; basename `pwd`
#
MODULE = srpt
OBJECTS = $(SRPT_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SRPT_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/comstar/port/srpt
@@ -51,7 +50,6 @@ include ../Makefile.$(ARCHDIR)
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -77,12 +75,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ssd/Makefile b/usr/src/uts/sparc/ssd/Makefile
index 108607f00b..0e7dbf16b2 100644
--- a/usr/src/uts/sparc/ssd/Makefile
+++ b/usr/src/uts/sparc/ssd/Makefile
@@ -42,7 +42,6 @@ UTSBASE = ../..
#
MODULE = ssd
OBJECTS = $(SSD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SSD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/sun/io/scsi/targets
@@ -55,26 +54,17 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE) -D__fibre -dalign
-LINTFLAGS += -D__fibre
+CFLAGS += -D__fibre -dalign
WLCCFLAGS = -D__fibre
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-unused-function
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += -_gcc=-Wno-parentheses
@@ -100,12 +90,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/st/Makefile b/usr/src/uts/sparc/st/Makefile
index d36ea2464a..dbea488d34 100644
--- a/usr/src/uts/sparc/st/Makefile
+++ b/usr/src/uts/sparc/st/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = st
OBJECTS = $(ST_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(ST_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/sun/io/scsi/targets
@@ -52,28 +51,19 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
# Define dependency on scsi
#
LDFLAGS += -dy -N misc/scsi
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-switch
CERRWARN += $(CNOWARN_UNINIT)
@@ -91,12 +81,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
# Include common targets.
diff --git a/usr/src/uts/sparc/stmf/Makefile b/usr/src/uts/sparc/stmf/Makefile
index f32c38fab7..21788784aa 100644
--- a/usr/src/uts/sparc/stmf/Makefile
+++ b/usr/src/uts/sparc/stmf/Makefile
@@ -21,7 +21,7 @@
#
# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
-# This makefile drives the production of the stmf driver for
+# This makefile drives the production of the stmf driver for
# COMSTAR.
#
@@ -36,7 +36,6 @@ ARCHDIR:sh = cd ..; basename `pwd`
#
MODULE = stmf
OBJECTS = $(STMF_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(STMF_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/comstar/stmf
@@ -49,7 +48,6 @@ include ../Makefile.$(ARCHDIR)
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -61,11 +59,9 @@ CERRWARN += -erroff=E_STATEMENT_NOT_REACHED
C99LMODE= -Xc99=%all
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_STATIC_UNUSED
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-switch
@@ -84,12 +80,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/stmf_sbd/Makefile b/usr/src/uts/sparc/stmf_sbd/Makefile
index bbee85d605..cd6f841ccd 100644
--- a/usr/src/uts/sparc/stmf_sbd/Makefile
+++ b/usr/src/uts/sparc/stmf_sbd/Makefile
@@ -37,7 +37,6 @@ ARCHDIR:sh = cd ..; basename `pwd`
#
MODULE = stmf_sbd
OBJECTS = $(STMF_SBD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(STMF_SBD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/comstar/lu/stmf_sbd
@@ -50,7 +49,6 @@ include ../Makefile.$(ARCHDIR)
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -64,11 +62,9 @@ INC_PATH += -I$(UTSBASE)/common/fs/zfs
C99LMODE= -Xc99=%all
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_STATIC_UNUSED
CERRWARN += -_gcc=-Wno-switch
CERRWARN += -_gcc=-Wno-parentheses
@@ -88,12 +84,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/strplumb/Makefile b/usr/src/uts/sparc/strplumb/Makefile
index 27f3fa9677..f03abcd7b7 100644
--- a/usr/src/uts/sparc/strplumb/Makefile
+++ b/usr/src/uts/sparc/strplumb/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = strplumb
OBJECTS = $(STRPLUMB_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(STRPLUMB_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -53,23 +52,14 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
#
@@ -85,12 +75,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/swrand/Makefile b/usr/src/uts/sparc/swrand/Makefile
index 5ec8395245..eccf360869 100644
--- a/usr/src/uts/sparc/swrand/Makefile
+++ b/usr/src/uts/sparc/swrand/Makefile
@@ -39,7 +39,6 @@ COM_DIR = $(COMMONBASE)/crypto
#
MODULE = swrand
OBJECTS = $(SWRANDPROV_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SWRANDPROV_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE)
#
@@ -51,14 +50,9 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE) -I$(COM_DIR)
-LINTFLAGS += -I$(COM_DIR)
+CFLAGS += -I$(COM_DIR)
#
# Linkage dependencies
@@ -66,13 +60,11 @@ LINTFLAGS += -I$(COM_DIR)
LDFLAGS += -dy -Nmisc/kcf -Nmisc/sha1
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_STATIC_UNUSED
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-unused-function
#
@@ -88,12 +80,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/sy/Makefile b/usr/src/uts/sparc/sy/Makefile
index bcd403be9f..8a6d4adc59 100644
--- a/usr/src/uts/sparc/sy/Makefile
+++ b/usr/src/uts/sparc/sy/Makefile
@@ -20,11 +20,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/sy/Makefile
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the sy driver
#
@@ -41,7 +40,6 @@ UTSBASE = ../..
#
MODULE = sy
OBJECTS = $(SY_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SY_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -54,12 +52,8 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
@@ -75,12 +69,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/sysacct/Makefile b/usr/src/uts/sparc/sysacct/Makefile
index d9f0896630..92910b045f 100644
--- a/usr/src/uts/sparc/sysacct/Makefile
+++ b/usr/src/uts/sparc/sysacct/Makefile
@@ -20,11 +20,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/sysacct/Makefile
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the sysacct driver kernel module.
#
@@ -41,7 +40,6 @@ UTSBASE = ../..
#
MODULE = sysacct
OBJECTS = $(SYSACCT_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SYSACCT_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_SYS_DIR)/$(MODULE)
#
@@ -53,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -77,12 +74,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/sysevent/Makefile b/usr/src/uts/sparc/sysevent/Makefile
index cdeaa8760d..cfec58956f 100644
--- a/usr/src/uts/sparc/sysevent/Makefile
+++ b/usr/src/uts/sparc/sysevent/Makefile
@@ -20,11 +20,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/sysevent/Makefile
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# sysevent driver makefile.
#
@@ -39,7 +38,6 @@ UTSBASE = ../..
#
MODULE = sysevent
OBJECTS = $(SYSEVENT_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SYSEVENT_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -52,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -73,12 +70,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/sysmsg/Makefile b/usr/src/uts/sparc/sysmsg/Makefile
index 9ac0183dac..c803f31ed6 100644
--- a/usr/src/uts/sparc/sysmsg/Makefile
+++ b/usr/src/uts/sparc/sysmsg/Makefile
@@ -19,11 +19,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/sysmsg/Makefile
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the sysmsg driver
#
@@ -40,7 +39,6 @@ UTSBASE = ../..
#
MODULE = sysmsg
OBJECTS = $(SYSMSG_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SYSMSG_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -53,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -62,13 +59,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -81,12 +71,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/systrace/Makefile b/usr/src/uts/sparc/systrace/Makefile
index f8e2f88fdd..035b76d403 100644
--- a/usr/src/uts/sparc/systrace/Makefile
+++ b/usr/src/uts/sparc/systrace/Makefile
@@ -23,13 +23,11 @@
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
UTSBASE = ../..
MODULE = systrace
OBJECTS = $(SYSTRACE_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SYSTRACE_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
ROOTLINK = $(ROOT_DTRACE_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/dtrace
@@ -37,7 +35,6 @@ CONF_SRCDIR = $(UTSBASE)/common/dtrace
include $(UTSBASE)/sparc/Makefile.sparc
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
CFLAGS += $(CCVERBOSE)
@@ -53,12 +50,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_DTRACE_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/tavor/Makefile b/usr/src/uts/sparc/tavor/Makefile
index e5fe4d0452..738a380c64 100644
--- a/usr/src/uts/sparc/tavor/Makefile
+++ b/usr/src/uts/sparc/tavor/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = tavor
OBJECTS = $(TAVOR_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(TAVOR_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/ib/adapters/tavor
LDFLAGS += -dy -Ndrv/ib -Nmisc/ibtl -Nmisc/ibmf
@@ -52,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -60,7 +58,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
ALL_BUILDS = $(ALL_BUILDSONLY64)
DEF_BUILDS = $(DEF_BUILDSONLY64)
-CLEANLINTFILES += $(LINT32_FILES)
#
# Build with no debug TNF probes enabled (by default)
@@ -69,19 +66,11 @@ CLEANLINTFILES += $(LINT32_FILES)
#DEBUG_DEFS_DBG64 += -DTNF_DEBUG
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-unused-value
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += $(CNOWARN_UNINIT)
@@ -96,16 +85,11 @@ def: $(DEF_DEPS)
all: $(ALL_DEPS)
-lint: $(LINT_DEPS)
clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-modlintlib: $(MODLINTLIB_DEPS) lint32
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/tclient/Makefile b/usr/src/uts/sparc/tclient/Makefile
index 10ef9227c7..35d77ada27 100644
--- a/usr/src/uts/sparc/tclient/Makefile
+++ b/usr/src/uts/sparc/tclient/Makefile
@@ -23,7 +23,7 @@
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the tclient kernel
# driver to testing mpxio configurations
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = tclient
OBJECTS = $(TCLIENT_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(TCLIENT_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
#
@@ -54,12 +53,8 @@ CFLAGS += $(CCVERBOSE)
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
@@ -75,12 +70,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/tcp/Makefile b/usr/src/uts/sparc/tcp/Makefile
index 7276ecfaeb..3c668d2872 100644
--- a/usr/src/uts/sparc/tcp/Makefile
+++ b/usr/src/uts/sparc/tcp/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = tcp
OBJECTS = $(TCP_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(TCP_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
ROOTLINK = $(ROOT_STRMOD_DIR)/$(MODULE) $(ROOT_SOCK_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/inet/tcp
@@ -59,12 +58,8 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
@@ -91,12 +86,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_STRMOD_DIR) $(ROOT_SOCK_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/tcp6/Makefile b/usr/src/uts/sparc/tcp6/Makefile
index f8f9eb0970..3a62a65fa8 100644
--- a/usr/src/uts/sparc/tcp6/Makefile
+++ b/usr/src/uts/sparc/tcp6/Makefile
@@ -23,7 +23,7 @@
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the tcp6 driver kernel module.
#
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = tcp6
OBJECTS = $(TCP6_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(TCP6_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/inet/tcp
@@ -53,12 +52,8 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
LDFLAGS += -dy -Ndrv/tcp -Ndrv/ip -Ndrv/ip6
@@ -75,12 +70,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/telmod/Makefile b/usr/src/uts/sparc/telmod/Makefile
index 7015a89727..15ac2a65e1 100644
--- a/usr/src/uts/sparc/telmod/Makefile
+++ b/usr/src/uts/sparc/telmod/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = telmod
OBJECTS = $(TELMOD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(TELMOD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_STRMOD_DIR)/$(MODULE)
#
@@ -53,22 +52,14 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
#
@@ -84,12 +75,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/timerfd/Makefile b/usr/src/uts/sparc/timerfd/Makefile
index 969ca6dd1a..1a8dbdd5ec 100644
--- a/usr/src/uts/sparc/timerfd/Makefile
+++ b/usr/src/uts/sparc/timerfd/Makefile
@@ -23,7 +23,6 @@ UTSBASE = ../..
#
MODULE = timerfd
OBJECTS = $(TIMERFD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(TIMERFD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -38,7 +37,6 @@ CERRWARN += -_gcc=-Wno-parentheses
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -54,12 +52,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/timod/Makefile b/usr/src/uts/sparc/timod/Makefile
index 3ecd937f14..67a62c0aaf 100644
--- a/usr/src/uts/sparc/timod/Makefile
+++ b/usr/src/uts/sparc/timod/Makefile
@@ -19,11 +19,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/timod/Makefile
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the timod streams kernel
# module.
@@ -41,7 +40,6 @@ UTSBASE = ../..
#
MODULE = timod
OBJECTS = $(TIMOD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(TIMOD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE)
#
@@ -53,23 +51,11 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -82,12 +68,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/tirdwr/Makefile b/usr/src/uts/sparc/tirdwr/Makefile
index c9140dccd1..e769f809be 100644
--- a/usr/src/uts/sparc/tirdwr/Makefile
+++ b/usr/src/uts/sparc/tirdwr/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = tirdwr
OBJECTS = $(TIRDWR_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(TIRDWR_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE)
#
@@ -53,22 +52,14 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
#
@@ -84,12 +75,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/tl/Makefile b/usr/src/uts/sparc/tl/Makefile
index 21104104ce..91b5f26cc8 100644
--- a/usr/src/uts/sparc/tl/Makefile
+++ b/usr/src/uts/sparc/tl/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = tl
OBJECTS = $(TL_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(TL_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -53,15 +52,9 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
# Depends on ip; this is for sharing common option management code
# which happens to live in "ip" kernel module only. Needed to do
# AF_UNIX socket options.
@@ -69,14 +62,11 @@ CFLAGS += $(CCVERBOSE)
LDFLAGS += -dy -Ndrv/ip
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_STATIC_UNUSED
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-unused-function
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
@@ -94,12 +84,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/tlimod/Makefile b/usr/src/uts/sparc/tlimod/Makefile
index 7da7ffaf30..1240954f90 100644
--- a/usr/src/uts/sparc/tlimod/Makefile
+++ b/usr/src/uts/sparc/tlimod/Makefile
@@ -19,11 +19,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/tlimod/Makefile
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the tlimod
# kernel module.
@@ -41,7 +40,6 @@ UTSBASE = ../..
#
MODULE = tlimod
OBJECTS = $(TLIMOD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(TLIMOD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -53,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -74,12 +71,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/tmpfs/Makefile b/usr/src/uts/sparc/tmpfs/Makefile
index 42ec7b74c6..69ce75d2f6 100644
--- a/usr/src/uts/sparc/tmpfs/Makefile
+++ b/usr/src/uts/sparc/tmpfs/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = tmpfs
OBJECTS = $(TMPFS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(TMPFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE)
#
@@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -62,12 +60,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
@@ -86,12 +82,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/tnf/Makefile b/usr/src/uts/sparc/tnf/Makefile
index f450067556..44de22b9e4 100644
--- a/usr/src/uts/sparc/tnf/Makefile
+++ b/usr/src/uts/sparc/tnf/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = tnf
OBJECTS = $(TNF_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(TNF_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/tnf
@@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -63,12 +61,10 @@ CCMODE = -Xt
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
@@ -86,12 +82,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/tokenmt/Makefile b/usr/src/uts/sparc/tokenmt/Makefile
index 7009985f0d..45670deef1 100644
--- a/usr/src/uts/sparc/tokenmt/Makefile
+++ b/usr/src/uts/sparc/tokenmt/Makefile
@@ -23,7 +23,6 @@
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
#
# This makefile creates the tokenmt metering (ipp) module.
# sparc architecture dependent
@@ -39,7 +38,6 @@ UTSBASE = ../..
#
MODULE = tokenmt
OBJECTS = $(TOKENMT_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(TOKENMT_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_IPP_DIR)/$(MODULE)
#
@@ -56,24 +54,12 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
LDFLAGS += -dy -Ndrv/ip
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -86,12 +72,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/tphci/Makefile b/usr/src/uts/sparc/tphci/Makefile
index c5e21e16d0..406b196e4b 100644
--- a/usr/src/uts/sparc/tphci/Makefile
+++ b/usr/src/uts/sparc/tphci/Makefile
@@ -43,7 +43,6 @@ UTSBASE = ../..
#
MODULE = tphci
OBJECTS = $(TPHCI_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(TPHCI_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
#
@@ -55,7 +54,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -77,12 +75,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/trill/Makefile b/usr/src/uts/sparc/trill/Makefile
index 0a4229f9be..0e40bbfaa9 100644
--- a/usr/src/uts/sparc/trill/Makefile
+++ b/usr/src/uts/sparc/trill/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = trill
OBJECTS = $(TRILL_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(TRILL_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_SOCK_DIR)/$(MODULE)
#
@@ -54,7 +53,6 @@ CERRWARN += $(CNOWARN_UNINIT)
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -76,12 +74,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/tswtclmt/Makefile b/usr/src/uts/sparc/tswtclmt/Makefile
index 0dd5c681e7..c3ec23ca31 100644
--- a/usr/src/uts/sparc/tswtclmt/Makefile
+++ b/usr/src/uts/sparc/tswtclmt/Makefile
@@ -23,7 +23,6 @@
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
#
# This makefile creates the tswtclmt (ipp) module.
# sparc architecture dependent
@@ -39,7 +38,6 @@ UTSBASE = ../..
#
MODULE = tswtclmt
OBJECTS = $(TSWTCL_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(TSWTCL_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_IPP_DIR)/$(MODULE)
#
@@ -56,24 +54,12 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
LDFLAGS += -dy -Ndrv/ip
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -86,12 +72,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ttcompat/Makefile b/usr/src/uts/sparc/ttcompat/Makefile
index 710e729ad5..0594fe6269 100644
--- a/usr/src/uts/sparc/ttcompat/Makefile
+++ b/usr/src/uts/sparc/ttcompat/Makefile
@@ -19,11 +19,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/ttcompat/Makefile
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the ttcompat streams kernel
# module.
@@ -41,7 +40,6 @@ UTSBASE = ../..
#
MODULE = ttcompat
OBJECTS = $(TTCOMPAT_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(TTCOMPAT_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE)
#
@@ -53,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -62,14 +59,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -82,12 +71,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/tvhci/Makefile b/usr/src/uts/sparc/tvhci/Makefile
index e487290629..4fe51879ef 100644
--- a/usr/src/uts/sparc/tvhci/Makefile
+++ b/usr/src/uts/sparc/tvhci/Makefile
@@ -42,7 +42,6 @@ UTSBASE = ../..
#
MODULE = tvhci
OBJECTS = $(TVHCI_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(TVHCI_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
@@ -55,7 +54,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -64,11 +62,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CFLAGS += $(CCVERBOSE) -dalign
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_STATIC_UNUSED
CERRWARN += -_gcc=-Wno-unused-function
#
@@ -84,12 +81,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/udfs/Makefile b/usr/src/uts/sparc/udfs/Makefile
index a47ed38860..d9d45b8cd9 100644
--- a/usr/src/uts/sparc/udfs/Makefile
+++ b/usr/src/uts/sparc/udfs/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = udfs
OBJECTS = $(UDFS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(UDFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE)
#
@@ -51,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -68,16 +66,10 @@ CFLAGS += $(CCVERBOSE)
LDFLAGS += -dy -N fs/specfs
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-label
@@ -97,12 +89,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
putback:
diff --git a/usr/src/uts/sparc/udp/Makefile b/usr/src/uts/sparc/udp/Makefile
index 07a4435112..175537bda6 100644
--- a/usr/src/uts/sparc/udp/Makefile
+++ b/usr/src/uts/sparc/udp/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = udp
OBJECTS = $(UDP_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(UDP_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
ROOTLINK = $(ROOT_STRMOD_DIR)/$(MODULE) $(ROOT_SOCK_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/inet/udp
@@ -59,12 +58,8 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
@@ -85,12 +80,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_STRMOD_DIR) $(ROOT_SOCK_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/udp6/Makefile b/usr/src/uts/sparc/udp6/Makefile
index af905cda2d..e1b1760888 100644
--- a/usr/src/uts/sparc/udp6/Makefile
+++ b/usr/src/uts/sparc/udp6/Makefile
@@ -23,7 +23,7 @@
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the udp6 driver kernel module.
#
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = udp6
OBJECTS = $(UDP6_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(UDP6_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/inet/udp
@@ -53,12 +52,8 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
@@ -79,12 +74,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ufm/Makefile b/usr/src/uts/sparc/ufm/Makefile
index abe94f08fc..e27a726038 100644
--- a/usr/src/uts/sparc/ufm/Makefile
+++ b/usr/src/uts/sparc/ufm/Makefile
@@ -17,14 +17,12 @@ UTSBASE = ../..
MODULE = ufm
OBJECTS = $(OBJS_DIR)/ufm.o
-LINTS = $(LINTS_DIR)/ufm.ln
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
include $(UTSBASE)/sparc/Makefile.sparc
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
.KEEP_STATE:
@@ -37,12 +35,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
include $(UTSBASE)/sparc/Makefile.targ
diff --git a/usr/src/uts/sparc/ufmtest/Makefile b/usr/src/uts/sparc/ufmtest/Makefile
index 44827a5d96..125445d510 100644
--- a/usr/src/uts/sparc/ufmtest/Makefile
+++ b/usr/src/uts/sparc/ufmtest/Makefile
@@ -17,14 +17,12 @@ UTSBASE = ../..
MODULE = ufmtest
OBJECTS = $(OBJS_DIR)/ufmtest.o
-LINTS = $(LINTS_DIR)/ufmtest.ln
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
include $(UTSBASE)/sparc/Makefile.sparc
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
.KEEP_STATE:
@@ -37,12 +35,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
include $(UTSBASE)/sparc/Makefile.targ
diff --git a/usr/src/uts/sparc/ufs/Makefile b/usr/src/uts/sparc/ufs/Makefile
index 0e13f2371f..d36053842e 100644
--- a/usr/src/uts/sparc/ufs/Makefile
+++ b/usr/src/uts/sparc/ufs/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = ufs
OBJECTS = $(UFS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(UFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE)
#
@@ -50,22 +49,15 @@ ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE)
include $(UTSBASE)/sparc/Makefile.sparc
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
#
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -95,12 +87,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ugen/Makefile b/usr/src/uts/sparc/ugen/Makefile
index 49918eeb70..b52074424a 100644
--- a/usr/src/uts/sparc/ugen/Makefile
+++ b/usr/src/uts/sparc/ugen/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = ugen
OBJECTS = $(UGEN_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(UGEN_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -50,9 +49,11 @@ ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
include $(UTSBASE)/sparc/Makefile.sparc
#
-# lint pass one enforcement
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
-CFLAGS += $(CCVERBOSE)
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
#
@@ -64,7 +65,6 @@ LDFLAGS += -dy -Nmisc/usba
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
.KEEP_STATE:
@@ -77,12 +77,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/uhci/Makefile b/usr/src/uts/sparc/uhci/Makefile
index 6895a2e161..609de1c65b 100644
--- a/usr/src/uts/sparc/uhci/Makefile
+++ b/usr/src/uts/sparc/uhci/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = uhci
OBJECTS = $(UHCI_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(UHCI_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/usb/hcd/uhci
@@ -50,11 +49,6 @@ CONF_SRCDIR = $(UTSBASE)/common/io/usb/hcd/uhci
include $(UTSBASE)/sparc/Makefile.sparc
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
# depends on misc/usba
#
LDFLAGS += -dy -Nmisc/usba
@@ -63,17 +57,15 @@ LDFLAGS += -dy -Nmisc/usba
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
-CERRWARN += $(CNOWARN_UNINIT)
-
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
+CFLAGS += $(CCVERBOSE)
+CERRWARN += $(CNOWARN_UNINIT)
.KEEP_STATE:
@@ -85,12 +77,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/usb_ac/Makefile b/usr/src/uts/sparc/usb_ac/Makefile
index 5915676942..fc7accb1d9 100644
--- a/usr/src/uts/sparc/usb_ac/Makefile
+++ b/usr/src/uts/sparc/usb_ac/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = usb_ac
OBJECTS = $(USB_AC_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(USB_AC_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/usb/clients/audio/usb_ac
@@ -48,10 +47,7 @@ CONF_SRCDIR = $(UTSBASE)/common/io/usb/clients/audio/usb_ac
#
include $(UTSBASE)/sparc/Makefile.sparc
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
+
#
LDFLAGS += -dy -Nmisc/usba -Ndrv/audio
@@ -60,21 +56,19 @@ LDFLAGS += -dy -Nmisc/usba -Ndrv/audio
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
+#
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
+#
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-switch
CERRWARN += -_gcc=-Wno-type-limits
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += $(CNOWARN_UNINIT)
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-
.KEEP_STATE:
all: $(ALL_DEPS)
@@ -85,12 +79,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/usb_ah/Makefile b/usr/src/uts/sparc/usb_ah/Makefile
index 7ab174b77b..9ec820f61c 100644
--- a/usr/src/uts/sparc/usb_ah/Makefile
+++ b/usr/src/uts/sparc/usb_ah/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = usb_ah
OBJECTS = $(USB_AH_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(USB_AH_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE)
#
@@ -47,10 +46,6 @@ ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE)
#
include $(UTSBASE)/sparc/Makefile.sparc
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
#
# depends on usba, hidparser and audio related misc modules
@@ -61,17 +56,15 @@ LDFLAGS += -dy -Nmisc/usba -Nmisc/hidparser -Ndrv/usb_ac
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-CERRWARN += $(CNOWARN_UNINIT)
-
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
+CFLAGS += $(CCVERBOSE)
+CERRWARN += $(CNOWARN_UNINIT)
.KEEP_STATE:
@@ -83,12 +76,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/usb_as/Makefile b/usr/src/uts/sparc/usb_as/Makefile
index 75b280aea7..1bd6d24fa6 100644
--- a/usr/src/uts/sparc/usb_as/Makefile
+++ b/usr/src/uts/sparc/usb_as/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = usb_as
OBJECTS = $(USB_AS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(USB_AS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -49,10 +48,7 @@ ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
include $(UTSBASE)/sparc/Makefile.sparc
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
+
#
LDFLAGS += -dy -Nmisc/usba -Ndrv/usb_ac
@@ -61,17 +57,15 @@ LDFLAGS += -dy -Nmisc/usba -Ndrv/usb_ac
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-CERRWARN += -_gcc=-Wno-unused-label
-
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
+CFLAGS += $(CCVERBOSE)
+CERRWARN += -_gcc=-Wno-unused-label
.KEEP_STATE:
@@ -83,12 +77,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/usb_ia/Makefile b/usr/src/uts/sparc/usb_ia/Makefile
index bbb641d95f..b29516c261 100644
--- a/usr/src/uts/sparc/usb_ia/Makefile
+++ b/usr/src/uts/sparc/usb_ia/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = usb_ia
OBJECTS = $(USB_IA_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(USB_IA_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -49,9 +48,6 @@ ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
include $(UTSBASE)/sparc/Makefile.sparc
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
@@ -63,7 +59,6 @@ LDFLAGS += -dy -Nmisc/usba
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
.KEEP_STATE:
@@ -76,12 +71,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/usb_mid/Makefile b/usr/src/uts/sparc/usb_mid/Makefile
index a1b63e810d..5c47a2a9ee 100644
--- a/usr/src/uts/sparc/usb_mid/Makefile
+++ b/usr/src/uts/sparc/usb_mid/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = usb_mid
OBJECTS = $(USB_MID_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(USB_MID_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -49,9 +48,6 @@ ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
include $(UTSBASE)/sparc/Makefile.sparc
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
@@ -63,7 +59,6 @@ LDFLAGS += -dy -Nmisc/usba
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
.KEEP_STATE:
@@ -76,12 +71,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/usba/Makefile b/usr/src/uts/sparc/usba/Makefile
index 8443b068e5..45a8954170 100644
--- a/usr/src/uts/sparc/usba/Makefile
+++ b/usr/src/uts/sparc/usba/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = usba
OBJECTS = $(USBA_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(USBA_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -47,10 +46,11 @@ ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
include $(UTSBASE)/sparc/Makefile.sparc
#
-# lint pass one enforcement
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
-CFLAGS += $(CCVERBOSE)
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-switch
@@ -62,7 +62,6 @@ CERRWARN += -_gcc=-Wno-unused-variable
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
.KEEP_STATE:
@@ -75,12 +74,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/usba10/Makefile b/usr/src/uts/sparc/usba10/Makefile
index aa5eb4cc2f..4d6dccf96f 100644
--- a/usr/src/uts/sparc/usba10/Makefile
+++ b/usr/src/uts/sparc/usba10/Makefile
@@ -21,9 +21,6 @@
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# uts/sparc/usba10/Makefile
-
-#ident "%Z%%M% %I% %E% SMI"
#
# This makefile drives the production of the usba kernel module.
@@ -38,7 +35,6 @@ UTSBASE = ../..
#
MODULE = usba10
OBJECTS = $(USBA10_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(USBA10_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -46,9 +42,6 @@ ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
include $(UTSBASE)/sparc/Makefile.sparc
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
@@ -60,7 +53,6 @@ LDFLAGS += -dy -Nmisc/usba
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
.KEEP_STATE:
@@ -73,12 +65,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/usbecm/Makefile b/usr/src/uts/sparc/usbecm/Makefile
index e4bfdcb03f..3a42b09e3a 100644
--- a/usr/src/uts/sparc/usbecm/Makefile
+++ b/usr/src/uts/sparc/usbecm/Makefile
@@ -37,7 +37,6 @@ UTSBASE = ../..
#
MODULE = usbecm
OBJECTS = $(USBECM_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(USBECM_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -47,16 +46,12 @@ include $(UTSBASE)/sparc/Makefile.sparc
LDFLAGS += -dy -Nmisc/usba -Nmisc/mac
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
.KEEP_STATE:
@@ -69,12 +64,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/usbftdi/Makefile b/usr/src/uts/sparc/usbftdi/Makefile
index 9e793402e4..c5eb05dcfd 100644
--- a/usr/src/uts/sparc/usbftdi/Makefile
+++ b/usr/src/uts/sparc/usbftdi/Makefile
@@ -37,7 +37,6 @@ UTSBASE = ../..
#
MODULE = usbftdi
OBJECTS = $(USBFTDI_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(USBFTDI_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/usb/clients/usbser/usbftdi
@@ -54,7 +53,6 @@ LDFLAGS += -dy -Nmisc/usba -Nmisc/usbser
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
.KEEP_STATE:
@@ -67,12 +65,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/usbkbm/Makefile b/usr/src/uts/sparc/usbkbm/Makefile
index bfbe28b2a0..928ac790da 100644
--- a/usr/src/uts/sparc/usbkbm/Makefile
+++ b/usr/src/uts/sparc/usbkbm/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = usbkbm
OBJECTS = $(USBKBM_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(USBKBM_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE)
#
@@ -48,10 +47,7 @@ ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE)
#
include $(UTSBASE)/sparc/Makefile.sparc
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
+CFLAGS += $(CCVERBOSE)
#
# depends on misc/usba
@@ -62,16 +58,8 @@ LDFLAGS += -dy -Nmisc/usba -Nmisc/kbtrans -Nmisc/hidparser
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-
.KEEP_STATE:
def: $(DEF_DEPS)
@@ -82,12 +70,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
diff --git a/usr/src/uts/sparc/usbms/Makefile b/usr/src/uts/sparc/usbms/Makefile
index 6d4be539a3..ae64ac4bc4 100644
--- a/usr/src/uts/sparc/usbms/Makefile
+++ b/usr/src/uts/sparc/usbms/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = usbms
OBJECTS = $(USBMS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(USBMS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE)
#
@@ -48,10 +47,7 @@ ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE)
#
include $(UTSBASE)/sparc/Makefile.sparc
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
+
#
# depends on misc/usba
@@ -62,18 +58,16 @@ LDFLAGS += -dy -Nmisc/usba -Nmisc/hidparser
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-CERRWARN += -_gcc=-Wno-parentheses
-CERRWARN += $(CNOWARN_UNINIT)
-
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
+CFLAGS += $(CCVERBOSE)
+CERRWARN += -_gcc=-Wno-parentheses
+CERRWARN += $(CNOWARN_UNINIT)
.KEEP_STATE:
@@ -85,12 +79,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
diff --git a/usr/src/uts/sparc/usbprn/Makefile b/usr/src/uts/sparc/usbprn/Makefile
index 8a797f86b8..c0cd3503f9 100644
--- a/usr/src/uts/sparc/usbprn/Makefile
+++ b/usr/src/uts/sparc/usbprn/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = usbprn
OBJECTS = $(USBPRN_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(USBPRN_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -47,9 +46,6 @@ ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
include $(UTSBASE)/sparc/Makefile.sparc
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
@@ -60,7 +56,6 @@ LDFLAGS += -dy -Nmisc/usba
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
.KEEP_STATE:
@@ -73,12 +68,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/usbs49_fw/Makefile b/usr/src/uts/sparc/usbs49_fw/Makefile
index 2e709f98a3..c48a14fb15 100644
--- a/usr/src/uts/sparc/usbs49_fw/Makefile
+++ b/usr/src/uts/sparc/usbs49_fw/Makefile
@@ -23,9 +23,6 @@
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# uts/sparc/usbs49_fw/Makefile
#
# This makefile drives the production of the usbs49_fw kernel module.
@@ -40,7 +37,6 @@ UTSBASE = ../..
#
MODULE = usbs49_fw
OBJECTS = $(USBS49_FW_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(USBS49_FW_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -48,16 +44,12 @@ ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
include $(UTSBASE)/sparc/Makefile.sparc
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
.KEEP_STATE:
@@ -70,12 +62,6 @@ clean: $(CLEAN_DEPS);
clobber: $(CLOBBER_DEPS);
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/usbsacm/Makefile b/usr/src/uts/sparc/usbsacm/Makefile
index 6655e2b194..3d4a53747c 100644
--- a/usr/src/uts/sparc/usbsacm/Makefile
+++ b/usr/src/uts/sparc/usbsacm/Makefile
@@ -37,7 +37,6 @@ UTSBASE = ../..
#
MODULE = usbsacm
OBJECTS = $(USBSACM_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(USBSACM_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -45,20 +44,20 @@ ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
include $(UTSBASE)/sparc/Makefile.sparc
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
LDFLAGS += -dy -Nmisc/usba -Nmisc/usbser
+#
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
+#
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
#
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
.KEEP_STATE:
@@ -71,12 +70,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/usbser/Makefile b/usr/src/uts/sparc/usbser/Makefile
index 7f7c072d46..c38ec4debf 100644
--- a/usr/src/uts/sparc/usbser/Makefile
+++ b/usr/src/uts/sparc/usbser/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = usbser
OBJECTS = $(USBSER_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(USBSER_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -47,11 +46,6 @@ ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
include $(UTSBASE)/sparc/Makefile.sparc
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
# depends on misc/usba
#
LDFLAGS += -dy -Nmisc/usba
@@ -60,16 +54,14 @@ LDFLAGS += -dy -Nmisc/usba
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-label
@@ -84,12 +76,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/usbskel/Makefile b/usr/src/uts/sparc/usbskel/Makefile
index 627b16e9d9..d8e234f3f3 100644
--- a/usr/src/uts/sparc/usbskel/Makefile
+++ b/usr/src/uts/sparc/usbskel/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = usbskel
OBJECTS = $(USBSKEL_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(USBSKEL_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/usb/clients/usbskel
@@ -50,9 +49,6 @@ CONF_SRCDIR = $(UTSBASE)/common/io/usb/clients/usbskel
#
include $(UTSBASE)/sparc/Makefile.sparc
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
@@ -64,7 +60,6 @@ LDFLAGS += -dy -Nmisc/usba
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
.KEEP_STATE:
@@ -77,12 +72,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/usbsksp/Makefile b/usr/src/uts/sparc/usbsksp/Makefile
index 3172890fca..f345ad89a6 100644
--- a/usr/src/uts/sparc/usbsksp/Makefile
+++ b/usr/src/uts/sparc/usbsksp/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = usbsksp
OBJECTS = $(USBSER_KEYSPAN_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(USBSER_KEYSPAN_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -49,9 +48,12 @@ ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
include $(UTSBASE)/sparc/Makefile.sparc
#
-# lint pass one enforcement
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
-CFLAGS += $(CCVERBOSE)
+CFLAGS += $(CCVERBOSE)
+CERRWARN += $(CNOWARN_UNINIT)
LDFLAGS += -dy -Nmisc/usba -Nmisc/usbser -Nmisc/usbs49_fw
@@ -59,7 +61,6 @@ LDFLAGS += -dy -Nmisc/usba -Nmisc/usbser -Nmisc/usbs49_fw
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
.KEEP_STATE:
@@ -72,17 +73,9 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
# Include common targets.
#
include $(UTSBASE)/sparc/Makefile.targ
-
-CERRWARN += $(CNOWARN_UNINIT)
diff --git a/usr/src/uts/sparc/usbsprl/Makefile b/usr/src/uts/sparc/usbsprl/Makefile
index a5e3449d2e..bfa981a606 100644
--- a/usr/src/uts/sparc/usbsprl/Makefile
+++ b/usr/src/uts/sparc/usbsprl/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = usbsprl
OBJECTS = $(USBSPRL_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(USBSPRL_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -47,10 +46,11 @@ ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
include $(UTSBASE)/sparc/Makefile.sparc
#
-# lint pass one enforcement
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
-CFLAGS += $(CCVERBOSE)
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
LDFLAGS += -dy -Nmisc/usba -Nmisc/usbser
@@ -59,7 +59,6 @@ LDFLAGS += -dy -Nmisc/usba -Nmisc/usbser
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
.KEEP_STATE:
@@ -72,12 +71,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/usbvc/Makefile b/usr/src/uts/sparc/usbvc/Makefile
index 876c334829..eba6cba89e 100644
--- a/usr/src/uts/sparc/usbvc/Makefile
+++ b/usr/src/uts/sparc/usbvc/Makefile
@@ -43,7 +43,6 @@ UTSBASE = ../..
#
MODULE = usbvc
OBJECTS = $(USBVC_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(USBVC_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -52,11 +51,6 @@ ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
include $(UTSBASE)/sparc/Makefile.sparc
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
# depends on misc/usba
LDFLAGS += -dy -Nmisc/usba
@@ -64,16 +58,15 @@ LDFLAGS += -dy -Nmisc/usba
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-CERRWARN += $(CNOWARN_UNINIT)
-
#
-# Disable this because it is necessary for this driver
-# and it is surely safe
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
+CFLAGS += $(CCVERBOSE)
+CERRWARN += $(CNOWARN_UNINIT)
.KEEP_STATE:
@@ -85,12 +78,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/usbwcm/Makefile b/usr/src/uts/sparc/usbwcm/Makefile
index 05e339f96f..13f1dc6d0f 100644
--- a/usr/src/uts/sparc/usbwcm/Makefile
+++ b/usr/src/uts/sparc/usbwcm/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = usbwcm
OBJECTS = $(USBWCM_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(USBWCM_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE)
#
@@ -48,11 +47,6 @@ ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE)
#
include $(UTSBASE)/sparc/Makefile.sparc
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
#
# depends on misc/usba
#
@@ -62,18 +56,16 @@ LDFLAGS += -dy -Nmisc/usba
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-CERRWARN += -_gcc=-Wno-parentheses
-CERRWARN += $(CNOWARN_UNINIT)
-
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
+CFLAGS += $(CCVERBOSE)
+CERRWARN += -_gcc=-Wno-parentheses
+CERRWARN += $(CNOWARN_UNINIT)
.KEEP_STATE:
@@ -85,12 +77,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
diff --git a/usr/src/uts/sparc/v9/Makefile.files b/usr/src/uts/sparc/v9/Makefile.files
index 55a90f5461..21a291c1ac 100644
--- a/usr/src/uts/sparc/v9/Makefile.files
+++ b/usr/src/uts/sparc/v9/Makefile.files
@@ -20,14 +20,13 @@
# CDDL HEADER END
#
#
-# uts/sparc/v9/Makefile.files
# Copyright 1991,1998-1999,2003 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This Makefile defines all file modules and build rules for the
-# directory uts/sparc/v9 and it's children. These are the source files which
+# directory uts/sparc/v9 and its children. These are the source files which
# are specific to the sparcv9 processor.
#
@@ -62,10 +61,7 @@ INC_PATH += -I$(UTSBASE)/sparc/v9
#
# Since assym.h is a derived file, the dependency must be explicit for
-# all files including this file. (This is only actually required in the
-# instance when the .nse_depinfo file does not exist.) It may seem that
-# the lint targets should also have a similar dependency, but they don't
-# since only C headers are included when #defined(lint) is true.
+# all files including this file.
#
ASSYM_DEPS += crt.o \
float.o \
diff --git a/usr/src/uts/sparc/v9/Makefile.rules b/usr/src/uts/sparc/v9/Makefile.rules
index 36c5331f43..d094ba364f 100644
--- a/usr/src/uts/sparc/v9/Makefile.rules
+++ b/usr/src/uts/sparc/v9/Makefile.rules
@@ -23,7 +23,7 @@
# Copyright 1991-2002 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
+
#
# This Makefile defines all file modules and build rules for the
# directory uts/sparc/v9 and its children. These are the source files which
@@ -58,22 +58,3 @@ $(OBJS_DIR)/%.o: $(UTSBASE)/sparc/v9/syscall/%.c
$(OBJS_DIR)/%.o: $(UTSBASE)/sparc/v9/vm/%.c
$(COMPILE.c) -o $@ $<
$(CTFCONVERT_O)
-
-#
-# Section 1b: Lint `object' build rules.
-#
-$(LINTS_DIR)/%.ln: $(UTSBASE)/sparc/v9/fpu/%.c
- @($(LHEAD) $(LINT.c) $< $(LTAIL))
-
-$(LINTS_DIR)/%.ln: $(UTSBASE)/sparc/v9/ml/%.s
- @($(LHEAD) $(LINT.s) $< $(LTAIL))
-
-$(LINTS_DIR)/%.ln: $(UTSBASE)/sparc/v9/os/%.c
- @($(LHEAD) $(LINT.c) $< $(LTAIL))
-
-$(LINTS_DIR)/%.ln: $(UTSBASE)/sparc/v9/syscall/%.c
- @($(LHEAD) $(LINT.c) $< $(LTAIL))
-
-$(LINTS_DIR)/%.ln: $(UTSBASE)/sparc/v9/vm/%.c
- @($(LHEAD) $(LINT.c) $< $(LTAIL))
-
diff --git a/usr/src/uts/sparc/vnic/Makefile b/usr/src/uts/sparc/vnic/Makefile
index 4eb75ef18b..303d9e000a 100644
--- a/usr/src/uts/sparc/vnic/Makefile
+++ b/usr/src/uts/sparc/vnic/Makefile
@@ -32,7 +32,6 @@ UTSBASE = ../..
#
MODULE = vnic
OBJECTS = $(VNIC_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(VNIC_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/vnic
@@ -45,7 +44,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -70,12 +68,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/vr/Makefile b/usr/src/uts/sparc/vr/Makefile
index 567d4c4f6b..ebe3acee33 100644
--- a/usr/src/uts/sparc/vr/Makefile
+++ b/usr/src/uts/sparc/vr/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = vr
OBJECTS = $(VR_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(VR_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -50,7 +49,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -78,12 +76,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/vscan/Makefile b/usr/src/uts/sparc/vscan/Makefile
index 6123739c34..6325949061 100644
--- a/usr/src/uts/sparc/vscan/Makefile
+++ b/usr/src/uts/sparc/vscan/Makefile
@@ -19,11 +19,9 @@
# CDDL HEADER END
#
#
-#
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
#
# This makefile drives the production of the vscan service
@@ -40,7 +38,6 @@ UTSBASE = ../..
#
MODULE = vscan
OBJECTS = $(VSCAN_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(VSCAN_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/vscan
@@ -58,7 +55,6 @@ LDFLAGS += -dy -N"fs/sockfs" -N"sys/doorfs"
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
#
@@ -80,12 +76,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_SYS_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/vuid3ps2/Makefile b/usr/src/uts/sparc/vuid3ps2/Makefile
index ad7ce36c5b..5bf8a7b669 100644
--- a/usr/src/uts/sparc/vuid3ps2/Makefile
+++ b/usr/src/uts/sparc/vuid3ps2/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = vuid3ps2
OBJECTS = $(VUIDPS2_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(VUIDPS2_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE)
#
@@ -55,7 +54,6 @@ CERRWARN += -_gcc=-Wno-parentheses
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -76,12 +74,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/wc/Makefile b/usr/src/uts/sparc/wc/Makefile
index 37482ac950..5956bc79c5 100644
--- a/usr/src/uts/sparc/wc/Makefile
+++ b/usr/src/uts/sparc/wc/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = wc
OBJECTS = $(WC_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(WC_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/sun/io
@@ -51,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -61,12 +59,14 @@ MODSTUBS_DIR = $(OBJS_DIR)
$(MODSTUBS_O) := AS_CPPFLAGS += -DWC_MODULE
CLEANFILES += $(MODSTUBS_O)
-CERRWARN += $(CNOWARN_UNINIT)
-
#
-# lint pass one enforcement
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
-CFLAGS += $(CCVERBOSE)
+CFLAGS += $(CCVERBOSE)
+CERRWARN += $(CNOWARN_UNINIT)
+
LDFLAGS += -dy -Nmisc/tem -Ndacf/consconfig_dacf
#
@@ -82,12 +82,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/winlock/Makefile b/usr/src/uts/sparc/winlock/Makefile
index 10ee83f9eb..e2f182b314 100644
--- a/usr/src/uts/sparc/winlock/Makefile
+++ b/usr/src/uts/sparc/winlock/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = winlock
OBJECTS = $(WINLOCK_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(WINLOCK_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -53,22 +52,14 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
#
@@ -84,12 +75,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/xge/Makefile b/usr/src/uts/sparc/xge/Makefile
index 5a252dc13d..f3429bd5fd 100644
--- a/usr/src/uts/sparc/xge/Makefile
+++ b/usr/src/uts/sparc/xge/Makefile
@@ -37,7 +37,6 @@ UTSBASE = ../..
#
MODULE = xge
OBJECTS = $(XGE_HAL_OBJS:%=$(OBJS_DIR)/%) $(XGE_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(XGE_HAL_OBJS:%.o=$(LINTS_DIR)/%.ln) $(XGE_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -49,7 +48,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -76,7 +74,7 @@ HAL_CFLAGS = -DXGE_HAL_USE_MGMT_AUX
#TRACE_CFLAGS = -DXGE_DEBUG_MODULE_MASK=0xffffffff \
# -DXGE_DEBUG_TRACE_MASK=0xffffffff \
# -DXGE_DEBUG_ERR_MASK=0xffffffff
-TRACE_CFLAGS = -DXGE_DEBUG_MODULE_MASK=0x00003010 \
+TRACE_CFLAGS = -DXGE_DEBUG_MODULE_MASK=0x00003010 \
-DXGE_DEBUG_TRACE_MASK=0x00000000 \
-DXGE_DEBUG_ERR_MASK=0x00003010
@@ -93,19 +91,11 @@ CFLAGS64 += $(XGE_CFLAGS) -xO4 -xcrossfile
#
LDFLAGS += -dy -N misc/mac -N drv/ip
-# Lint flag
#
-LINTFLAGS += $(XGE_CFLAGS) -Xc99=%all
-
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_STATIC_UNUSED
-
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-unused-label
@@ -126,12 +116,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/yge/Makefile b/usr/src/uts/sparc/yge/Makefile
index 8b376f704b..9a56b8911b 100644
--- a/usr/src/uts/sparc/yge/Makefile
+++ b/usr/src/uts/sparc/yge/Makefile
@@ -37,7 +37,6 @@ UTSBASE = ../..
#
MODULE = yge
OBJECTS = $(YGE_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(YGE_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -49,7 +48,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -57,9 +55,11 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
LDFLAGS += -dy -N misc/mac -N misc/mii
-# Lint flag
#
-
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
+#
CERRWARN += -_gcc=-Wno-unused-label
#
@@ -76,12 +76,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/zcons/Makefile b/usr/src/uts/sparc/zcons/Makefile
index 5c2d629369..70967385a9 100644
--- a/usr/src/uts/sparc/zcons/Makefile
+++ b/usr/src/uts/sparc/zcons/Makefile
@@ -19,12 +19,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/zcons/Makefile
-#
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the zcons driver
#
@@ -41,7 +39,6 @@ UTSBASE = ../..
#
MODULE = zcons
OBJECTS = $(ZCONS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(ZCONS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
#
@@ -53,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -74,12 +70,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/zfs/Makefile b/usr/src/uts/sparc/zfs/Makefile
index 617d495325..1379e5e87d 100644
--- a/usr/src/uts/sparc/zfs/Makefile
+++ b/usr/src/uts/sparc/zfs/Makefile
@@ -44,8 +44,6 @@ ARCHDIR:sh = cd ..; basename `pwd`
#
MODULE = zfs
OBJECTS = $(ZFS_OBJS:%=$(OBJS_DIR)/%) $(LUA_OBJS:%=$(OBJS_DIR)/%)
-# LUA_OBJS are intentionally omitted from LINTS
-LINTS = $(ZFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
ROOTLINK = $(ROOT_FS_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/fs/zfs
@@ -59,7 +57,6 @@ include ../Makefile.$(ARCHDIR)
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
#
@@ -81,16 +78,10 @@ INC_PATH += -I$(UTSBASE)/sun4
C99LMODE= -Xc99=%all
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
CERRWARN += -_gcc=-Wno-type-limits
CERRWARN += -_gcc=-Wno-switch
@@ -112,12 +103,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_FS_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/zut/Makefile b/usr/src/uts/sparc/zut/Makefile
index 1ec757e8e8..1d1ee7d054 100644
--- a/usr/src/uts/sparc/zut/Makefile
+++ b/usr/src/uts/sparc/zut/Makefile
@@ -36,7 +36,6 @@ ARCHDIR:sh = cd ..; basename `pwd`
#
MODULE = zut
OBJECTS = $(ZUT_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(ZUT_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/fs/zut
@@ -49,7 +48,6 @@ include ../Makefile.$(ARCHDIR)
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -65,11 +63,10 @@ INC_PATH += -I$(COMMONBASE)/zut
C99LMODE= -Xc99=%all
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
@@ -87,12 +84,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#