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


  22 # Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
  23 #
  24 # Copyright (c) 2018, Joyent, Inc.
  25 
  26 PROG =          idmap
  27 CLIENTOBJS =    idmap.o idmap_engine.o namemaps.o
  28 # idmap_clnt.o
  29 CLIENTSRCS =    $(CLIENTOBJS:%.o=%.c)
  30 POFILES =       $(CLIENTOBJS:.o=.po)
  31 OBJS =          $(CLIENTOBJS)
  32 SRCS =          $(CLIENTSRCS)
  33 IDMAP_PROT_DIR =        $(SRC)/head/rpcsvc
  34 
  35 include ../../Makefile.cmd
  36 
  37 CERRWARN +=     -_gcc=-Wno-parentheses
  38 CERRWARN +=     -_gcc=-Wno-switch
  39 CERRWARN +=     -_gcc=-Wno-unused-label
  40 CERRWARN +=     -_gcc=-Wno-char-subscripts
  41 CERRWARN +=     -_gcc=-Wno-unused-function
  42 CERRWARN +=     -_gcc=-Wno-uninitialized
  43 CERRWARN +=     -_gcc=-Wno-address
  44 
  45 # not linted
  46 SMATCH=off
  47 
  48 POFILE =        $(PROG)_all.po
  49 LDLIBS +=       -lidmap -ladutils -lsldap -lldap
  50 FILEMODE =      0555
  51 
  52 INCS += -I. \
  53         -I../../../lib/libidmap/common \
  54         -I../../../lib/libadutils/common \
  55         -I../../../lib/libsldap/common \
  56         -I$(IDMAP_PROT_DIR)
  57 
  58 CFLAGS += $(CCVERBOSE)
  59 $(OBJS) :=      CPPFLAGS += $(INCS) -D_REENTRANT
  60 $(POFILE) :=    CPPFLAGS += $(INCS)
  61 
  62 lint_SRCS :=    CPPFLAGS += $(INCS)




  22 # Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
  23 #
  24 # Copyright (c) 2018, Joyent, Inc.
  25 
  26 PROG =          idmap
  27 CLIENTOBJS =    idmap.o idmap_engine.o namemaps.o
  28 # idmap_clnt.o
  29 CLIENTSRCS =    $(CLIENTOBJS:%.o=%.c)
  30 POFILES =       $(CLIENTOBJS:.o=.po)
  31 OBJS =          $(CLIENTOBJS)
  32 SRCS =          $(CLIENTSRCS)
  33 IDMAP_PROT_DIR =        $(SRC)/head/rpcsvc
  34 
  35 include ../../Makefile.cmd
  36 
  37 CERRWARN +=     -_gcc=-Wno-parentheses
  38 CERRWARN +=     -_gcc=-Wno-switch
  39 CERRWARN +=     -_gcc=-Wno-unused-label
  40 CERRWARN +=     -_gcc=-Wno-char-subscripts
  41 CERRWARN +=     -_gcc=-Wno-unused-function
  42 CERRWARN +=     $(CNOWARN_UNINIT)
  43 CERRWARN +=     -_gcc=-Wno-address
  44 
  45 # not linted
  46 SMATCH=off
  47 
  48 POFILE =        $(PROG)_all.po
  49 LDLIBS +=       -lidmap -ladutils -lsldap -lldap
  50 FILEMODE =      0555
  51 
  52 INCS += -I. \
  53         -I../../../lib/libidmap/common \
  54         -I../../../lib/libadutils/common \
  55         -I../../../lib/libsldap/common \
  56         -I$(IDMAP_PROT_DIR)
  57 
  58 CFLAGS += $(CCVERBOSE)
  59 $(OBJS) :=      CPPFLAGS += $(INCS) -D_REENTRANT
  60 $(POFILE) :=    CPPFLAGS += $(INCS)
  61 
  62 lint_SRCS :=    CPPFLAGS += $(INCS)