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


  44 KS_OBJS=        ksetpw.o
  45 KD_OBJS=        kdyndns.o
  46 KSMB_OBJS=      ksmb.o
  47 KC_OBJS=        kconf.o
  48 
  49 OBJS=           $(KS_OBJS) $(KD_OBJS) $(KSMB_OBJS) $(KC_OBJS)
  50 
  51 SSRCS=  kclient.sh
  52 SRCS=   $(OBJS:%.o=%.c)
  53 
  54 include ../../../Makefile.cmd
  55 include $(SRC)/lib/gss_mechs/mech_krb5/Makefile.mech_krb5
  56 
  57 POFILE= $(SSRCS:%.sh=%.po)
  58 
  59 CPPFLAGS += -I$(SRC)/uts/common/gssapi/include \
  60         -I$(SRC)/lib/krb5 -I$(SRC)/lib/gss_mechs/mech_krb5/include \
  61         -I$(SRC)/uts/common/gssapi/include  \
  62         -I$(SRC)/uts/common/gssapi/mechs/krb5/include
  63 
  64 CERRWARN += -_gcc=-Wno-uninitialized
  65 CERRWARN += -_gcc=-Wno-parentheses
  66 CERRWARN += -_gcc=-Wno-unused-function
  67 
  68 # not linted
  69 SMATCH=off
  70 
  71 ksetpw:=        LDFLAGS += $(KRUNPATH)
  72 kdyndns:=       LDFLAGS += -R/usr/lib/smbsrv
  73 ksmb:=          LDFLAGS += -R/usr/lib/smbsrv
  74 kconf:=         LDFLAGS += $(KRUNPATH)
  75 
  76 KS_LDLIBS =     $(LDLIBS) $(KMECHLIB)
  77 KD_LDLIBS =     $(LDLIBS) -L$(ROOT)/usr/lib/smbsrv -lsmbns
  78 KSMB_LDLIBS =   $(LDLIBS) -L$(ROOT)/usr/lib/smbsrv -lsmb
  79 KC_LDLIBS =     $(LDLIBS) $(KMECHLIB)
  80 
  81 .KEEP_STATE:
  82 
  83 all: $(PROG) $(SHFILES) $(SEC)
  84 




  44 KS_OBJS=        ksetpw.o
  45 KD_OBJS=        kdyndns.o
  46 KSMB_OBJS=      ksmb.o
  47 KC_OBJS=        kconf.o
  48 
  49 OBJS=           $(KS_OBJS) $(KD_OBJS) $(KSMB_OBJS) $(KC_OBJS)
  50 
  51 SSRCS=  kclient.sh
  52 SRCS=   $(OBJS:%.o=%.c)
  53 
  54 include ../../../Makefile.cmd
  55 include $(SRC)/lib/gss_mechs/mech_krb5/Makefile.mech_krb5
  56 
  57 POFILE= $(SSRCS:%.sh=%.po)
  58 
  59 CPPFLAGS += -I$(SRC)/uts/common/gssapi/include \
  60         -I$(SRC)/lib/krb5 -I$(SRC)/lib/gss_mechs/mech_krb5/include \
  61         -I$(SRC)/uts/common/gssapi/include  \
  62         -I$(SRC)/uts/common/gssapi/mechs/krb5/include
  63 
  64 CERRWARN += $(CNOWARN_UNINIT)
  65 CERRWARN += -_gcc=-Wno-parentheses
  66 CERRWARN += -_gcc=-Wno-unused-function
  67 
  68 # not linted
  69 SMATCH=off
  70 
  71 ksetpw:=        LDFLAGS += $(KRUNPATH)
  72 kdyndns:=       LDFLAGS += -R/usr/lib/smbsrv
  73 ksmb:=          LDFLAGS += -R/usr/lib/smbsrv
  74 kconf:=         LDFLAGS += $(KRUNPATH)
  75 
  76 KS_LDLIBS =     $(LDLIBS) $(KMECHLIB)
  77 KD_LDLIBS =     $(LDLIBS) -L$(ROOT)/usr/lib/smbsrv -lsmbns
  78 KSMB_LDLIBS =   $(LDLIBS) -L$(ROOT)/usr/lib/smbsrv -lsmb
  79 KC_LDLIBS =     $(LDLIBS) $(KMECHLIB)
  80 
  81 .KEEP_STATE:
  82 
  83 all: $(PROG) $(SHFILES) $(SEC)
  84