home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 22 gnu / 22-gnu.zip / gmp202.zip / mpn / Makefile < prev    next >
Makefile  |  1997-04-19  |  4KB  |  102 lines

  1. # This file was generated automatically by configure.  Do not edit.
  2. VPATH = .
  3. links = sysdep.h  inlines.c add_n.S addmul_1.S cmp.c divmod_1.c divrem.c divrem_1.c dump.c lshift.S mod_1.c mul.c mul_1.S mul_n.c random2.c rshift.S sqrtrem.c sub_n.S submul_1.S get_str.c set_str.c scan0.c scan1.c popcount.c hamdist.c gcd_1.c pre_mod_1.c perfsqr.c bdivmod.c gcd.c gcdext.c gmp-mparam.h
  4. host_alias = i386-EMX-OS/2
  5. host_cpu = i386
  6. host_vendor = EMX
  7. host_os = OS/2
  8. host_canonical = i386-EMX-OS/2
  9. target_alias = i386-EMX-OS/2
  10. target_cpu = i386
  11. target_vendor = EMX
  12. target_os = OS/2
  13. target_canonical = i386-EMX-OS/2
  14. build_alias = i386-EMX-OS/2
  15. build_cpu = i386
  16. build_vendor = EMX
  17. build_os = OS/2
  18. build_canonical = i386-EMX-OS/2
  19. # Makefile for GNU MP/mpn functions
  20. # Copyright (C) 1991, 1993, 1994, 1996 Free Software Foundation, Inc.
  21.  
  22. # This file is part of the GNU MP Library.
  23.  
  24. # The GNU MP Library is free software; you can redistribute it and/or modify
  25. # it under the terms of the GNU Library General Public License as published by
  26. # the Free Software Foundation; either version 2 of the License, or (at your
  27. # option) any later version.
  28.  
  29. # The GNU MP Library is distributed in the hope that it will be useful, but
  30. # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
  31. # or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library General Public
  32. # License for more details.
  33.  
  34. # You should have received a copy of the GNU Library General Public License
  35. # along with the GNU MP Library; see the file COPYING.LIB.  If not, write to
  36. # the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
  37. # MA 02111-1307, USA.
  38.  
  39. srcdir = .
  40.  
  41. MPN_OBJECTS = inlines.o add_n.o addmul_1.o cmp.o divmod_1.o divrem.o divrem_1.o dump.o lshift.o mod_1.o mul.o mul_1.o mul_n.o random2.o rshift.o sqrtrem.o sub_n.o submul_1.o get_str.o set_str.o scan0.o scan1.o popcount.o hamdist.o gcd_1.o pre_mod_1.o perfsqr.o bdivmod.o gcd.o gcdext.o
  42. MPN_LINKS =sysdep.h  inlines.c add_n.S addmul_1.S cmp.c divmod_1.c divrem.c divrem_1.c dump.c lshift.S mod_1.c mul.c mul_1.S mul_n.c random2.c rshift.S sqrtrem.c sub_n.S submul_1.S get_str.c set_str.c scan0.c scan1.c popcount.c hamdist.c gcd_1.c pre_mod_1.c perfsqr.c bdivmod.c gcd.c gcdext.c gmp-mparam.h
  43. CC = cc
  44. CPP = $(CC) -E
  45. CFLAGS = -g -O
  46. INCLUDES = -I. -I.. -I$(srcdir) -I$(srcdir)/..
  47. AR = ar
  48. AR_FLAGS = rc
  49. SFLAGS=
  50.  
  51. #### host and target specific makefile fragments come in here.
  52. ###
  53.  
  54. libmpn.a: Makefile mp_bases.o $(MPN_OBJECTS)
  55.     rm -f $@
  56.     $(AR) $(AR_FLAGS) $@ mp_bases.o $(MPN_OBJECTS)
  57.  
  58. .SUFFIXES: .c .S
  59.  
  60. .c.o:
  61.     $(CC) -c $(INCLUDES) $(CFLAGS) $(XCFLAGS) $<
  62.  
  63. .S.o:
  64.     $(CC) -x assembler-with-cpp -c $(SFLAGS) $(INCLUDES) $< 
  65.  
  66. clean mostlyclean:
  67.     rm -f *.o tmp-* libmpn.a
  68.     #-cd tests; $(MAKE) $@
  69. distclean maintainer-clean: clean
  70.     rm -f asm-syntax.h $(MPN_LINKS)
  71.     -cd tests; $(MAKE) $@
  72.  
  73. # Maybe configure could add dependencies here..?
  74.  
  75. H = $(srcdir)/../gmp.h $(srcdir)/../gmp-impl.h gmp-mparam.h
  76. L = $(srcdir)/../longlong.h
  77.  
  78. mp_bases.o: $(srcdir)/mp_bases.c $(H)
  79. bdivmod.o: bdivmod.c $(H) $(L)
  80. cmp.o: cmp.c $(H)
  81. divmod_1.o: divmod_1.c $(H) $(L)
  82. divrem.o: divrem.c $(H) $(L)
  83. divrem_1.o: divrem_1.c $(H) $(L)
  84. dump.o: dump.c $(H)
  85. gcd.o: gcd.c $(H) $(L)
  86. gcd_1.o: gcd_1.c $(H) $(L)
  87. gcdext.o: gcdext.c $(H) $(L)
  88. get_str.o: get_str.c $(H) $(L)
  89. hamdist.o: hamdist.c $(H)
  90. inlines.o: inlines.c $(srcdir)/../gmp.h
  91. mod_1.o: mod_1.c $(H) $(L)
  92. mul.o: mul.c $(H)
  93. mul_n.o: mul_n.c $(H)
  94. perfsqr.o: perfsqr.c $(H) $(L)
  95. popcount.o: popcount.c $(H)
  96. pre_mod_1.o: pre_mod_1.c $(H) $(L)
  97. random2.o: random2.c $(H)
  98. scan0.o: scan0.c $(H) $(L)
  99. scan1.o: scan1.c $(H) $(L)
  100. set_str.o: set_str.c $(H)
  101. sqrtrem.o: sqrtrem.c $(H) $(L)
  102.