From afe1669dc3d3e00e060bede225c0a882240eda59 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Wed, 7 Mar 2018 21:43:38 +0100 Subject: [PATCH] add Makefile.am --- Makefile.am | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 Makefile.am diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..3e4869b --- /dev/null +++ b/Makefile.am @@ -0,0 +1,36 @@ +AM_CPPFLAGS = \ + @FREETYPE_CFLAGS@ \ + -I$(top_srcdir)/include + +bin_PROGRAMS = shellexec + +shellexec_LDADD = \ + @FREETYPE_LIBS@ + +shellexec_SOURCES = \ + shellexec.c \ + io.c \ + text.c \ + gfx.c \ + fb_display.c \ + resize.c \ + pngw.cpp \ + png_helper.cpp + +noinst_LTLIBRARIES = shellexec.la + +shellexec_la_LDFLAGS = -rpath $(PLUGINDIR) -module -avoid-version + +shellexec_la_SOURCES = \ + starter.c + +install-exec-local: + install -d $(DESTDIR)$(PLUGINDIR) + install -d $(DESTDIR)$(CONFIGDIR) + $(LIBTOOL) --mode=install install shellexec.la $(DESTDIR)$(PLUGINDIR) + install -m 0644 $(srcdir)/shellexec.cfg $(DESTDIR)$(PLUGINDIR) + install -m 0644 $(srcdir)/shellexec.conf $(DESTDIR)$(CONFIGDIR) + install -d $(DESTDIR)$(CONFIGDIR)/flexinc + rm -f $(DESTDIR)$(CONFIGDIR)/flexinc/plugin_config.mnu + touch $(DESTDIR)$(CONFIGDIR)/flexinc/plugin_config.mnu + -- 2.39.5