]> git.webhop.me Git - shellexec.git/commitdiff
add Makefile.am master
authorThilo Graf <dbt@novatux.de>
Wed, 7 Mar 2018 20:43:38 +0000 (21:43 +0100)
committerThilo Graf <dbt@novatux.de>
Sun, 11 Mar 2018 17:04:52 +0000 (18:04 +0100)
Makefile.am [new file with mode: 0644]

diff --git a/Makefile.am b/Makefile.am
new file mode 100644 (file)
index 0000000..3e4869b
--- /dev/null
@@ -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
+