~ubuntu-branches/ubuntu/vivid/nettle/vivid

« back to all changes in this revision

Viewing changes to tools/Makefile.in

  • Committer: Package Import Robot
  • Author(s): Magnus Holmgren
  • Date: 2012-08-25 18:28:37 UTC
  • mfrom: (1.5.1) (8.1.5 sid)
  • mto: (8.1.7 sid)
  • mto: This revision was merged to the branch mainline in revision 14.
  • Revision ID: package-import@ubuntu.com-20120825182837-i7h4w03l7mxgvmqb
Tags: 2.5-1
* New upstream release (Closes: #685855).
  - All symbols from nettle-internal.c have been dropped from the built
    library, and pkcs1_signature_prefix renamed with a leading underscore,
    without SONAME change, as they were all for internal use only.
* debian/watch: Updated to handle -pre releases.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
PRE_LDFLAGS = -L..
19
19
 
20
20
HOGWEED_TARGETS = pkcs1-conv$(EXEEXT)
21
 
TARGETS = sexp-conv$(EXEEXT) nettle-lfib-stream$(EXEEXT) \
 
21
TARGETS = sexp-conv$(EXEEXT) nettle-hash$(EXEEXT) nettle-lfib-stream$(EXEEXT) \
22
22
          @IF_HOGWEED@ $(HOGWEED_TARGETS)
23
23
 
24
24
all: $(TARGETS)
25
25
 
26
 
sexp_conv_SOURCES = sexp-conv.c input.c output.c parse.c \
27
 
        getopt.c getopt1.c misc.c
28
 
pkcs1_conv_SOURCES = pkcs1-conv.c getopt.c getopt1.c misc.c
29
 
 
30
 
SOURCES = $(sexp_conv_SOURCES) nettle-lfib-stream.c pkcs1-conv.c
31
 
 
32
 
DISTFILES = $(SOURCES) Makefile.in getopt.h input.h misc.h output.h parse.h
33
 
 
34
 
sexp_conv_OBJS = $(sexp_conv_SOURCES:.c=.$(OBJEXT))
 
26
getopt_OBJS = ../getopt.$(OBJEXT) ../getopt1.$(OBJEXT)
 
27
 
 
28
sexp_conv_SOURCES = sexp-conv.c input.c output.c parse.c misc.c
 
29
pkcs1_conv_SOURCES = pkcs1-conv.c misc.c
 
30
nettle_hash_SOURCES = nettle-hash.c misc.c
 
31
 
 
32
SOURCES = $(sexp_conv_SOURCES) nettle-hash.c nettle-lfib-stream.c pkcs1-conv.c
 
33
 
 
34
DISTFILES = $(SOURCES) Makefile.in input.h misc.h output.h parse.h
 
35
 
 
36
sexp_conv_OBJS = $(sexp_conv_SOURCES:.c=.$(OBJEXT)) $(getopt_OBJS)
35
37
sexp-conv$(EXEEXT): $(sexp_conv_OBJS) ../libnettle.a
36
38
        $(LINK) $(sexp_conv_OBJS) -lnettle $(LIBS) -o $@
37
39
 
38
40
nettle-lfib-stream$(EXEEXT): nettle-lfib-stream.$(OBJEXT) ../libnettle.a
39
41
        $(LINK) nettle-lfib-stream.$(OBJEXT) -lnettle $(LIBS) -o $@
40
42
 
41
 
pkcs1_conv_OBJS = $(pkcs1_conv_SOURCES:.c=.$(OBJEXT))
 
43
pkcs1_conv_OBJS = $(pkcs1_conv_SOURCES:.c=.$(OBJEXT)) $(getopt_OBJS)
42
44
pkcs1-conv$(EXEEXT): $(pkcs1_conv_OBJS) ../libnettle.a ../libhogweed.a
43
45
        $(LINK) $(pkcs1_conv_OBJS) -lhogweed -lnettle $(LIBS) -o $@
44
46
 
 
47
# FIXME: Avoid linking with gmp
 
48
nettle_hash_OBJS = $(nettle_hash_SOURCES:.c=.$(OBJEXT)) $(getopt_OBJS)
 
49
nettle-hash$(EXEEXT): $(nettle_hash_OBJS) ../libnettle.a
 
50
        $(LINK) $(nettle_hash_OBJS) -lnettle $(LIBS) -o $@
 
51
 
 
52
 
45
53
.c.$(OBJEXT):
46
54
        $(COMPILE) -c $< && $(DEP_PROCESS)
47
55
 
 
56
$(getopt_OBJS):
 
57
        ( cd .. && $(MAKE) $@ )
48
58
 
49
59
Makefile: $(srcdir)/Makefile.in ../config.status
50
60
        cd .. && $(SHELL) ./config.status tools/$@