GNUmakefile.am 1.01 KB
Newer Older
1
2
#########################################
##### Defaults & Paths #####
3
4
5

NAME=pd~

6
7
external_LTLIBRARIES = pd~.la pdsched.la
PATCHES = pd~-help.pd pd~-subprocess.pd
8
9
10
11
12
OTHERDATA = 

pd__la_SOURCES = pd~.c
pdsched_la_SOURCES = pdsched.c

13
EXTRA_DIST = makefile notes.txt binarymsg.c
14

15
16
#########################################
##### Files, Binaries, & Libs #####
17

18
19
# you shouldn't need to add anything below here
dist_external_DATA = $(PATCHES) $(OTHERDATA)
20
21

AUTOMAKE_OPTIONS = foreign
22
23
AM_CFLAGS = @EXTERNAL_CFLAGS@
AM_CPPFLAGS	+= -I$(top_srcdir)/src -DPD
24
AM_LIBS = $(LIBM)
25
26
AM_LDFLAGS = -module -avoid-version -shared @EXTERNAL_LDFLAGS@ \
    -shrext .@EXTERNAL_EXTENSION@ -L$(top_builddir)/src
27
28
29

externaldir = $(pkglibdir)/extra/$(NAME)

30
31
#########################################
##### Targets #####
32
33
34

libtool: $(LIBTOOL_DEPS)
	$(SHELL) ./config.status --recheck
35
36
37
38
39
40
41
42

# create convenience link for running locally
all-local:
	rm -f *.@EXTERNAL_EXTENSION@
	-$(LN_S) $(wildcard .libs/*.@EXTERNAL_EXTENSION@) ./

clean-local:
	rm -f *.@EXTERNAL_EXTENSION@