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


  31 
  32 FSCKOBJS=       fsck.o bpb.o clusters.o fat.o dir.o pcfs_common.o
  33 FSCKSRCS=       $(FSCKOBJS:%.o=%.c)
  34 
  35 #
  36 #  Error injection module for debugging purposes
  37 #
  38 #DEBUGOBJS=     inject.o
  39 #DEBUGSRCS=     $(DEBUGOBJS:%.o=%.c)
  40 
  41 OBJS=           $(FSCKOBJS) $(DEBUGOBJS)
  42 SRCS=           $(FSCKSRCS) $(DEBUGSRCS)
  43 LSRCS=          $(FSCKSRCS) $(DEBUGSRCS)
  44 
  45 # for messaging catalog
  46 #
  47 POFILE= fsck.po
  48 
  49 catalog:        $(POFILE)
  50 
  51 #
  52 # Uncomment the following two lines to build for dbx debugging
  53 #COPTFLAG = -g
  54 #COPTFLAG64 = -g
  55 #
  56 CPPFLAGS +=     -D_LARGEFILE64_SOURCE
  57 
  58 CERRWARN +=     -_gcc=-Wno-parentheses
  59 CERRWARN +=     -_gcc=-Wno-unused-variable
  60 CERRWARN +=     -_gcc=-Wno-uninitialized
  61 
  62 #
  63 # We need to tell lint not to complain about the routines
  64 # we are grabbing from the kernel as being undefined.
  65 #
  66 LINTFLAGS += -u
  67 
  68 $(LIBPROG):     $(OBJS)
  69                 $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
  70                 $(POST_PROCESS)
  71 
  72 lint_LSRCS:
  73         $(LINT.c) $(LSRCS) $(LDLIBS)
  74 
  75 lint:   lint_LSRCS


  31 
  32 FSCKOBJS=       fsck.o bpb.o clusters.o fat.o dir.o pcfs_common.o
  33 FSCKSRCS=       $(FSCKOBJS:%.o=%.c)
  34 
  35 #
  36 #  Error injection module for debugging purposes
  37 #
  38 #DEBUGOBJS=     inject.o
  39 #DEBUGSRCS=     $(DEBUGOBJS:%.o=%.c)
  40 
  41 OBJS=           $(FSCKOBJS) $(DEBUGOBJS)
  42 SRCS=           $(FSCKSRCS) $(DEBUGSRCS)
  43 LSRCS=          $(FSCKSRCS) $(DEBUGSRCS)
  44 
  45 # for messaging catalog
  46 #
  47 POFILE= fsck.po
  48 
  49 catalog:        $(POFILE)
  50 





  51 CPPFLAGS +=     -D_LARGEFILE64_SOURCE
  52 
  53 CERRWARN +=     -_gcc=-Wno-parentheses
  54 CERRWARN +=     -_gcc=-Wno-unused-variable
  55 CERRWARN +=     -_gcc=-Wno-uninitialized
  56 
  57 #
  58 # We need to tell lint not to complain about the routines
  59 # we are grabbing from the kernel as being undefined.
  60 #
  61 LINTFLAGS += -u
  62 
  63 $(LIBPROG):     $(OBJS)
  64                 $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
  65                 $(POST_PROCESS)
  66 
  67 lint_LSRCS:
  68         $(LINT.c) $(LSRCS) $(LDLIBS)
  69 
  70 lint:   lint_LSRCS