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

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

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

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

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

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

##-----------------------------------------------------------------------
## 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 common/mooPdUtils.h
goodbye_SOURCES = goodbye.c common/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)