Ed Tanous | 6052063 | 2018-06-11 17:46:52 -0700 | [diff] [blame] | 1 | sbin_PROGRAMS = mapper mapperx |
Matthew Barth | 7122244 | 2016-10-04 16:10:01 -0500 | [diff] [blame] | 2 | |
| 3 | mapper_SOURCES = libmapper/app.c |
| 4 | mapper_LDFLAGS = $(SYSTEMD_LIBS) |
| 5 | mapper_CFLAGS = $(SYSTEMD_CFLAGS) |
| 6 | mapper_LDADD = libmapper.la |
| 7 | |
| 8 | libmapperdir = ${libdir} |
| 9 | libmapper_LTLIBRARIES = libmapper.la |
| 10 | libmapper_la_SOURCES = libmapper/mapper.c |
| 11 | libmapper_la_LDFLAGS = $(SYSTEMD_LIBS) -version-info 1:0:0 -shared |
| 12 | libmapper_la_CFLAGS = $(SYSTEMD_CFLAGS) |
| 13 | |
Matt Spinler | dd94586 | 2018-09-07 12:41:05 -0500 | [diff] [blame] | 14 | mapperx_SOURCES = src/main.cpp src/argument.cpp |
Ed Tanous | 6052063 | 2018-06-11 17:46:52 -0700 | [diff] [blame] | 15 | mapperx_LDFLAGS = $(SDBUSPLUS_LIBS) -pthread -ltinyxml2 |
| 16 | mapperx_CXXFLAGS = $(SYSTEMD_CFLAGS) -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_ALL_NO_LIB |
| 17 | |
Patrick Williams | a33fbf5 | 2017-06-01 16:08:32 -0500 | [diff] [blame] | 18 | include_HEADERS = libmapper/mapper.h |
Matthew Barth | 7122244 | 2016-10-04 16:10:01 -0500 | [diff] [blame] | 19 | |
| 20 | if HAVE_PYTHON |
| 21 | |
| 22 | all-local: |
| 23 | $(AM_V_at)$(PYTHON) ${top_builddir}/setup.py build |
| 24 | |
| 25 | clean-local: |
| 26 | rm -rfv ${top_builddir}/build |
| 27 | |
| 28 | install-exec-hook: |
| 29 | $(AM_V_at)$(PYTHON) ${top_builddir}/setup.py install \ |
| 30 | --prefix=$(DESTDIR)${prefix} \ |
| 31 | --install-data=$(DESTDIR)${datadir} \ |
| 32 | --install-lib=$(DESTDIR)$(PYTHONDIR) \ |
| 33 | --install-scripts=$(DESTDIR)${sbindir} \ |
| 34 | --record=${top_builddir}/python_install.log |
| 35 | |
| 36 | uninstall-hook: |
| 37 | cat ${top_builddir}/python_install.log \ |
Matthew Barth | 4a6f998 | 2016-11-18 10:25:57 -0600 | [diff] [blame] | 38 | | $(AWK) '{print "$(DESTDIR)"$$1}' | xargs rm -fv |
Matthew Barth | 7122244 | 2016-10-04 16:10:01 -0500 | [diff] [blame] | 39 | |
| 40 | endif |
Matt Spinler | 62b36bd | 2017-06-02 12:15:59 -0500 | [diff] [blame] | 41 | |
| 42 | SUBDIRS = fail-monitor |