autoconfiscate

Add autoconf & automake metadata, plus required files for automake to
run without complaint.

Requires an update to ccan, to get the --build-type argument to
create-ccan-tree.

Signed-off-by: Jeremy Kerr <jeremy.kerr@canonical.com>
This commit is contained in:
Jeremy Kerr 2012-05-24 15:14:28 +08:00
parent 42c7160576
commit 3def238360
7 changed files with 130 additions and 113 deletions

26
Makefile.am Normal file
View file

@ -0,0 +1,26 @@
bin_PROGRAMS = sbsign sbverify
coff_headers = coff/external.h coff/pe.h coff/i386.h coff/x86_64.h
common_SOURCES = idc.c idc.h image.c image.h $(coff_headers)
common_LDADD = lib/ccan/libccan.a $(libcrypto_LIBS)
common_CFLAGS = -I$(srcdir)/lib/ccan/
sbsign_SOURCES = sbsign.c $(common_SOURCES)
sbsign_LDADD = $(common_LDADD)
sbsign_CFLAGS = $(common_CFLAGS)
sbverify_SOURCES = sbverify.c $(common_SOURCES)
sbverify_LDADD = $(common_LDADD)
sbverify_CFLAGS = $(common_CFLAGS)
man1_MANS = docs/sbsign.1 docs/sbverify.1
EXTRA_DIST = docs/sbsign.1.in docs/sbverify.1.in
$(builddir)/docs/%.1: $(srcdir)/docs/%.1.in $(builddir)/%
$(MKDIR_P) $(@D)
$(HELP2MAN) --no-info -i $< -o $@ $(builddir)/$*
SUBDIRS = lib/ccan