Makefile.am 1.28 KB
Newer Older
1 2 3 4 5
AUTOMAKE_OPTIONS = foreign
ACLOCAL_AMFLAGS = -I m4

bin_PROGRAMS =
bin_SCRIPTS =
Jonathan Jenkins's avatar
Jonathan Jenkins committed
6
noinst_LTLIBRARIES =
7
noinst_PROGRAMS =
Jonathan Jenkins's avatar
Jonathan Jenkins committed
8
lib_LTLIBRARIES =
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
noinst_HEADERS =
TESTS =
XFAIL_TESTS = 
check_PROGRAMS =
EXTRA_PROGRAMS =
CLEANFILES = $(bin_SCRIPTS)
MAINTAINERCLEANFILES =
EXTRA_DIST =
BUILT_SOURCES =
include_HEADERS = include/ssg.h
EXTRA_HEADERS = include/ssg-mpi.h

EXTRA_DIST += prepare.sh

AM_CPPFLAGS = -I$(top_srcdir)/include

AM_CFLAGS =

AM_LIBS =

if HAVE_MPI
include_HEADERS += include/ssg-mpi.h
endif

if HAVE_MARGO
include_HEADERS += include/ssg-margo.h
endif

noinst_HEADERS += \
  ssg-config.h \
  examples/rpc.h

Jonathan Jenkins's avatar
Jonathan Jenkins committed
41 42
lib_LTLIBRARIES += src/libssg.la
src_libssg_la_SOURCES = src/ssg.c
43

Jonathan Jenkins's avatar
Jonathan Jenkins committed
44 45 46 47 48 49 50
EXTRA_PROGRAMS += examples/ssg-example-margo examples/ssg-example-margo-dblgrp
examples_ssg_example_margo_SOURCES = examples/ssg-example-margo.c examples/rpc.c
examples_ssg_example_margo_LDADD = src/libssg.la
examples_ssg_example_margo_dblgrp_SOURCES = examples/ssg-example-margo-dblgrp.c examples/rpc.c
examples_ssg_example_margo_dblgrp_LDADD = src/libssg.la

noinst_PROGRAMS += examples/ssg-example $(MARGO_EXTRA_PROGS)
51
examples_ssg_example_SOURCES = examples/ssg-example.c examples/rpc.c
Jonathan Jenkins's avatar
Jonathan Jenkins committed
52
examples_ssg_example_LDADD = src/libssg.la
53 54 55 56 57

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = maint/ssg.pc

include Make.rules