[BACK]Return to makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libc / gdtoa

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/lib/libc/gdtoa/makefile between version 1.2 and 1.4

version 1.2, 2006/01/25 15:27:42 version 1.4, 2011/03/20 23:15:35
Line 1 
Line 1 
 /* $NetBSD$ */  # $NetBSD$
   
 # /****************************************************************  # /****************************************************************
 # Copyright (C) 1998 by Lucent Technologies  # Copyright (C) 1998 by Lucent Technologies
Line 27 
Line 27 
   
 .SUFFIXES: .c .o  .SUFFIXES: .c .o
 CC = cc  CC = cc
 CFLAGS = -g -I../include -I../arch/x86_64/gdtoa -D_REENTRANT  CFLAGS = -g
 .PATH: ../arch/x86_64/gdtoa  
 .c.o:  .c.o:
         $(CC) -c $(CFLAGS) $*.c          $(CC) -c $(CFLAGS) $*.c
   
   # invoke "make Printf" to add printf.o to gdtoa.a (if desired)
   
 all: arith.h gd_qnan.h gdtoa.a  all: arith.h gd_qnan.h gdtoa.a
   
 arith.h: arithchk.c  arith.h: arithchk.c
Line 44  gd_qnan.h: arith.h qnan.c
Line 46  gd_qnan.h: arith.h qnan.c
         ./a.out >gd_qnan.h          ./a.out >gd_qnan.h
         rm -f a.out qnan.o          rm -f a.out qnan.o
   
 gdtoa.a: dmisc.c dtoa.c g_Qfmt.c g__fmt.c g_ddfmt.c g_dfmt.c g_ffmt.c\  gdtoa.a:  dmisc.c dtoa.c g_Qfmt.c g__fmt.c g_ddfmt.c g_dfmt.c\
          g_xLfmt.c g_xfmt.c gdtoa.c gethex.c gmisc.c hd_init.c hexnan.c\           g_ffmt.c g_xLfmt.c g_xfmt.c gdtoa.c gethex.c gmisc.c hd_init.c\
          misc.c smisc.c strtoIQ.c strtoId.c strtoIdd.c strtoIf.c strtoIg.c\           hexnan.c misc.c smisc.c strtoIQ.c strtoId.c strtoIdd.c\
          strtoIx.c strtoIxL.c strtod.c strtodI.c strtodg.c strtof.c strtopQ.c\           strtoIf.c strtoIg.c strtoIx.c strtoIxL.c strtod.c strtodI.c\
          strtopd.c strtopdd.c strtopf.c strtopx.c strtopxL.c strtorQ.c\           strtodg.c strtof.c strtopQ.c strtopd.c strtopdd.c strtopf.c\
          strtord.c strtordd.c strtorf.c strtorx.c strtorxL.c sum.c ulp.c           strtopx.c strtopxL.c strtorQ.c strtord.c strtordd.c strtorf.c\
            strtorx.c strtorxL.c sum.c ulp.c
         $(CC) -c $(CFLAGS) $?          $(CC) -c $(CFLAGS) $?
         x=`echo $? | sed 's/\.c/.o/g'` && ar ruv gdtoa.a $$x && rm $$x          x=`echo $? | sed 's/\.c/.o/g'` && ar ruv gdtoa.a $$x && rm $$x
         ranlib gdtoa.a || true          ranlib gdtoa.a || true
   
   Printf: all printf.c
           $(CC) -c $(CFLAGS) printf.c
           ar ruv gdtoa.a printf.o
           rm printf.o
           touch Printf
   
 # If your system lacks ranlib, you do not need it.  # If your system lacks ranlib, you do not need it.
   
 xs0 = README arithchk.c dmisc.c dtoa.c g_Qfmt.c g__fmt.c g_ddfmt.c g_dfmt.c\  xs0 = README arithchk.c dmisc.c dtoa.c g_Qfmt.c g__fmt.c g_ddfmt.c\
          g_ffmt.c g_xLfmt.c g_xfmt.c gdtoa.c gdtoa.h gdtoaimp.h gethex.c\           g_dfmt.c g_ffmt.c g_xLfmt.c g_xfmt.c gdtoa.c gdtoa.h\
          gmisc.c hd_init.c hexnan.c makefile misc.c qnan.c smisc.c strtoIQ.c\           gdtoa_fltrnds.h gdtoaimp.h gethex.c gmisc.c hd_init.c hexnan.c\
          strtoId.c strtoIdd.c strtoIf.c strtoIg.c strtoIx.c strtoIxL.c\           makefile misc.c printf.c printf.c0 qnan.c smisc.c stdio1.h\
          strtod.c strtodI.c strtodg.c strtodnrp.c strtof.c strtopQ.c strtopd.c\           strtoIQ.c strtoId.c strtoIdd.c strtoIf.c strtoIg.c strtoIx.c\
          strtopdd.c strtopf.c strtopx.c strtopxL.c strtorQ.c strtord.c strtordd.c\           strtoIxL.c strtod.c strtodI.c strtodg.c strtodnrp.c strtof.c\
          strtorf.c strtorx.c strtorxL.c sum.c ulp.c           strtopQ.c strtopd.c strtopdd.c strtopf.c strtopx.c strtopxL.c\
            strtorQ.c strtord.c strtordd.c strtorf.c strtorx.c strtorxL.c\
            sum.c ulp.c
   
 # "make xsum.out" to check for transmission errors; source for xsum is  # "make -r xsum.out" to check for transmission errors; source for xsum is
 # netlib's "xsum.c from f2c", e.g.,  # netlib's "xsum.c from f2c", e.g.,
 # ftp://netlib.bell-labs.com/netlib/f2c/xsum.c.gz  # ftp://netlib.bell-labs.com/netlib/f2c/xsum.c.gz
   
Line 73  xsum.out: xsum0.out $(xs0)
Line 84  xsum.out: xsum0.out $(xs0)
         cmp xsum0.out xsum1.out && mv xsum1.out xsum.out || diff xsum[01].out          cmp xsum0.out xsum1.out && mv xsum1.out xsum.out || diff xsum[01].out
   
 clean:  clean:
         rm -f arith.h gd_qnan.h *.[ao] xsum.out xsum1.out          rm -f arith.h gd_qnan.h *.[ao] Printf xsum.out xsum1.out

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.4

CVSweb <webmaster@jp.NetBSD.org>