[BACK]Return to Makefile.am CVS log [TXT][DIR] Up to [local] / OpenXM_contrib / gmp / mpn

Diff for /OpenXM_contrib/gmp/mpn/Attic/Makefile.am between version 1.1 and 1.1.1.2

version 1.1, 2000/09/09 14:12:20 version 1.1.1.2, 2003/08/25 16:06:16
Line 1 
Line 1 
 ## Process this file with automake to generate Makefile.in  ## Process this file with automake to generate Makefile.in
   
 # Copyright (C) 1996, 1998, 1999, 2000 Free Software Foundation, Inc.  # Copyright 1996, 1998, 1999, 2000, 2001, 2002 Free Software Foundation,
   # Inc.
 #  #
 # This file is part of the GNU MP Library.  # This file is part of the GNU MP Library.
 #  #
Line 20 
Line 21 
 # MA 02111-1307, USA.  # MA 02111-1307, USA.
   
   
 AUTOMAKE_OPTIONS = gnu no-dependencies  AUTOMAKE_OPTIONS = gnu no-dependencies $(top_builddir)/ansi2knr
 SUBDIRS = tests  
   
 CPP     = @CPP@  INCLUDES = -D__GMP_WITHIN_GMP -I$(top_srcdir) \
     -DOPERATION_`echo $* | sed 's/_$$//'`
   
 # -DOPERATION_$* tells multi-function files which function to produce.  
 INCLUDES = -I$(top_srcdir) -DOPERATION_$*  
   
 GENERIC_SOURCES = mp_bases.c  
 OFILES = @mpn_objects@  OFILES = @mpn_objects@
   
   
   # All possible mpn normal and optional function files are listed here as C
   # sources for a dummy library, to get automake to generate ansi2knr rules
   # for each.  Such rules will be ignored for any that are instead implemented
   # with a .asm (or whatever) for a particular target.
   #
   EXTRA_LTLIBRARIES = libdummy.la
   nodist_libdummy_la_SOURCES =                                                \
     add.c add_1.c add_n.c addmul_1.c and_n.c andn_n.c bdivmod.c               \
     cmp.c com_n.c copyd.c copyi.c                                             \
     dc_divrem_n.c dive_1.c diveby3.c divis.c divrem.c divrem_1.c divrem_2.c   \
     dump.c fib2_ui.c gcd.c                                                    \
     gcd_finda.c gcd_1.c gcdext.c get_str.c hamdist.c invert_limb.c            \
     ior_n.c iorn_n.c jacbase.c lshift.c mod_1.c mod_34lsub1.c mode1o.c        \
     mul.c mul_1.c mul_2.c mul_fft.c mul_n.c mul_basecase.c                    \
     nand_n.c nior_n.c perfsqr.c popcount.c                                    \
     pre_divrem_1.c pre_mod_1.c pow_1.c random.c random2.c rshift.c            \
     rootrem.c sb_divrem_mn.c scan0.c scan1.c set_str.c                        \
     sqr_basecase.c sqr_diagonal.c                                             \
     sqrtrem.c sub.c sub_1.c sub_n.c submul_1.c                                \
     tdiv_qr.c udiv_qrnnd.c udiv_w_sdiv.c xor_n.c xnor_n.c
   
   
 noinst_LTLIBRARIES = libmpn.la  noinst_LTLIBRARIES = libmpn.la
 libmpn_la_SOURCES = $(GENERIC_SOURCES)  libmpn_la_SOURCES = mp_bases.c
 libmpn_la_LIBADD = $(OFILES)  libmpn_la_LIBADD = $(OFILES)
 libmpn_la_DEPENDENCIES = $(OFILES)  libmpn_la_DEPENDENCIES = $(OFILES)
   
 TARG_DIST = a29k alpha arm clipper cray generic hppa i960 lisp m68k m88k \  TARG_DIST = a29k alpha arm clipper cray generic i960 ia64 lisp m68k m88k \
   mips2 mips3 ns32k pa64 pa64w power powerpc32 powerpc64 pyr sh sparc32 \    mips32 mips64 ns32k pa32 pa64 power powerpc32 powerpc64 pyr s390 sh \
   sparc64 thumb vax x86 z8000 z8000x    sparc32 sparc64 thumb vax x86 z8000 z8000x
   
 EXTRA_DIST = underscore.h asm-defs.m4 $(TARG_DIST)  EXTRA_DIST = Makeasm.am asm-defs.m4 cpp-ccas m4-ccas $(TARG_DIST)
   
 # COMPILE minus CC.  FIXME: Really pass *_CFLAGS to CPP?  
 COMPILE_FLAGS = \  
         $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)  
   
 SUFFIXES = .s .S .asm  include Makeasm.am
   
 # *.s are not preprocessed at all.  
 .s.o:  
         $(CCAS) $(COMPILE_FLAGS) $<  
 .s.obj:  
         $(CCAS) $(COMPILE_FLAGS) `cygpath -w $<`  
 .s.lo:  
         $(LIBTOOL) --mode=compile $(CCAS) $(COMPILE_FLAGS) $<  
   
 # *.S are preprocessed with CPP.  
 .S.o:  
         $(CPP) $(COMPILE_FLAGS) $< | grep -v '^#' >tmp-$*.s  
         $(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $@  
         rm -f tmp-$*.s  
 .S.obj:  
         $(CPP) $(COMPILE_FLAGS) `cygpath -w $<` | grep -v '^#' >tmp-$*.s  
         $(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $@  
         rm -f tmp-$*.s  
   
 # We have to rebuild the static object file without passing -DPIC to  
 # preprocessor.  The overhead cost is one extra assemblation.  FIXME:  
 # Teach libtool how to assemble with a preprocessor pass (CPP or m4).  
   
 .S.lo:  
         $(CPP) $(COMPILE_FLAGS) -DPIC $< | grep -v '^#' >tmp-$*.s  
         $(LIBTOOL) --mode=compile $(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $@  
         $(CPP) $(COMPILE_FLAGS) $< | grep -v '^#' >tmp-$*.s  
         $(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $*.o  
         rm -f tmp-$*.s  
   
 # *.m4 are preprocessed with m4.  
 .asm.o:  
         $(M4) -DOPERATION_$* $< >tmp-$*.s  
         $(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $@  
         rm -f tmp-$*.s  
 .asm.obj:  
         $(M4) -DOPERATION_$* `cygpath -w $<` >tmp-$*.s  
         $(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $@  
         rm -f tmp-$*.s  
 .asm.lo:  
         $(M4) -DPIC -DOPERATION_$* $< >tmp-$*.s  
         $(LIBTOOL) --mode=compile $(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $@  
         $(M4) -DOPERATION_$* $< >tmp-$*.s  
         $(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $*.o  
         rm -f tmp-$*.s  

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.1.1.2

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>