1# # Makefile.am -- Process this file with automake to produce Makefile.in 2 3AM_CPPFLAGS = \ 4 $(PTHREAD_CFLAGS) \ 5 -DMOD_PATH=\"$(MOD_PATH)\" \ 6 -I$(top_srcdir) \ 7 -I$(top_srcdir)/src \ 8 $(PVM3_CFLAGS) 9 10AM_LDFLAGS = -export-dynamic 11 12pkgdir = $(MOD_PATH) 13 14bin_PROGRAMS = tcpvmexportd 15pkg_LTLIBRARIES = pvm_functions.la 16 17pvm_functions_la_SOURCES = pvm_functions.c 18pvm_functions_la_LDFLAGS = -module -avoid-version 19pvm_functions_la_LIBADD = $(PVM3_LIBS) 20 21tcpvmexportd_SOURCES = \ 22 tcpvmexportd.c \ 23 export_pvm_slave.c \ 24 pvm_interface.c \ 25 pvm_parser.c \ 26 external_codec.c \ 27 vob_pack_unpack.c 28 29tcpvmexportd_LDADD = \ 30 $(ACLIB_LIBS) \ 31 $(LIBTC_LIBS) \ 32 -lm 33 34EXTRA_DIST = \ 35 pvm_functions.h \ 36 export_pvm_slave.h \ 37 pvm_interface.h \ 38 pvm_parser.h \ 39 external_codec.h \ 40 pvm_version.h \ 41 vob_pack_unpack.h 42 43install-data-local: 44 @$(NORMAL_INSTALL) 45 if test ! -e $(bindir)/pvmgs; then \ 46 ln -s $(PVM3_PVMGS) $(bindir)/pvmgs; \ 47 fi; 48