summaryrefslogtreecommitdiffstats
path: root/debian/transcode/transcode-1.1.7/pvm3/Makefile.am
blob: e644ebe347be07b5e18efaf6a69b987cd78b9130 (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
# # Makefile.am -- Process this file with automake to produce Makefile.in

AM_CPPFLAGS = \
	$(PTHREAD_CFLAGS) \
	-DMOD_PATH=\"$(MOD_PATH)\" \
	-I$(top_srcdir) \
	-I$(top_srcdir)/src \
	$(PVM3_CFLAGS)

AM_LDFLAGS = -export-dynamic

pkgdir = $(MOD_PATH)

bin_PROGRAMS = tcpvmexportd
pkg_LTLIBRARIES	= pvm_functions.la

pvm_functions_la_SOURCES = pvm_functions.c
pvm_functions_la_LDFLAGS = -module -avoid-version
pvm_functions_la_LIBADD  = $(PVM3_LIBS)

tcpvmexportd_SOURCES = \
	tcpvmexportd.c \
	export_pvm_slave.c \
	pvm_interface.c \
	pvm_parser.c \
	external_codec.c \
	vob_pack_unpack.c

tcpvmexportd_LDADD = \
	$(ACLIB_LIBS) \
	$(LIBTC_LIBS) \
	-lm

EXTRA_DIST = \
	pvm_functions.h \
	export_pvm_slave.h \
	pvm_interface.h \
	pvm_parser.h \
	external_codec.h \
	pvm_version.h \
	vob_pack_unpack.h

install-data-local:
	@$(NORMAL_INSTALL)
	if test ! -e $(bindir)/pvmgs; then \
		ln -s $(PVM3_PVMGS) $(bindir)/pvmgs; \
	fi;