Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

[d5dbcb]: bindings / go / Makefile.am Maximize Restore History

Download this file

Makefile.am    42 lines (29 with data), 1.0 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
INTERFACES = $(srcdir)/../ca.i \
$(srcdir)/../cvc.i \
$(srcdir)/../eac.i \
$(srcdir)/../pace.i \
$(srcdir)/../ta.i \
$(srcdir)/../objects.i \
$(srcdir)/../util.i
BUILT_SOURCES = eac_wrap.c eac.go
EXTRA_DIST = example.go
CLEANFILES = $(BUILT_SOURCES)
lib_LTLIBRARIES = libgeac.la
libgeac_la_SOURCES = eac_wrap.c
libgeac_la_CFLAGS = -I$(top_srcdir)/src $(CRYPTO_CFLAGS)
libgeac_la_LDFLAGS = $(top_builddir)/src/libeac.la $(CRYPTO_LIBS)
$(BUILT_SOURCES): $(INTERFACES)
$(SWIG) $(SWIGGOPARAMS) -go -gccgo -outdir $(builddir) -I$(srcdir)/.. eac.i
eac.o: $(BUILT_SOURCES)
$(GCCGO) -c eac.go $(GCCGOFLAGS)
example.o: $(srcdir)/example.go
$(GCCGO) -c $(srcdir)/example.go $(GCCGOFLAGS)
example: example.o eac.o
$(GCCGO) example.o eac.o libgeac_la-eac_wrap.o $(top_builddir)/src/.libs/libeac.a $(CRYPTO_LIBS) $(GCCGOFLAGS) -o example
libgeac_la-local: $(BUILT_SOURCES)
all-local: eac.o example
clean-local:
rm -f example example.o
rm -f eac.o
distclean-local:
rm -f $(BUILT_SOURCES)