diff options
Diffstat (limited to 'usr/src/cmd/ttymon/Makefile')
-rw-r--r-- | usr/src/cmd/ttymon/Makefile | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/usr/src/cmd/ttymon/Makefile b/usr/src/cmd/ttymon/Makefile index ae70a2619c..3d28b74ce4 100644 --- a/usr/src/cmd/ttymon/Makefile +++ b/usr/src/cmd/ttymon/Makefile @@ -40,10 +40,10 @@ TTYMONOBJ= ttymon.o tmglobal.o tmhandler.o tmpmtab.o tmttydefs.o \ tmutmp.o tmpeek.o tmlog.o tmlock.o tmutil.o tmexpress.o \ sttytable.o sttyparse.o ulockf.o -TTYADMOBJ= ttyadm.o tmutil.o admutil.o +TTYADMOBJ= ttyadm.o tmutil.o admutil.o STTYDEFSOBJ= sttydefs.o admutil.o tmttydefs.o tmparse.o sttytable.o \ - sttyparse.o + sttyparse.o OBJS= $(STTYOBJ) $(XPG4STTYOBJ) $(TTYMONOBJ) $(TTYADMOBJ) $(STTYDEFSOBJ) STTYSRC= stty.c sttytable.c sttyparse.c @@ -56,7 +56,7 @@ SRCS= $(STTYSRC) $(TTYMONSRC) $(TTYADMSRC) $(STTYDEFSSRC) include ../Makefile.cmd -# If machine name and /etc/issue file need to be printed +# If machine name and /etc/issue file need to be printed # before the service prompt is printed, then: CPPFLAGS += -DSYS_NAME # If debug is needed, then: CPPFLAGS += -DDEBUG # fix for 1111333 - turn on SYS_NAME so /etc/issue will be read if it exists @@ -70,9 +70,8 @@ ttymon := LDLIBS += -lnsl -lsec -ldevinfo $(STTYOBJ) := CPPFLAGS += -DEUC $(XPG4STTYOBJ) := CPPFLAGS += -DEUC -LINTFLAGS = -b -x CFLAGS += $(CCVERBOSE) -LDFLAGS += $(MAPFILE.NGB:%=-M%) +LDFLAGS += $(MAPFILE.NGB:%=-Wl,-M%) CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-unused-variable @@ -162,10 +161,4 @@ $(DIRS): clean: $(RM) $(OBJS) -lint: - $(LINT.c) $(STTYSRC) - $(LINT.c) $(TTYMONSRC) - $(LINT.c) $(TTYADMSRC) - $(LINT.c) $(STTYDEFSSRC) - include ../Makefile.targ |