aboutsummaryrefslogtreecommitdiff
path: root/contrib/Makefile.am
blob: 0d653933086df30504636ca833f7017e9e44f30b (plain)
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
INCLUDES = -I$(top_srcdir)/src/include -I$(top_builddir)/src/include


noinst_PROGRAMS = \
 timeout_watchdog

if !MINGW
timeout_watchdog_SOURCES = \
 timeout_watchdog.c 
else
timeout_watchdog_SOURCES = \
 timeout_watchdog_w32.c
endif

noinst_SCRIPTS = \
 gnunet_pyexpect.py \
 gnunet_janitor.py

bin_SCRIPTS = \
 gnunet-gns-import.sh

dist_pkgdata_DATA = \
 gnunet-logo-color.png \
 testing_hostkeys.dat

EXTRA_DIST = \
 coverage.sh \
 hostlist.cgi \
 hostlist.php \
 report.sh \
 gnunet_pyexpect.py.in \
 gnunet_janitor.py.in \
 gnunet-gns-import.sh

do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g'

%.py: %.py.in Makefile
	$(do_subst) < $< > $@
	chmod +x $@

# init_gnunet_redhat \
# init_gnunet_ubuntu \
# visualize_stats.sh \
# gnmessage.sh \
# junkinsert.sh \
# junklookup.sh \
# namespacehelper.sh 


check_PROGRAMS = \
 test_gnunet_prefix

test_gnunet_prefix_SOURCES = \
 test_gnunet_prefix.c

test_gnunet_prefix_LDADD = \
  $(GCLIBADD) $(WINLIB) \
  $(LTLIBICONV) \
  -lltdl -lunistring $(XLIB) 

pkghellodir= $(pkgdatadir)/hellos

install-data-local:
	$(mkinstalldirs) $(DESTDIR)$(pkghellodir)
	@$(NORMAL_INSTALL)
	for hello in $(srcdir)/hellos/*; do \
	  if test -f $$hello; then \
	    $(INSTALL_DATA) $$hello $(DESTDIR)$(pkghellodir)/ ; \
	  fi \
	done

dist-hook:
	if test -d $(srcdir)/hellos; then \
	  mkdir -p $(distdir)/hellos; \
	  for hello in $(srcdir)/hellos/*; do \
	    if test -f $$hello; then \
	      cp -p $$hello $(distdir)/hellos; \
	    fi \
	  done \
	fi