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


  53 OBJECTS.s=      $(MACH)_assm.o
  54 
  55 OBJECTS=        $(OBJECTS.c) $(OBJECTS.s)
  56 
  57 include ../../Makefile.lib
  58 
  59 # We omit $(OBJECTS.s:%.o=%.s) in the next line, because lint no like
  60 SRCS= $(OBJECTS.c:%.o=../%.c)
  61 
  62 LIBS=           $(DYNLIB)
  63 
  64 HDRS=           tnfctl.h
  65 ROOTHDRDIR=     $(ROOT)/usr/include/tnf
  66 ROOTHDRS=       $(HDRS:%=$(ROOTHDRDIR)/%)
  67 CHECKHDRS=      $(HDRS:%.h=%.check)
  68 $(ROOTHDRS) :=  FILEMODE = 0644
  69 CHECKHDRS =     $(HDRS:%.h=%.check)
  70 
  71 LDLIBS +=       -lc -lelf
  72 
  73 # Uncomment the following line for a debug build
  74 # COPTFLAG =    -g -DDEBUG $(CCVERBOSE)
  75 CPPFLAGS +=     -I$(SRC)/lib/libtnfprobe -D_REENTRANT -I$(SRC)/cmd/sgs/include
  76 
  77 LINTFLAGS +=    -y
  78 
  79 CERRWARN +=     -_gcc=-Wno-uninitialized
  80 CERRWARN +=     -_gcc=-Wno-empty-body
  81 CERRWARN +=     -_gcc=-Wno-parentheses
  82 
  83 ASFLAGS +=      -P
  84 
  85 $(ROOTHDRS) :=  FILEMODE = 644
  86 
  87 .KEEP_STATE:
  88 
  89 all: $(LIBS)
  90 
  91 install_h: $(ROOTHDRDIR) $(ROOTHDRS)
  92 
  93 lint:
  94         $(LINT.c) $(SRCS)




  53 OBJECTS.s=      $(MACH)_assm.o
  54 
  55 OBJECTS=        $(OBJECTS.c) $(OBJECTS.s)
  56 
  57 include ../../Makefile.lib
  58 
  59 # We omit $(OBJECTS.s:%.o=%.s) in the next line, because lint no like
  60 SRCS= $(OBJECTS.c:%.o=../%.c)
  61 
  62 LIBS=           $(DYNLIB)
  63 
  64 HDRS=           tnfctl.h
  65 ROOTHDRDIR=     $(ROOT)/usr/include/tnf
  66 ROOTHDRS=       $(HDRS:%=$(ROOTHDRDIR)/%)
  67 CHECKHDRS=      $(HDRS:%.h=%.check)
  68 $(ROOTHDRS) :=  FILEMODE = 0644
  69 CHECKHDRS =     $(HDRS:%.h=%.check)
  70 
  71 LDLIBS +=       -lc -lelf
  72 


  73 CPPFLAGS +=     -I$(SRC)/lib/libtnfprobe -D_REENTRANT -I$(SRC)/cmd/sgs/include
  74 
  75 LINTFLAGS +=    -y
  76 
  77 CERRWARN +=     -_gcc=-Wno-uninitialized
  78 CERRWARN +=     -_gcc=-Wno-empty-body
  79 CERRWARN +=     -_gcc=-Wno-parentheses
  80 
  81 ASFLAGS +=      -P
  82 
  83 $(ROOTHDRS) :=  FILEMODE = 644
  84 
  85 .KEEP_STATE:
  86 
  87 all: $(LIBS)
  88 
  89 install_h: $(ROOTHDRDIR) $(ROOTHDRS)
  90 
  91 lint:
  92         $(LINT.c) $(SRCS)