Print this page
11528 Makefile.noget can get gone
11529 Use -Wno-maybe-initialized


  18 #
  19 # CDDL HEADER END
  20 #
  21 #
  22 # Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  23 # Use is subject to license terms.
  24 #
  25 
  26 PROG=           in.talkd
  27 MANIFEST=       talk.xml
  28 OBJS=           in.talkd.o announce.o process.o table.o print.o
  29 SRCS=           $(OBJS:%.o=%.c)
  30 
  31 include         ../../../Makefile.cmd
  32 
  33 ROOTMANIFESTDIR=        $(ROOTSVCNETWORK)
  34 $(ROOTMANIFEST)         := FILEMODE= 444
  35 
  36 CFLAGS +=       $(CCVERBOSE)
  37 CERRWARN +=     -_gcc=-Wno-parentheses
  38 CERRWARN +=     -_gcc=-Wno-uninitialized
  39 LDLIBS +=       -lsocket -lnsl
  40 
  41 .KEEP_STATE:
  42 
  43 .PARALLEL: $(OBJS)
  44 
  45 all: $(PROG) 
  46 
  47 $(PROG): $(OBJS)
  48         $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
  49         $(POST_PROCESS)
  50 
  51 install: all $(ROOTUSRSBINPROG) $(ROOTMANIFEST)
  52 
  53 check:  $(CHKMANIFEST)
  54 
  55 clean:
  56         $(RM) $(OBJS)
  57 
  58 lint:   lint_SRCS


  18 #
  19 # CDDL HEADER END
  20 #
  21 #
  22 # Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  23 # Use is subject to license terms.
  24 #
  25 
  26 PROG=           in.talkd
  27 MANIFEST=       talk.xml
  28 OBJS=           in.talkd.o announce.o process.o table.o print.o
  29 SRCS=           $(OBJS:%.o=%.c)
  30 
  31 include         ../../../Makefile.cmd
  32 
  33 ROOTMANIFESTDIR=        $(ROOTSVCNETWORK)
  34 $(ROOTMANIFEST)         := FILEMODE= 444
  35 
  36 CFLAGS +=       $(CCVERBOSE)
  37 CERRWARN +=     -_gcc=-Wno-parentheses
  38 CERRWARN +=     $(CNOWARN_UNINIT)
  39 LDLIBS +=       -lsocket -lnsl
  40 
  41 .KEEP_STATE:
  42 
  43 .PARALLEL: $(OBJS)
  44 
  45 all: $(PROG) 
  46 
  47 $(PROG): $(OBJS)
  48         $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
  49         $(POST_PROCESS)
  50 
  51 install: all $(ROOTUSRSBINPROG) $(ROOTMANIFEST)
  52 
  53 check:  $(CHKMANIFEST)
  54 
  55 clean:
  56         $(RM) $(OBJS)
  57 
  58 lint:   lint_SRCS