]> andersk Git - moira.git/blob - util/gdss/lib/Makefile.in
Switch from Imake-based build system to autoconf-based.
[moira.git] / util / gdss / lib / Makefile.in
1 # $Id$
2
3 SHELL=/bin/sh
4 @SET_MAKE@
5
6 srcdir=@srcdir@
7 VPATH=@srcdir@
8 SRCTOP=@top_srcdir@
9 BUILDTOP=../../..
10
11 CC=@CC@
12 CPPFLAGS=@CPPFLAGS@ -I$(srcdir)/../include -I$(srcdir)/crypto/bignum/h -I$(srcdir)/crypto/algorithm
13 CFLAGS=@CFLAGS@
14 ALL_CFLAGS=$(CFLAGS) $(CPPFLAGS) $(DEFS)
15 LDFLAGS=@LDFLAGS@
16 LIBS=@LIBS@
17 RANLIB=@RANLIB@
18
19 OBJS = gdss.o rgdss.o
20 COBJS = crypto/hashes.o crypto/read_password.o crypto/crypto_util.o \
21         crypto/dumphex.o crypto/read_privkey.o crypto/read_pubkey.o \
22         crypto/write_pubkey.o crypto/KeyFromPQ.o
23 BOBJS = crypto/bignum/KerN.o crypto/bignum/bnCmp.o \
24         crypto/bignum/bnDivide.o crypto/bignum/bnInit.o \
25         crypto/bignum/bnMult.o crypto/bignum/bz.o crypto/bignum/bzf.o 
26 AOBJS = crypto/algorithm/random.o crypto/algorithm/random_BigNum.o \
27         crypto/algorithm/bigrsacode.o crypto/algorithm/bigkeygen.o \
28         crypto/algorithm/bigsignverify.o
29
30 .c.o:
31         $(CC) -c $(ALL_CFLAGS) $<
32
33 all: libgdss.a
34
35 libgdss.a: $(OBJS)
36         @(cd crypto; $(MAKE) all)
37         ar cru $@ $(OBJS) $(COBJS) $(BOBJS) $(AOBJS)
38         $(RANLIB) $@
39
40 clean:
41         rm -f $(OBJS) libgdss.a
42         @(cd crypto; $(MAKE) $@)
43
44 depend:
45         @(cd crypto; $(MAKE) $@)
46
47 install:
48         @(cd crypto; $(MAKE) $@)
This page took 0.059298 seconds and 5 git commands to generate.