mirror of
git://git.gnupg.org/gnupg.git
synced 2024-11-04 20:38:50 +01:00
61 lines
1.5 KiB
Makefile
61 lines
1.5 KiB
Makefile
## Process this file with automake to produce Makefile.in
|
|
|
|
|
|
INCLUDES = -I$(top_srcdir)/include
|
|
CFLAGS = @CFLAGS@ @MPI_OPT_FLAGS@
|
|
SFLAGS = @MPI_SFLAGS@
|
|
|
|
EXTRA_DIST = config.links
|
|
DISTCLEANFILES = mpih-add1.S mpih-mul1.S mpih-mul2.S mpih-mul3.S \
|
|
mpih-lshift.S mpih-rshift.S mpih-sub1.S asm-syntax.h sysdep.h
|
|
# Note: we only use .S files so we should delete all left over .s
|
|
CLEANFILES = *.s
|
|
|
|
noinst_LIBRARIES = libmpi.a
|
|
|
|
# libmpi_a_LDFLAGS =
|
|
libmpi_a_SOURCES = longlong.h \
|
|
mpi-add.c \
|
|
mpi-bit.c \
|
|
mpi-cmp.c \
|
|
mpi-div.c \
|
|
mpi-gcd.c \
|
|
mpi-internal.h \
|
|
mpi-inline.h \
|
|
mpi-inline.c \
|
|
mpi-inv.c \
|
|
mpi-mul.c \
|
|
mpi-pow.c \
|
|
mpi-mpow.c \
|
|
mpi-scan.c \
|
|
mpicoder.c \
|
|
mpih-cmp.c \
|
|
mpih-div.c \
|
|
mpih-mul.c \
|
|
mpiutil.c \
|
|
g10m.c
|
|
|
|
# Note this objects are actually links, the sourcefiles are
|
|
# distributed by special code in dist-hook
|
|
common_asm_objects = mpih-mul1.o \
|
|
mpih-mul2.o \
|
|
mpih-mul3.o \
|
|
mpih-add1.o \
|
|
mpih-sub1.o \
|
|
mpih-lshift.o \
|
|
mpih-rshift.o
|
|
|
|
libmpi_a_DEPENDENCIES = $(common_asm_objects) @MPI_EXTRA_ASM_OBJS@
|
|
libmpi_a_LIBADD = $(common_asm_objects) @MPI_EXTRA_ASM_OBJS@
|
|
|
|
# cancel the default rules used by libtool which do not really
|
|
# work and add one to cpp .S files
|
|
.S.o:
|
|
|
|
.S.lo:
|
|
|
|
.S.s:
|
|
$(CPP) $(INCLUDES) $(DEFS) $< | grep -v '^#' >$*.s
|
|
|
|
|