Print this page
9852 enable ld(1) guidance and deflib assertions for the illumos build

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/isns/isnsd/Makefile
          +++ new/usr/src/cmd/isns/isnsd/Makefile
↓ open down ↓ 43 lines elided ↑ open up ↑
  44   44  include ../../Makefile.cmd
  45   45  
  46   46  DATA_STORE      = xml
  47   47  XML_DIR         = xml_def
  48   48  ISNS_SVC        = $(XML_DIR)/isns_server.xml
  49   49  
  50   50  MANIFEST        = isns_server.xml
  51   51  ROOTMANIFESTDIR = $(ROOTSVCNETWORK)
  52   52  $(ROOTSVCNETWORK)/isns_server.xml       := FILEMODE = 0444
  53   53  
  54      -CFLAGS          +=      $(CCVERBOSE)
  55      -CPPFLAGS        += -I./ -I$(ADJUNCT_PROTO)/usr/include/libxml2
       54 +CFLAGS          +=      $(CCVERBOSE)
       55 +CPPFLAGS        += -I./ -I$(ADJUNCT_PROTO)/usr/include/libxml2
  56   56  CPPFLAGS        += -DTARGET_DATA_STORE=$(DATA_STORE)
  57   57  CPPFLAGS        += -D_POSIX_PTHREAD_SEMANTICS
  58   58  LINTFLAGS += -xerroff=E_BAD_PTR_CAST_ALIGN
  59   59  LINTFLAGS += -xerroff=E_NAME_USED_NOT_DEF2
  60   60  LINTFLAGS += -xerroff=E_CASE_FALLTHRU
  61   61  
  62   62  CERRWARN += -_gcc=-Wno-char-subscripts
  63   63  CERRWARN += -_gcc=-Wno-ignored-qualifiers
  64   64  CERRWARN += -_gcc=-Wno-uninitialized
  65   65  CERRWARN += -_gcc=-Wno-implicit-function-declaration
  66   66  
  67   67  CLOBBERFILES += $(DTRACE_HEADER)
  68   68  
  69   69  obj.o := CERRWARN += -erroff=E_CONST_OBJ_SHOULD_HAVE_INITIZR
  70   70  obj.o := CERRWARN += -erroff=E_IMPLICIT_DECL_FUNC_RETURN_INT
  71   71  
  72   72  LDLIBS          += -lsecdb -lsocket -lnsl -lscf -lxml2
       73 +ADJUNCT_LIBS    = libxml2.so
  73   74  
  74   75  .KEEP_STATE:
  75   76  
  76   77  all:    $(PROG)
  77   78  
  78   79  $(PROG): $(OBJS)
  79   80          $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
  80   81          $(POST_PROCESS)
  81   82  
  82   83  %.h: %.d
↓ open down ↓ 26 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX