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


  90 
  91 CLEANFILES=     *.class $(LINTLIB) $(LINTOUT)
  92 CLOBBERFILES=   $(JNIHDR_FILES) $(LIBLINKS)
  93 
  94 all: $(CLASSFILES) $(JNIHDR_FILES) $(DYNLIB)
  95 
  96 install: all $(ROOTDIRS) $(ROOTLINKS)
  97 
  98 #
  99 # Build jni header file
 100 # Use $@ instead of the "unreliable" $*
 101 #
 102 $(JNIHDR_FILES): $(JNICLASSFILES)
 103         $(JAVAH) -jni -classpath $(CLASSPATH) \
 104                 `echo $@ | sed 's/.h$$//' | tr _ .`
 105 
 106 #
 107 # Build standalone programs for testing
 108 #
 109 NS: NS.c
 110         $(CC) NS.c -g $(ILDOFF) -o NS -DMAIN=1 $(ENVLDLIBS1) $(ENVLIBS2) \
 111             -lprint -lnsl -lsocket
 112 
 113 lint: $(JNIHDR_FILES) lintcheck
 114 
 115 cstyle:
 116         cstyle $(SRCS)
 117 
 118 jstyle:
 119         jstyle $(JAVAFILES)
 120 
 121 _msg:
 122 
 123 $(ROOTDIRS):
 124         $(INS.dir)
 125 
 126 include $(SRC)/lib/Makefile.targ


  90 
  91 CLEANFILES=     *.class $(LINTLIB) $(LINTOUT)
  92 CLOBBERFILES=   $(JNIHDR_FILES) $(LIBLINKS)
  93 
  94 all: $(CLASSFILES) $(JNIHDR_FILES) $(DYNLIB)
  95 
  96 install: all $(ROOTDIRS) $(ROOTLINKS)
  97 
  98 #
  99 # Build jni header file
 100 # Use $@ instead of the "unreliable" $*
 101 #
 102 $(JNIHDR_FILES): $(JNICLASSFILES)
 103         $(JAVAH) -jni -classpath $(CLASSPATH) \
 104                 `echo $@ | sed 's/.h$$//' | tr _ .`
 105 
 106 #
 107 # Build standalone programs for testing
 108 #
 109 NS: NS.c
 110         $(CC) NS.c $(CCGDEBUG) $(ILDOFF) -o NS -DMAIN=1 $(ENVLDLIBS1) $(ENVLIBS2) \
 111             -lprint -lnsl -lsocket
 112 
 113 lint: $(JNIHDR_FILES) lintcheck
 114 
 115 cstyle:
 116         cstyle $(SRCS)
 117 
 118 jstyle:
 119         jstyle $(JAVAFILES)
 120 
 121 _msg:
 122 
 123 $(ROOTDIRS):
 124         $(INS.dir)
 125 
 126 include $(SRC)/lib/Makefile.targ