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


  18 #
  19 # CDDL HEADER END
  20 #
  21 #
  22 # Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved.
  23 #
  24 
  25 PROG= logadm
  26 TESTS= conftest globtest kwtest luttest optstest
  27 OBJS= conf.o err.o fn.o glob.o kw.o lut.o main.o opts.o
  28 TESTOBJS= $(TESTS:%=%.o)
  29 SRCS= $(OBJS:%.o=%.c)
  30 POFILES= $(OBJS:%.o=%.po)
  31 CONFIGFILE= logadm.conf
  32 
  33 include ../Makefile.cmd
  34 
  35 CPPFLAGS += -D_FILE_OFFSET_BITS=64
  36 CERRWARN += -_gcc=-Wno-parentheses
  37 CERRWARN += -_gcc=-Wno-clobbered
  38 CERRWARN += -_gcc=-Wno-uninitialized
  39 XGETFLAGS += -a -x logadm.xcl
  40 
  41 $(ROOTETC)/$(CONFIGFILE):= FILEMODE= 644
  42 
  43 CLOBBERFILES += $(TESTS)
  44 
  45 LOGADMDIR = $(ROOT)/etc/logadm.d
  46 
  47 MFSTFILES =     logadm-upgrade.xml
  48 MANIFESTDIR =   $(ROOT)/lib/svc/manifest/system
  49 MANIFEST =      $(MFSTFILES:%=$(MANIFESTDIR)/%)
  50 $(MANIFEST) :=  FILEMODE = 0444
  51 
  52 METHODFILES =   logadm-upgrade
  53 METHODDIR =     $(ROOT)/lib/svc/method
  54 METHOD =        $(METHODFILES:%=$(METHODDIR)/%)
  55 $(METHOD) :=    FILEMODE = 0555
  56 
  57 .KEEP_STATE:
  58 




  18 #
  19 # CDDL HEADER END
  20 #
  21 #
  22 # Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved.
  23 #
  24 
  25 PROG= logadm
  26 TESTS= conftest globtest kwtest luttest optstest
  27 OBJS= conf.o err.o fn.o glob.o kw.o lut.o main.o opts.o
  28 TESTOBJS= $(TESTS:%=%.o)
  29 SRCS= $(OBJS:%.o=%.c)
  30 POFILES= $(OBJS:%.o=%.po)
  31 CONFIGFILE= logadm.conf
  32 
  33 include ../Makefile.cmd
  34 
  35 CPPFLAGS += -D_FILE_OFFSET_BITS=64
  36 CERRWARN += -_gcc=-Wno-parentheses
  37 CERRWARN += -_gcc=-Wno-clobbered
  38 CERRWARN += $(CNOWARN_UNINIT)
  39 XGETFLAGS += -a -x logadm.xcl
  40 
  41 $(ROOTETC)/$(CONFIGFILE):= FILEMODE= 644
  42 
  43 CLOBBERFILES += $(TESTS)
  44 
  45 LOGADMDIR = $(ROOT)/etc/logadm.d
  46 
  47 MFSTFILES =     logadm-upgrade.xml
  48 MANIFESTDIR =   $(ROOT)/lib/svc/manifest/system
  49 MANIFEST =      $(MFSTFILES:%=$(MANIFESTDIR)/%)
  50 $(MANIFEST) :=  FILEMODE = 0444
  51 
  52 METHODFILES =   logadm-upgrade
  53 METHODDIR =     $(ROOT)/lib/svc/method
  54 METHOD =        $(METHODFILES:%=$(METHODDIR)/%)
  55 $(METHOD) :=    FILEMODE = 0555
  56 
  57 .KEEP_STATE:
  58