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


  18 #
  19 # CDDL HEADER END
  20 #
  21 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  22 # Use is subject to license terms.
  23 #
  24 # Copyright (c) 2018, Joyent, Inc.
  25 
  26 PROG=           syslogd
  27 ROTATESCRIPT=   newsyslog
  28 CONFIGFILE=     syslog.conf
  29 TXTS=           syslog.conf
  30 PRODUCT=        $(PROG) $(ROTATESCRIPT)
  31 OBJS=           syslogd.o queue.o list.o conf.o
  32 SRCS=           $(OBJS:%.o=../%.c)
  33 LLOBJS=         $(OBJS:%.o=%.ll)
  34 
  35 include ../../Makefile.cmd
  36 
  37 $(PROG) lint    := LDLIBS += -lscf -lnsl
  38 CERRWARN        += -_gcc=-Wno-uninitialized
  39 
  40 # not linted
  41 SMATCH=off
  42 
  43 CPPFLAGS        += -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
  44 CFLAGS          += -DNDEBUG
  45 
  46 # there's some extra utility code defined but not used.
  47 LINTFLAGS       += -erroff=E_NAME_DEF_NOT_USED2
  48 
  49 VARSYSLOG=      syslog
  50 VARAUTHLOG=     authlog
  51 ROOTVARLOGD=    $(ROOT)/var/log
  52 
  53 ROOTETCCONFIG=  $(CONFIGFILE:%=$(ROOTETC)/%)
  54 ROOTLIBROTATE=  $(ROTATESCRIPT:%=$(ROOTLIB)/%)
  55 ROOTVARSYSLOG=  $(VARSYSLOG:%=$(ROOTVARLOGD)/%)
  56 ROOTVARAUTHLOG= $(VARAUTHLOG:%=$(ROOTVARLOGD)/%)
  57 
  58 $(ROOTUSRSBINPROG)      := FILEMODE = 0555




  18 #
  19 # CDDL HEADER END
  20 #
  21 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  22 # Use is subject to license terms.
  23 #
  24 # Copyright (c) 2018, Joyent, Inc.
  25 
  26 PROG=           syslogd
  27 ROTATESCRIPT=   newsyslog
  28 CONFIGFILE=     syslog.conf
  29 TXTS=           syslog.conf
  30 PRODUCT=        $(PROG) $(ROTATESCRIPT)
  31 OBJS=           syslogd.o queue.o list.o conf.o
  32 SRCS=           $(OBJS:%.o=../%.c)
  33 LLOBJS=         $(OBJS:%.o=%.ll)
  34 
  35 include ../../Makefile.cmd
  36 
  37 $(PROG) lint    := LDLIBS += -lscf -lnsl
  38 CERRWARN        += $(CNOWARN_UNINIT)
  39 
  40 # not linted
  41 SMATCH=off
  42 
  43 CPPFLAGS        += -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
  44 CFLAGS          += -DNDEBUG
  45 
  46 # there's some extra utility code defined but not used.
  47 LINTFLAGS       += -erroff=E_NAME_DEF_NOT_USED2
  48 
  49 VARSYSLOG=      syslog
  50 VARAUTHLOG=     authlog
  51 ROOTVARLOGD=    $(ROOT)/var/log
  52 
  53 ROOTETCCONFIG=  $(CONFIGFILE:%=$(ROOTETC)/%)
  54 ROOTLIBROTATE=  $(ROTATESCRIPT:%=$(ROOTLIB)/%)
  55 ROOTVARSYSLOG=  $(VARSYSLOG:%=$(ROOTVARLOGD)/%)
  56 ROOTVARAUTHLOG= $(VARAUTHLOG:%=$(ROOTVARLOGD)/%)
  57 
  58 $(ROOTUSRSBINPROG)      := FILEMODE = 0555