Print this page
10051 cw(1) shouldn't have to translate -g


  76 
  77 CERRWARN +=     -_gcc=-Wno-unused-label
  78 CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
  79 CERRWARN +=     -_gcc=-Wno-switch
  80 CERRWARN +=     -_gcc=-Wno-uninitialized
  81 CERRWARN +=     -_gcc=-Wno-unused-variable
  82 CERRWARN +=     -_gcc=-Wno-parentheses
  83 
  84 LFLAGS = -t
  85 YFLAGS = -d
  86 
  87 CLOBBERFILES += svccfg_lex.c svccfg_grammar.c svccfg_grammar.h \
  88     $(MYPROG:%=%-native)
  89 
  90 SVCCFG_EXTRA_LIBS = -lxml2 -lscf -ll -luutil -lumem -lmd5 -lnvpair
  91 $(NOT_NATIVE)SVCCFG_EXTRA_LIBS += -ltecla
  92 
  93 LIBSCF          = $(SRC)/lib/libscf
  94 LIBTECLA        = $(SRC)/lib/libtecla           # just for the header
  95 LIBUUTIL        = $(SRC)/lib/libuutil
  96 
  97 debug := COPTFLAG = -g
  98 
  99 lint := LINTFLAGS = -mux
 100 lint := SVCCFG_EXTRA_LIBS = -lscf -ll -luutil -lumem -lmd5 -lnvpair
 101 
 102 LDLIBS += $(SVCCFG_EXTRA_LIBS)
 103 
 104 $(NATIVE_BUILD)CC =     $(NATIVECC)
 105 $(NATIVE_BUILD)LD =     $(NATIVELD)
 106 $(NATIVE_BUILD)CFLAGS = $(NATIVE_CFLAGS)
 107 $(NATIVE_BUILD)CPPFLAGS = \
 108         -DNATIVE_BUILD \
 109         $(MYCPPFLAGS) \
 110         -I$(LIBSCF)/inc \
 111         -I$(LIBTECLA) \
 112         -I$(LIBUUTIL)/common
 113 $(NATIVE_BUILD)LDFLAGS =
 114 $(NATIVE_BUILD)LDLIBS = \
 115         -L$(LIBUUTIL)/native -R $(LIBUUTIL)/native \
 116         -L$(LIBSCF)/native -R $(LIBSCF)/native \
 117         -L$(ADJUNCT_PROTO)/usr/lib -R$(ADJUNCT_PROTO)/usr/lib \




  76 
  77 CERRWARN +=     -_gcc=-Wno-unused-label
  78 CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
  79 CERRWARN +=     -_gcc=-Wno-switch
  80 CERRWARN +=     -_gcc=-Wno-uninitialized
  81 CERRWARN +=     -_gcc=-Wno-unused-variable
  82 CERRWARN +=     -_gcc=-Wno-parentheses
  83 
  84 LFLAGS = -t
  85 YFLAGS = -d
  86 
  87 CLOBBERFILES += svccfg_lex.c svccfg_grammar.c svccfg_grammar.h \
  88     $(MYPROG:%=%-native)
  89 
  90 SVCCFG_EXTRA_LIBS = -lxml2 -lscf -ll -luutil -lumem -lmd5 -lnvpair
  91 $(NOT_NATIVE)SVCCFG_EXTRA_LIBS += -ltecla
  92 
  93 LIBSCF          = $(SRC)/lib/libscf
  94 LIBTECLA        = $(SRC)/lib/libtecla           # just for the header
  95 LIBUUTIL        = $(SRC)/lib/libuutil


  96 
  97 lint := LINTFLAGS = -mux
  98 lint := SVCCFG_EXTRA_LIBS = -lscf -ll -luutil -lumem -lmd5 -lnvpair
  99 
 100 LDLIBS += $(SVCCFG_EXTRA_LIBS)
 101 
 102 $(NATIVE_BUILD)CC =     $(NATIVECC)
 103 $(NATIVE_BUILD)LD =     $(NATIVELD)
 104 $(NATIVE_BUILD)CFLAGS = $(NATIVE_CFLAGS)
 105 $(NATIVE_BUILD)CPPFLAGS = \
 106         -DNATIVE_BUILD \
 107         $(MYCPPFLAGS) \
 108         -I$(LIBSCF)/inc \
 109         -I$(LIBTECLA) \
 110         -I$(LIBUUTIL)/common
 111 $(NATIVE_BUILD)LDFLAGS =
 112 $(NATIVE_BUILD)LDLIBS = \
 113         -L$(LIBUUTIL)/native -R $(LIBUUTIL)/native \
 114         -L$(LIBSCF)/native -R $(LIBSCF)/native \
 115         -L$(ADJUNCT_PROTO)/usr/lib -R$(ADJUNCT_PROTO)/usr/lib \