~ubuntu-branches/ubuntu/dapper/gnupg2/dapper

« back to all changes in this revision

Viewing changes to mpi/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Mueller
  • Date: 2005-03-29 10:30:32 UTC
  • Revision ID: james.westby@ubuntu.com-20050329103032-sj42n2ain3ipx310
Tags: upstream-1.9.15
ImportĀ upstreamĀ versionĀ 1.9.15

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Copyright (C) 1998, 1999, 2000, 2001, 2003 Free Software Foundation, Inc.
 
2
#
 
3
# This file is part of GnuPG.
 
4
#
 
5
# GnuPG is free software; you can redistribute it and/or modify
 
6
# it under the terms of the GNU General Public License as published by
 
7
# the Free Software Foundation; either version 2 of the License, or
 
8
# (at your option) any later version.
 
9
 
10
# GnuPG is distributed in the hope that it will be useful,
 
11
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
13
# GNU General Public License for more details.
 
14
 
15
# You should have received a copy of the GNU General Public License
 
16
# along with this program; if not, write to the Free Software
 
17
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
 
18
 
 
19
## Process this file with automake to produce Makefile.in
 
20
 
 
21
 
 
22
INCLUDES = -I.. -I$(top_srcdir)/include
 
23
AM_CFLAGS = @MPI_OPT_FLAGS@
 
24
ASFLAGS = @MPI_SFLAGS@
 
25
 
 
26
EXTRA_DIST = config.links
 
27
DISTCLEANFILES = mpi-asm-defs.h \
 
28
                 mpih-add1.S mpih-add1.c mpih-mul1.S mpih-mul1.c \
 
29
                 mpih-mul2.S mpih-mul2.c mpih-mul3.S mpih-mul3.c \
 
30
                 mpih-lshift.S mpih-lshift.c mpih-rshift.S mpih-rshift.c \
 
31
                 mpih-sub1.S mpih-sub1.c asm-syntax.h sysdep.h
 
32
 
 
33
# Note: we only use .S files so we should delete all left over .s
 
34
CLEANFILES = _*.s
 
35
 
 
36
noinst_LIBRARIES = libmpi.a
 
37
 
 
38
# libmpi_a_LDFLAGS =
 
39
libmpi_a_SOURCES = longlong.h     \
 
40
              mpi-add.c      \
 
41
              mpi-bit.c      \
 
42
              mpi-cmp.c      \
 
43
              mpi-div.c      \
 
44
              mpi-gcd.c      \
 
45
              mpi-internal.h \
 
46
              mpi-inline.h   \
 
47
              mpi-inline.c   \
 
48
              mpi-inv.c      \
 
49
              mpi-mul.c      \
 
50
              mpi-pow.c      \
 
51
              mpi-mpow.c     \
 
52
              mpi-scan.c     \
 
53
              mpicoder.c     \
 
54
              mpih-cmp.c     \
 
55
              mpih-div.c     \
 
56
              mpih-mul.c     \
 
57
              mpiutil.c
 
58
 
 
59
# Note this objects are actually links, the sourcefiles are
 
60
# distributed by special code in dist-hook
 
61
common_asm_objects = mpih-mul1.o    \
 
62
                     mpih-mul2.o    \
 
63
                     mpih-mul3.o    \
 
64
                     mpih-add1.o    \
 
65
                     mpih-sub1.o    \
 
66
                     mpih-lshift.o  \
 
67
                     mpih-rshift.o
 
68
 
 
69
libmpi_a_DEPENDENCIES = $(common_asm_objects) @MPI_EXTRA_ASM_OBJS@
 
70
libmpi_a_LIBADD = $(common_asm_objects) @MPI_EXTRA_ASM_OBJS@
 
71
 
 
72
# cancel the default rules used by libtool which do not really
 
73
# work and add one to cpp .S files
 
74
.S.o:
 
75
         $(CPP) $(INCLUDES) $(DEFS) $< | grep -v '^#' > _$*.s
 
76
         $(COMPILE) $(ASFLAGS) -c _$*.s
 
77
         mv -f _$*.o $*.o
 
78
 
 
79
.S.lo: