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


  31 LFLAGS =        -t
  32 OBJS_SHARED= acl_common.o
  33 GENERATED_SRCS = acl.tab.o acl_lex.o
  34 OBJS_COMMON= aclcheck.o aclmode.o aclsort.o acltext.o aclutils.o
  35 OBJECTS= $(OBJS_COMMON) $(OBJS_SHARED) $(GENERATED_SRCS)
  36 CLEANFILES += acl_lex.c acl.tab.c acl.tab.h
  37 LINTSRCS = $(OBJS_COMMON)
  38 
  39 # include library definitions
  40 include ../../Makefile.lib
  41 
  42 SRCDIR=         ../common
  43 
  44 LIBS =          $(DYNLIB) $(LINTLIB)
  45 
  46 CFLAGS +=       $(CCVERBOSE)
  47 CPPFLAGS +=     -I$(SRCDIR) -I. -I../../../common/acl
  48 LDLIBS += -lc -lavl -lidmap
  49 
  50 CERRWARN +=     -_gcc=-Wno-parentheses
  51 CERRWARN +=     -_gcc=-Wno-uninitialized
  52 CERRWARN +=     -_gcc=-Wno-unused-label
  53 CERRWARN +=     -_gcc=-Wno-unused-variable
  54 
  55 # not linted
  56 SMATCH=off
  57 
  58 CLOBBERFILES += acl.output
  59 
  60 # install this library in the root filesystem
  61 include ../../Makefile.rootfs
  62 
  63 SRCS=           $(OBJS_COMMON:%.o=$(SRCDIR)/%.c) \
  64                  $(OBJS_SHARED:%.o=$(SRC)/common/acl/%.c)
  65 
  66 $(LINTLIB):= SRCS=      $(SRCDIR)/$(LINTSRC)
  67 
  68 .KEEP_STATE:
  69 
  70 all: $(LIBS)
  71 


  31 LFLAGS =        -t
  32 OBJS_SHARED= acl_common.o
  33 GENERATED_SRCS = acl.tab.o acl_lex.o
  34 OBJS_COMMON= aclcheck.o aclmode.o aclsort.o acltext.o aclutils.o
  35 OBJECTS= $(OBJS_COMMON) $(OBJS_SHARED) $(GENERATED_SRCS)
  36 CLEANFILES += acl_lex.c acl.tab.c acl.tab.h
  37 LINTSRCS = $(OBJS_COMMON)
  38 
  39 # include library definitions
  40 include ../../Makefile.lib
  41 
  42 SRCDIR=         ../common
  43 
  44 LIBS =          $(DYNLIB) $(LINTLIB)
  45 
  46 CFLAGS +=       $(CCVERBOSE)
  47 CPPFLAGS +=     -I$(SRCDIR) -I. -I../../../common/acl
  48 LDLIBS += -lc -lavl -lidmap
  49 
  50 CERRWARN +=     -_gcc=-Wno-parentheses
  51 CERRWARN +=     $(CNOWARN_UNINIT)
  52 CERRWARN +=     -_gcc=-Wno-unused-label
  53 CERRWARN +=     -_gcc=-Wno-unused-variable
  54 
  55 # not linted
  56 SMATCH=off
  57 
  58 CLOBBERFILES += acl.output
  59 
  60 # install this library in the root filesystem
  61 include ../../Makefile.rootfs
  62 
  63 SRCS=           $(OBJS_COMMON:%.o=$(SRCDIR)/%.c) \
  64                  $(OBJS_SHARED:%.o=$(SRC)/common/acl/%.c)
  65 
  66 $(LINTLIB):= SRCS=      $(SRCDIR)/$(LINTSRC)
  67 
  68 .KEEP_STATE:
  69 
  70 all: $(LIBS)
  71