-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
64 lines (49 loc) · 1.49 KB
/
Makefile.am
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
AUTOMAKE_OPTIONS = foreign
ACLOCAL_AMFLAGS = -I m4
composed_bin_scripts = \
sbu-check-sigs.sh \
sbu-generate-user-keys.sh \
sbu-lib.sh \
sbu-list-sigs.sh \
sbu-make-combo-loader.sh \
sbu-sign-files.sh
bin_SCRIPTS = $(composed_bin_scripts)
nobase_bin_SCRIPTS = \
tdd-lib/util.sh
edit = sed \
-e 's|@PACKAGE\@|$(PACKAGE)|g' \
-e 's|@PACKAGE_BUGREPORT\@|$(PACKAGE_BUGREPORT)|g' \
-e 's|@PACKAGE_NAME\@|$(PACKAGE_NAME)|g' \
-e 's|@PACKAGE_URL\@|$(PACKAGE_URL)|g' \
-e 's|@PACKAGE_VERSION\@|$(PACKAGE_VERSION)|g' \
-e 's|@datadir\@|$(pkgdatadir)|g' \
-e 's|@libexecdir\@|$(libexecdir)|g' \
-e 's|@prefix\@|$(prefix)|g'
$(composed_bin_scripts): % : Makefile $(srcdir)/%.in
rm -f $@ [email protected]
mkdir -p $$(dirname $@)
$(edit) $(srcdir)/[email protected] > [email protected]
chmod +x [email protected]
mv [email protected] $@
AM_CPPFLAGS = $(DEFAULT_CPPFLAGS)
AM_CFLAGS = $(DEFAULT_CFLAGS)
bin_PROGRAMS = sbu-hex-test
sbu_hex_test_DEPENDENCIES = Makefile
sbu_hex_test_SOURCES = sbu-hex-test.c
#sbu_hex_test_LDADD = -lssl -lcrypto
EXTRA_DIST = bootstrap configure.ac COPYING m4 mit-plus-license.txt README.md \
version.sh $(addsuffix .in, $(composed_bin_scripts)) \
$(nobase_bin_SCRIPTS)
CLEANFILES = $(bin_SCRIPTS)
MAINTAINERCLEANFILES = aclocal.m4 compile config.h* configure depcomp \
install-sh Makefile.in missing $(PACKAGE)-*.gz
maintainer-clean-local:
rm -rf m4 .deps
.PHONY: help
help:
@echo "Targets:"
@echo " make install"
@echo " make dist"
@echo " make distcheck"
@echo " make distclean"
@echo " make maintainer-clean"