diff options
Diffstat (limited to 'usr/src/cmd')
35 files changed, 6 insertions, 169 deletions
diff --git a/usr/src/cmd/ctfdump/Makefile b/usr/src/cmd/ctfdump/Makefile index 37a1ef4cc8..9d76d6675e 100644 --- a/usr/src/cmd/ctfdump/Makefile +++ b/usr/src/cmd/ctfdump/Makefile @@ -21,7 +21,6 @@ CFLAGS += $(CCVERBOSE) LDLIBS += -lctf CSTD = $(CSTD_GNU99) -C99LMODE = -Xc99=%all .KEEP_STATE: @@ -31,6 +30,4 @@ install: all $(ROOTPROG) clean: -lint: lint_PROG - include ../Makefile.targ diff --git a/usr/src/cmd/file/Makefile b/usr/src/cmd/file/Makefile index e11a4c0259..7236967e91 100644 --- a/usr/src/cmd/file/Makefile +++ b/usr/src/cmd/file/Makefile @@ -39,7 +39,6 @@ SRCS= file.c elf_read.c magicutils.c $(ELFCAP)/elfcap.c include ../Makefile.cmd CSTD= $(CSTD_GNU99) -C99LMODE= -Xc99=%all CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-type-limits @@ -107,6 +106,4 @@ install: all $(ROOTPROG) $(ROOTXPG4PROG) $(ROOTETCMAGIC) clean: $(RM) $(OBJS) $(XPG4OBJS) -lint: lint_SRCS - include ../Makefile.targ diff --git a/usr/src/cmd/fs.d/ufs/fsck/Makefile b/usr/src/cmd/fs.d/ufs/fsck/Makefile index 3c3724644c..bdeaf8e616 100644 --- a/usr/src/cmd/fs.d/ufs/fsck/Makefile +++ b/usr/src/cmd/fs.d/ufs/fsck/Makefile @@ -62,29 +62,7 @@ $(LIBPROG): $(OBJS) %.o: $(UFSDIR)/%.c $(COMPILE.c) $< $(CTFCONVERT_HOOK) -# Use DEVLINTFLAGS and the definition of LINT.c below for development -# checking. Prior to putback, increase Nlevel to 4 for extra sanity. -# Nlevel=2 is the default applied by lint. -# -# Remember to comment LINT.c out before doing the putback, as we shouldn't -# be overriding the top-level settings under normal circumstances. -# -# Note that you have to have a proto area with populated usr/include and -# usr/include/sys (or the parent workspace needs it). Otherwise lint gets -# very confused. Unfortunately, we also have to tell it where its own -# include directory is, or it gets the wrong version of note.h. - -SECLEVEL=core -DEVLINTFLAGS = -errtags=yes -U__PRAGMA_REDEFINE_EXTNAME \ - $(C99LMODE) -errsecurity=$(SECLEVEL) \ - -x -Nlevel=2 \ - -I/net/tools-sparc/export/tools.sparc/on10-tools/SUNWspro/SOS8/prod/include/lint - -#LINT.c= $(LINT) $(DEVLINTFLAGS) $(CPPFLAGS) - -lint: lint_SRCS - -clean: +clean: $(RM) $(FSCKOBJS) $(UFSOBJS) cscope.out tags: FRC diff --git a/usr/src/cmd/mdb/Makefile.libstandctf b/usr/src/cmd/mdb/Makefile.libstandctf index bab6231894..29803862a4 100644 --- a/usr/src/cmd/mdb/Makefile.libstandctf +++ b/usr/src/cmd/mdb/Makefile.libstandctf @@ -48,7 +48,6 @@ CPPFLAGS += -I$(SRC)/common/ctf -I../../../common -DCTF_OLD_VERSIONS -D_MDB \ -Dvsnprintf=ctf_vsnprintf -Dassfail=kmdb_prom_assfail CSTD = $(CSTD_GNU99) -C99LMODE = -Xc99=%all # # We cannot currently use the stack protector in the kmdb standalone diff --git a/usr/src/cmd/mdb/Makefile.mdb b/usr/src/cmd/mdb/Makefile.mdb index 5772bed1fd..18770e87e0 100644 --- a/usr/src/cmd/mdb/Makefile.mdb +++ b/usr/src/cmd/mdb/Makefile.mdb @@ -99,7 +99,6 @@ $(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG CPPFLAGS += -D_MDB -I. -I../.. -I../../../common CSTD= $(CSTD_GNU99) -C99LMODE= -Xc99=%all LDLIBS += -lcurses -lkvm -lproc -lrtld_db -lctf -lumem -ldisasm -lscf LDLIBS += -ldemangle-sys @@ -111,14 +110,6 @@ CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-unused-label CERRWARN += -_gcc=-Wno-unused-variable -# -# -erroff=E_INCONS_ARG_DECL2 works around a problem where lint gets confused -# about how struct mdb_tgt_gregset is used in mdb_tgt_stack_f() and -# mdb_tgt_stack_iter_f(). Will be resolved as part of fix for CR 6749868. -# -LINTFLAGS += -n -errtags=yes -erroff=E_INCONS_ARG_DECL2 -LINTFILES = $(SRCS:%.c=%.ln) - PROG = mdb OBJS = $(SRCS:%.c=%.o) mdb_lex.o mdb_grammar.o @@ -128,7 +119,7 @@ ROOTLINK32 = $(LINK:%=$(ROOTBIN32)/%) ROOTLINK64 = $(LINK:%=$(ROOTBIN64)/%) .NO_PARALLEL: -.PARALLEL: $(OBJS) $(LINTFILES) +.PARALLEL: $(OBJS) all: $(PROG) @@ -181,32 +172,11 @@ ffs.o ffs.ln := CPPFLAGS += -Dffs=mdb_ffs $(COMPILE.c) $< $(CTFCONVERT_O) -clean.lint: - $(RM) $(LINTFILES) - clean: $(RM) $(OBJS) $(RM) mdb_lex.c mdb_grammar.c mdb_grammar.h y.tab.h y.tab.c y.output -clobber: clean clean.lint +clobber: clean $(RM) $(PROG) -%.ln: ../../../common/mdb/%.c - $(LINT.c) -c $< - -%.ln: ../../mdb/%.c - $(LINT.c) -c $< - -%.ln: %.c - $(LINT.c) -c $< - -%.ln: $(SRC)/common/net/util/%.c - $(LINT.c) -c $< - -%.ln: $(SRC)/common/util/%.c - $(LINT.c) -c $< - -lint: $(LINTFILES) - $(LINT) $(LINTFLAGS) $(LINTFILES) - dmods: diff --git a/usr/src/cmd/mdb/intel/amd64/libfksmbsrv/Makefile b/usr/src/cmd/mdb/intel/amd64/libfksmbsrv/Makefile index e22390b335..2d71c1c626 100644 --- a/usr/src/cmd/mdb/intel/amd64/libfksmbsrv/Makefile +++ b/usr/src/cmd/mdb/intel/amd64/libfksmbsrv/Makefile @@ -46,11 +46,7 @@ CPPFLAGS.first += -I../../../../../lib/libfakekernel/common CPPFLAGS += -I../../../../../uts/common CSTD= $(CSTD_GNU99) -C99LMODE= -Xc99=%all dmod/%.o: $(GENUNIX_DIR)/%.c $(COMPILE.c) -o $@ $< $(CTFCONVERT_O) - -dmod/%.ln: $(GENUNIX_DIR)/%.c - $(LINT.c) -c $< diff --git a/usr/src/cmd/mdb/intel/amd64/libmlsvc/Makefile b/usr/src/cmd/mdb/intel/amd64/libmlsvc/Makefile index 33157930f7..ed27cc29bd 100644 --- a/usr/src/cmd/mdb/intel/amd64/libmlsvc/Makefile +++ b/usr/src/cmd/mdb/intel/amd64/libmlsvc/Makefile @@ -42,5 +42,3 @@ MODSRCS_DIR = ../../../common/modules/libmlsvc CPPFLAGS += -I$(SRC)/uts/common CSTD= $(CSTD_GNU99) -C99MODE= -xc99=%all -C99LMODE= -Xc99=%all diff --git a/usr/src/cmd/mdb/intel/amd64/libzpool/Makefile b/usr/src/cmd/mdb/intel/amd64/libzpool/Makefile index b5bbd8467b..4f0c91b550 100644 --- a/usr/src/cmd/mdb/intel/amd64/libzpool/Makefile +++ b/usr/src/cmd/mdb/intel/amd64/libzpool/Makefile @@ -46,13 +46,9 @@ CPPFLAGS += -I../../../../../lib/libzpool/common \ -I../../../../../common/zfs CSTD= $(CSTD_GNU99) -C99LMODE= -Xc99=%all CERRWARN += -_gcc=-Wno-type-limits dmod/%.o: $(GENUNIX_DIR)/%.c $(COMPILE.c) -o $@ $< $(CTFCONVERT_O) - -dmod/%.ln: $(GENUNIX_DIR)/%.c - $(LINT.c) -c $< diff --git a/usr/src/cmd/mdb/intel/amd64/qlc/Makefile b/usr/src/cmd/mdb/intel/amd64/qlc/Makefile index d83124d648..1e1ab1beec 100644 --- a/usr/src/cmd/mdb/intel/amd64/qlc/Makefile +++ b/usr/src/cmd/mdb/intel/amd64/qlc/Makefile @@ -38,10 +38,6 @@ CPPFLAGS += -I$(SRC)/uts/common/sys/fibre-channel CPPFLAGS += -I$(SRC)/uts/common/sys/fibre-channel/fca/qlc CPPFLAGS += -I$(SRC)/uts/common/sys/fibre-channel/impl -LINTFLAGS64 += -erroff=E_STATIC_UNUSED -erroff=E_FUNC_SET_NOT_USED -LINTFLAGS64 += -erroff=E_STATIC_UNUSED -erroff=E_FUNC_ARG_UNUSED - CSTD= $(CSTD_GNU99) -C99LMODE= -Xc99=%all CERRWARN += -_gcc=-Wno-address diff --git a/usr/src/cmd/mdb/intel/amd64/srpt/Makefile b/usr/src/cmd/mdb/intel/amd64/srpt/Makefile index 94ea5e7130..4f3a088937 100644 --- a/usr/src/cmd/mdb/intel/amd64/srpt/Makefile +++ b/usr/src/cmd/mdb/intel/amd64/srpt/Makefile @@ -40,4 +40,3 @@ include ../../../Makefile.module CPPFLAGS += -I$(UTSBASE)/common -I$(UTSBASE)/common/sys -I$(SRPTBASE) CSTD= $(CSTD_GNU99) -C99LMODE= -Xc99=%all diff --git a/usr/src/cmd/mdb/intel/amd64/zfs/Makefile b/usr/src/cmd/mdb/intel/amd64/zfs/Makefile index 4ffa954410..e9a9985b28 100644 --- a/usr/src/cmd/mdb/intel/amd64/zfs/Makefile +++ b/usr/src/cmd/mdb/intel/amd64/zfs/Makefile @@ -42,6 +42,5 @@ CPPFLAGS += -I../../../../../uts/common/fs/zfs/lua CPPFLAGS += -I../../../../../common/zfs CSTD= $(CSTD_GNU99) -C99LMODE= -Xc99=%all CERRWARN += -_gcc=-Wno-type-limits diff --git a/usr/src/cmd/mdb/intel/ia32/libfksmbsrv/Makefile b/usr/src/cmd/mdb/intel/ia32/libfksmbsrv/Makefile index cdc9c5d335..0cc681c694 100644 --- a/usr/src/cmd/mdb/intel/ia32/libfksmbsrv/Makefile +++ b/usr/src/cmd/mdb/intel/ia32/libfksmbsrv/Makefile @@ -45,11 +45,7 @@ CPPFLAGS.first += -I../../../../../lib/libfakekernel/common CPPFLAGS += -I../../../../../uts/common CSTD= $(CSTD_GNU99) -C99LMODE= -Xc99=%all dmod/%.o: $(GENUNIX_DIR)/%.c $(COMPILE.c) -o $@ $< $(CTFCONVERT_O) - -dmod/%.ln: $(GENUNIX_DIR)/%.c - $(LINT.c) -c $< diff --git a/usr/src/cmd/mdb/intel/ia32/libmlsvc/Makefile b/usr/src/cmd/mdb/intel/ia32/libmlsvc/Makefile index 0d889ab4ab..a3d4e11e1f 100644 --- a/usr/src/cmd/mdb/intel/ia32/libmlsvc/Makefile +++ b/usr/src/cmd/mdb/intel/ia32/libmlsvc/Makefile @@ -41,5 +41,3 @@ MODSRCS_DIR = ../../../common/modules/libmlsvc CPPFLAGS += -I$(SRC)/uts/common CSTD= $(CSTD_GNU99) -C99MODE= -xc99=%all -C99LMODE= -Xc99=%all diff --git a/usr/src/cmd/mdb/intel/ia32/libzpool/Makefile b/usr/src/cmd/mdb/intel/ia32/libzpool/Makefile index c19d9c56a5..1507bd38d9 100644 --- a/usr/src/cmd/mdb/intel/ia32/libzpool/Makefile +++ b/usr/src/cmd/mdb/intel/ia32/libzpool/Makefile @@ -47,13 +47,9 @@ CPPFLAGS += -I../../../../../lib/libzpool/common \ -I../../../../../common/zfs CSTD= $(CSTD_GNU99) -C99LMODE= -Xc99=%all CERRWARN += -_gcc=-Wno-type-limits dmod/%.o: $(GENUNIX_DIR)/%.c $(COMPILE.c) -o $@ $< $(CTFCONVERT_O) - -dmod/%.ln: $(GENUNIX_DIR)/%.c - $(LINT.c) -c $< diff --git a/usr/src/cmd/mdb/intel/modules/mdb_kb/amd64/Makefile b/usr/src/cmd/mdb/intel/modules/mdb_kb/amd64/Makefile index bae116d95e..c184013fef 100644 --- a/usr/src/cmd/mdb/intel/modules/mdb_kb/amd64/Makefile +++ b/usr/src/cmd/mdb/intel/modules/mdb_kb/amd64/Makefile @@ -35,7 +35,6 @@ include ../../../../intel/Makefile.amd64 include ../../../../Makefile.module CSTD= $(CSTD_GNU99) -C99LMODE= -Xc99=%all CPPFLAGS += -DMP -D_MACHDEP -D_MDB -D__xpv CPPFLAGS += -U_KERNEL -D_KMEMUSER diff --git a/usr/src/cmd/mdb/sparc/v7/libfksmbsrv/Makefile b/usr/src/cmd/mdb/sparc/v7/libfksmbsrv/Makefile index 1ff6f2bca4..a7d454669d 100644 --- a/usr/src/cmd/mdb/sparc/v7/libfksmbsrv/Makefile +++ b/usr/src/cmd/mdb/sparc/v7/libfksmbsrv/Makefile @@ -47,11 +47,7 @@ CPPFLAGS.first += -I../../../../../lib/libfakekernel/common CPPFLAGS += -I../../../../../uts/common CSTD= $(CSTD_GNU99) -C99LMODE= -Xc99=%all dmod/%.o: $(GENUNIX_DIR)/%.c $(COMPILE.c) -o $@ $< $(CTFCONVERT_O) - -dmod/%.ln: $(GENUNIX_DIR)/%.c - $(LINT.c) -c $< diff --git a/usr/src/cmd/mdb/sparc/v7/libmlsvc/Makefile b/usr/src/cmd/mdb/sparc/v7/libmlsvc/Makefile index 047773589a..715093e443 100644 --- a/usr/src/cmd/mdb/sparc/v7/libmlsvc/Makefile +++ b/usr/src/cmd/mdb/sparc/v7/libmlsvc/Makefile @@ -42,5 +42,3 @@ MODSRCS_DIR = ../../../common/modules/libmlsvc CPPFLAGS += -I$(SRC)/uts/common CSTD= $(CSTD_GNU99) -C99MODE= -xc99=%all -C99LMODE= -Xc99=%all diff --git a/usr/src/cmd/mdb/sparc/v7/libzpool/Makefile b/usr/src/cmd/mdb/sparc/v7/libzpool/Makefile index 5b24c538e4..0e94002bd0 100644 --- a/usr/src/cmd/mdb/sparc/v7/libzpool/Makefile +++ b/usr/src/cmd/mdb/sparc/v7/libzpool/Makefile @@ -45,13 +45,9 @@ CPPFLAGS += -I../../../../../lib/libzpool/common \ -I../../../../../common/zfs CSTD= $(CSTD_GNU99) -C99LMODE= -Xc99=%all CERRWARN += -_gcc=-Wno-type-limits dmod/%.o: $(GENUNIX_DIR)/%.c $(COMPILE.c) -o $@ $< $(CTFCONVERT_O) - -dmod/%.ln: $(GENUNIX_DIR)/%.c - $(LINT.c) -c $< diff --git a/usr/src/cmd/mdb/sparc/v9/libfksmbsrv/Makefile b/usr/src/cmd/mdb/sparc/v9/libfksmbsrv/Makefile index 2c3589005e..4be3d997e0 100644 --- a/usr/src/cmd/mdb/sparc/v9/libfksmbsrv/Makefile +++ b/usr/src/cmd/mdb/sparc/v9/libfksmbsrv/Makefile @@ -48,11 +48,7 @@ CPPFLAGS.first += -I../../../../../lib/libfakekernel/common CPPFLAGS += -I../../../../../uts/common CSTD= $(CSTD_GNU99) -C99LMODE= -Xc99=%all dmod/%.o: $(GENUNIX_DIR)/%.c $(COMPILE.c) -o $@ $< $(CTFCONVERT_O) - -dmod/%.ln: $(GENUNIX_DIR)/%.c - $(LINT.c) -c $< diff --git a/usr/src/cmd/mdb/sparc/v9/libmlsvc/Makefile b/usr/src/cmd/mdb/sparc/v9/libmlsvc/Makefile index 0144f56208..01d5ede4eb 100644 --- a/usr/src/cmd/mdb/sparc/v9/libmlsvc/Makefile +++ b/usr/src/cmd/mdb/sparc/v9/libmlsvc/Makefile @@ -43,5 +43,3 @@ MODSRCS_DIR = ../../../common/modules/libmlsvc CPPFLAGS += -I$(SRC)/uts/common CSTD= $(CSTD_GNU99) -C99MODE= -xc99=%all -C99LMODE= -Xc99=%all diff --git a/usr/src/cmd/mdb/sparc/v9/libzpool/Makefile b/usr/src/cmd/mdb/sparc/v9/libzpool/Makefile index f512dc4c10..eba6fbfd5b 100644 --- a/usr/src/cmd/mdb/sparc/v9/libzpool/Makefile +++ b/usr/src/cmd/mdb/sparc/v9/libzpool/Makefile @@ -46,13 +46,9 @@ CPPFLAGS += -I../../../../../lib/libzpool/common \ -I../../../../../common/zfs CSTD= $(CSTD_GNU99) -C99LMODE= -Xc99=%all CERRWARN += -_gcc=-Wno-type-limits dmod/%.o: $(GENUNIX_DIR)/%.c $(COMPILE.c) -o $@ $< $(CTFCONVERT_O) - -dmod/%.ln: $(GENUNIX_DIR)/%.c - $(LINT.c) -c $< diff --git a/usr/src/cmd/mdb/sparc/v9/qlc/Makefile b/usr/src/cmd/mdb/sparc/v9/qlc/Makefile index 926d1a809a..9bfb4fe5b4 100644 --- a/usr/src/cmd/mdb/sparc/v9/qlc/Makefile +++ b/usr/src/cmd/mdb/sparc/v9/qlc/Makefile @@ -38,10 +38,6 @@ CPPFLAGS += -I$(SRC)/uts/common/sys/fibre-channel CPPFLAGS += -I$(SRC)/uts/common/sys/fibre-channel/fca/qlc CPPFLAGS += -I$(SRC)/uts/common/sys/fibre-channel/impl -LINTFLAGS64 += -erroff=E_STATIC_UNUSED -erroff=E_FUNC_SET_NOT_USED -LINTFLAGS64 += -erroff=E_STATIC_UNUSED -erroff=E_FUNC_ARG_UNUSED - CSTD= $(CSTD_GNU99) -C99LMODE= -Xc99=%all CERRWARN += -_gcc=-Wno-address diff --git a/usr/src/cmd/mdb/sparc/v9/srpt/Makefile b/usr/src/cmd/mdb/sparc/v9/srpt/Makefile index 75448c947d..987cdbf5b4 100644 --- a/usr/src/cmd/mdb/sparc/v9/srpt/Makefile +++ b/usr/src/cmd/mdb/sparc/v9/srpt/Makefile @@ -40,4 +40,3 @@ include ../../../Makefile.module CPPFLAGS += -I$(UTSBASE)/common -I$(UTSBASE)/common/sys -I$(SRPTBASE) CSTD= $(CSTD_GNU99) -C99LMODE= -Xc99=%all diff --git a/usr/src/cmd/mdb/sparc/v9/stmf_sbd/Makefile b/usr/src/cmd/mdb/sparc/v9/stmf_sbd/Makefile index 7a15e833f6..d7fa4d8769 100644 --- a/usr/src/cmd/mdb/sparc/v9/stmf_sbd/Makefile +++ b/usr/src/cmd/mdb/sparc/v9/stmf_sbd/Makefile @@ -39,4 +39,3 @@ include ../../../Makefile.module CPPFLAGS += -I$(UTSBASE)/common -I$(UTSBASE)/common/sys -I$(STMFSBDBASE) CSTD= $(CSTD_GNU99) -C99LMODE= -Xc99=%all diff --git a/usr/src/cmd/mdb/sparc/v9/zfs/Makefile b/usr/src/cmd/mdb/sparc/v9/zfs/Makefile index e2407effa9..b105a86b4f 100644 --- a/usr/src/cmd/mdb/sparc/v9/zfs/Makefile +++ b/usr/src/cmd/mdb/sparc/v9/zfs/Makefile @@ -42,6 +42,5 @@ CPPFLAGS += -I../../../../../uts/common/fs/zfs/lua CPPFLAGS += -I../../../../../common/zfs CSTD= $(CSTD_GNU99) -C99LMODE= -Xc99=%all CERRWARN += -_gcc=-Wno-type-limits diff --git a/usr/src/cmd/od/Makefile b/usr/src/cmd/od/Makefile index 6f449c96d1..62799f2962 100644 --- a/usr/src/cmd/od/Makefile +++ b/usr/src/cmd/od/Makefile @@ -12,6 +12,7 @@ # # Copyright 2010 Nexenta Systems, Inc. All rights reserved. # + PROG= od XPG4PROG= $(PROG) @@ -22,11 +23,9 @@ include ../Makefile.cmd CLOBBERFILES= $(PROG) - CSTD= $(CSTD_GNU99) -C99LMODE= -Xc99=%all + CPPFLAGS += -D__EXTENSIONS__ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -LINTFLAGS += -D__EXTENSIONS__ # install rules $(ROOTINC)/% : % @@ -36,7 +35,7 @@ $(ROOTINC)/% : % .PARALLEL: $(OBJS) -all: $(PROG) +all: $(PROG) $(PROG): $(OBJS) $(LINK.c) $(OBJS) -o $@ $(LDLIBS) @@ -48,8 +47,6 @@ $(ROOTXPG4PROG): -$(RM) $@ -$(LN) -s ../../bin/$(PROG) $@ -lint: lint_SRCS - clean: $(RM) $(OBJS) diff --git a/usr/src/cmd/smbsrv/Makefile.smbsrv.defs b/usr/src/cmd/smbsrv/Makefile.smbsrv.defs index 050a8e6255..f6da533cfc 100644 --- a/usr/src/cmd/smbsrv/Makefile.smbsrv.defs +++ b/usr/src/cmd/smbsrv/Makefile.smbsrv.defs @@ -29,10 +29,7 @@ OBJS= $(SRCS:%.c=%.o) -LINTFLAGS += -xerroff=E_NAME_DEF_NOT_USED2 - CFLAGS += $(CCVERBOSE) $(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG CSTD = $(CSTD_GNU99) -C99LMODE = -Xc99=%all diff --git a/usr/src/cmd/smbsrv/fksmbd/Makefile b/usr/src/cmd/smbsrv/fksmbd/Makefile index 61b8758011..b6ba5d1938 100644 --- a/usr/src/cmd/smbsrv/fksmbd/Makefile +++ b/usr/src/cmd/smbsrv/fksmbd/Makefile @@ -67,7 +67,6 @@ INCS += -I../../../common/smbsrv INCS += -I $(ROOT)/usr/include/kerberosv5 CSTD= $(CSTD_GNU99) -C99LMODE= -Xc99=%all CFLAGS += $(CCVERBOSE) CFLAGS64 += $(CCVERBOSE) @@ -88,11 +87,6 @@ LDLIBS += -lmlsvc -lmlrpc -lsmbns -lsmb -lsmbfs -lgss LDLIBS += -lzfs -lbsm -lscf -lcmdutils -lsocket -lnsl -lumem $(PROG) := LDLIBS += -lkrb5 -LINTFLAGS += -xerroff=E_NAME_DEF_NOT_USED2 -LINTFLAGS += -xerroff=E_NAME_USED_NOT_DEF2 -LINTFLAGS += -xerroff=E_INCONS_ARG_DECL2 -LINTFLAGS += -xerroff=E_INCONS_VAL_TYPE_DECL2 - ROOTSMBDDIR = $(ROOTLIB)/smbsrv ROOTSMBDFILE = $(PROG:%=$(ROOTSMBDDIR)/%) @@ -107,8 +101,6 @@ $(PROG): $(OBJS) clean: -$(RM) $(OBJS) -lint: lint_SRCS - include ../../Makefile.targ install: all $(ROOTSMBDFILE) diff --git a/usr/src/cmd/smbsrv/smbd/Makefile b/usr/src/cmd/smbsrv/smbd/Makefile index 32585574e3..cd351db2e3 100644 --- a/usr/src/cmd/smbsrv/smbd/Makefile +++ b/usr/src/cmd/smbsrv/smbd/Makefile @@ -59,9 +59,6 @@ $(ROOTMANIFEST):= FILEMODE = 0444 $(ROOTSVCMETHOD):= FILEMODE = 0555 $(ROOTVARSMBDLL):= FILEMODE = 0755 -LINTFLAGS += -xerroff=E_NAME_DEF_NOT_USED2 -LINTFLAGS += -xerroff=E_NAME_USED_NOT_DEF2 - CFLAGS += $(CCVERBOSE) CPPFLAGS += -D_IPP_PRIVATE_STRUCTURES CPPFLAGS += -D_REENTRANT @@ -75,7 +72,6 @@ CPPFLAGS += -I $(ROOT)/usr/include/kerberosv5 SMOFF += all_func_returns,deref_check CSTD = $(CSTD_GNU99) -C99LMODE = -Xc99=%all LDFLAGS += -R/usr/lib/smbsrv LDLIBS += -L$(ROOT)/usr/lib/smbsrv @@ -103,8 +99,6 @@ all: $(PROG) clean: $(RM) $(OBJS) -lint: lint_SRCS - $(PROG): $(OBJS) $(LINK.c) -o $@ $(OBJS) $(LDLIBS) $(POST_PROCESS) diff --git a/usr/src/cmd/smbsrv/test-msgbuf/Makefile b/usr/src/cmd/smbsrv/test-msgbuf/Makefile index 96ab0292d1..04496a42ed 100644 --- a/usr/src/cmd/smbsrv/test-msgbuf/Makefile +++ b/usr/src/cmd/smbsrv/test-msgbuf/Makefile @@ -52,7 +52,6 @@ INCS += -I../../../uts/common/smbsrv INCS += -I../../../common/smbsrv CSTD= $(CSTD_GNU99) -C99LMODE= -Xc99=%all CFLAGS += $(CCVERBOSE) CFLAGS64 += $(CCVERBOSE) @@ -71,11 +70,6 @@ LDFLAGS += $(ZNOLAZYLOAD) LDFLAGS += '-R$$ORIGIN/..' LDLIBS += -lfakekernel -lcmdutils -LINTFLAGS += -xerroff=E_NAME_DEF_NOT_USED2 -LINTFLAGS += -xerroff=E_NAME_USED_NOT_DEF2 -LINTFLAGS += -xerroff=E_INCONS_ARG_DECL2 -LINTFLAGS += -xerroff=E_INCONS_VAL_TYPE_DECL2 - ROOTSMBDDIR = $(ROOTLIB)/smbsrv ROOTSMBDFILE = $(PROG:%=$(ROOTSMBDDIR)/%) @@ -90,8 +84,6 @@ $(PROG): $(OBJS) clean: -$(RM) $(OBJS) -lint: # lint_SRCS - include ../../Makefile.targ install: all $(ROOTSMBDFILE) diff --git a/usr/src/cmd/tail/Makefile b/usr/src/cmd/tail/Makefile index 6f50c71fb7..49b4a042b5 100644 --- a/usr/src/cmd/tail/Makefile +++ b/usr/src/cmd/tail/Makefile @@ -27,8 +27,6 @@ CLOBBERFILES= $(PROG) CPPFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 CSTD= $(CSTD_GNU99) -C99LMODE= -Xc99=%all -LINTFLAGS += -I. -erroff=E_CONSTANT_CONDITION SMOFF += leaks @@ -52,8 +50,6 @@ $(ROOTXPG4PROG): -$(RM) $@ -$(LN) -s ../../bin/$(PROG) $@ -lint: lint_SRCS - clean: $(RM) $(OBJS) diff --git a/usr/src/cmd/tr/Makefile b/usr/src/cmd/tr/Makefile index 0da9ab2094..26bbcca052 100644 --- a/usr/src/cmd/tr/Makefile +++ b/usr/src/cmd/tr/Makefile @@ -27,9 +27,7 @@ CLOBBERFILES= $(PROG) CSTD= $(CSTD_GNU99) -C99LMODE= -Xc99=%all CPPFLAGS += -D_ILLUMOS_PRIVATE -I. -LINTFLAGS += -D_ILLUMOS_PRIVATE -I. # install rules $(ROOTINC)/% : % @@ -51,8 +49,6 @@ $(ROOTXPG4PROG) $(ROOTXPG6PROG): -$(RM) $@ -$(LN) -s ../../bin/$(PROG) $@ -lint: lint_SRCS - clean: $(RM) $(OBJS) diff --git a/usr/src/cmd/vscan/vscanadm/Makefile b/usr/src/cmd/vscan/vscanadm/Makefile index f27f4a22e4..5cf9fb1e78 100755 --- a/usr/src/cmd/vscan/vscanadm/Makefile +++ b/usr/src/cmd/vscan/vscanadm/Makefile @@ -34,7 +34,6 @@ LDFLAGS += -R/usr/lib/vscan CFLAGS += $(CCVERBOSE) CSTD = $(CSTD_GNU99) -C99LMODE = -Xc99=%all .KEEP_STATE: @@ -43,8 +42,6 @@ all: $(PROG) clean: $(RM) $(OBJS) -lint: lint_SRCS - $(PROG): $(OBJS) $(LINK.c) -o $@ $(OBJS) $(LDLIBS) $(POST_PROCESS) diff --git a/usr/src/cmd/vscan/vscand/Makefile b/usr/src/cmd/vscan/vscand/Makefile index 6b4e85550d..4446ed400e 100644 --- a/usr/src/cmd/vscan/vscand/Makefile +++ b/usr/src/cmd/vscan/vscand/Makefile @@ -50,9 +50,7 @@ CERRWARN += -_gcc=-Wno-switch # not linted SMATCH=off -LINTFLAGS += -mu CSTD = $(CSTD_GNU99) -C99LMODE = -Xc99=%all MANIFEST = vscan.xml ROOTMANIFESTDIR= $(ROOTSVCSYSTEM)/filesystem @@ -76,8 +74,6 @@ all: $(PROG) clean: $(RM) $(OBJS) -lint: lint_SRCS - $(PROG): $(OBJS) $(LINK.c) -o $@ $(OBJS) $(LDLIBS) $(POST_PROCESS) diff --git a/usr/src/cmd/zstreamdump/Makefile b/usr/src/cmd/zstreamdump/Makefile index 92d7ed4da3..2019ccc031 100644 --- a/usr/src/cmd/zstreamdump/Makefile +++ b/usr/src/cmd/zstreamdump/Makefile @@ -37,15 +37,10 @@ INCS += -I../../common/zfs LDLIBS += -lzfs -lnvpair CSTD= $(CSTD_GNU99) -C99LMODE= -Xc99=%all CPPFLAGS += -D_LARGEFILE64_SOURCE=1 -D_REENTRANT $(INCS) $(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG -# lint complains about unused _umem_* functions -LINTFLAGS += -xerroff=E_NAME_DEF_NOT_USED2 -LINTFLAGS64 += -xerroff=E_NAME_DEF_NOT_USED2 - CERRWARN += -_gcc=-Wno-switch # not linted @@ -66,8 +61,6 @@ install: all $(ROOTUSRSBINPROG) clean: $(RM) $(OBJS) -lint: lint_SRCS - FRC: include ../Makefile.targ |
