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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/Makefile
          +++ new/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/Makefile
↓ open down ↓ 26 lines elided ↑ open up ↑
  27   27  # Makefile for Java Print Manager server
  28   28  #
  29   29  
  30   30  LIBRARY =       libpmgr.a
  31   31  VERS =          .1
  32   32  
  33   33  JNIHDR_FILES =  com_sun_admin_pm_server_DoPrinterNS.h
  34   34  
  35   35  OBJECTS =       DoPrinterNS.o NS.o
  36   36  
  37      -CLASSFILES =    Printer.class \
       37 +CLASSFILES =    Printer.class \
  38   38                  Host.class \
  39   39                  SysCommand.class \
  40   40                  NameService.class \
  41   41                  PrinterUtil.class \
  42   42                  DoPrinterView.class \
  43   43                  DoPrinterAdd.class \
  44   44                  DoPrinterDelete.class \
  45   45                  DoPrinterUtil.class \
  46   46                  DoPrinterMod.class \
  47   47                  DoPrinterNS.class \
↓ open down ↓ 52 lines elided ↑ open up ↑
 100  100  # Use $@ instead of the "unreliable" $*
 101  101  #
 102  102  $(JNIHDR_FILES): $(JNICLASSFILES)
 103  103          $(JAVAH) -jni -classpath $(CLASSPATH) \
 104  104                  `echo $@ | sed 's/.h$$//' | tr _ .`
 105  105  
 106  106  #
 107  107  # Build standalone programs for testing
 108  108  #
 109  109  NS: NS.c
 110      -        $(CC) NS.c -g $(ILDOFF) -o NS -DMAIN=1 $(ENVLDLIBS1) $(ENVLIBS2) \
      110 +        $(CC) NS.c $(CCGDEBUG) $(ILDOFF) -o NS -DMAIN=1 $(ENVLDLIBS1) $(ENVLIBS2) \
 111  111              -lprint -lnsl -lsocket
 112  112  
 113  113  lint: $(JNIHDR_FILES) lintcheck
 114  114  
 115  115  cstyle:
 116  116          cstyle $(SRCS)
 117  117  
 118  118  jstyle:
 119  119          jstyle $(JAVAFILES)
 120  120  
 121  121  _msg:
 122  122  
 123  123  $(ROOTDIRS):
 124  124          $(INS.dir)
 125  125  
 126  126  include $(SRC)/lib/Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX