aboutsummaryrefslogtreecommitdiff
path: root/hello/Makefile.am
blob: 46b4286d155532e2e4de2c35bc8d47422c10dbdd (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
# File: ./Makefile.am
# Package: hello
# Description:
#   + simple automake file for example pd external
#
# Process this file with Automake to create Makefile.in.
#-----------------------------------------------------------------------

##-----------------------------------------------------------------------
## Options & Subdirectories

##-- aclocal options (top level only)
ACLOCAL_AMFLAGS = -I m4 

## --- automake options (top level only)
#AUTOMAKE_OPTIONS = foreign dist-bzip2 dist-zip
AUTOMAKE_OPTIONS = foreign

## --- recursion subdirectories
#SUBDIRS = config src

#-----------------------------------------------------------------------
# Includes
#-----------------------------------------------------------------------
include $(top_srcdir)/pdexternal.am

##-----------------------------------------------------------------------
## Pd Externals: hacked _PROGRAMS
#-----------------------------------------------------------------------

pdexterns_PROGRAMS = hello
if WANT_OBJECT_EXTERNALS
 pdexterns_PROGRAMS += goodbye
endif

##-- possible single-object externals (as _PROGRAMS)
EXTRA_PROGRAMS = goodbye

##-- sources
hello_SOURCES = hello.c mooPdUtils.h
goodbye_SOURCES = goodbye.c mooPdUtils.h

##-- patches
pdexterns_DATA = heynow.pd

##-- documentation
pddoc_DATA = \
	hello-help.pd \
	goodbye-help.pd

#-----------------------------------------------------------------------
# Additional Variables & Rules: PODS
#-----------------------------------------------------------------------
PODS = README.pod

all-local: $(PODS:.pod=.txt)

##-----------------------------------------------------------------------
## Variables: distribution
#-----------------------------------------------------------------------

## --- extra distribution files
#EXTRA_DIST  += $(PODS) $(PODS:.pod=.txt) ##-- included by default
EXTRA_DIST  += $(PODS:.pod=.html)