From 9b4cde9f6cc60727b918eb262d8e967dcf7a4e51 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Sun, 11 Mar 2018 19:20:40 +0100 Subject: [PATCH] add Makefile.am --- Makefile.am | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 Makefile.am diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..efa26bc --- /dev/null +++ b/Makefile.am @@ -0,0 +1,43 @@ +AM_CPPFLAGS = \ + -DWWEATHER \ + @FREETYPE_CFLAGS@ \ + @CURL_CFLAGS@ \ + @PNG_CFLAGS@ \ + -I$(top_srcdir)/include + +tuxwetter_LDADD = \ + @FREETYPE_LIBS@ \ + @CURL_LIBS@ \ + @PNG_LIBS@ \ + -lcrypto \ + -lssl \ + -ljpeg \ + -lgif + +noinst_PROGRAMS = tuxwetter + +tuxwetter_SOURCES = \ + tuxwetter.c \ + gfx.c \ + io.c \ + text.c \ + parser.c \ + php.c \ + http.c \ + jpeg.c \ + fb_display.c \ + resize.c \ + pngw.cpp \ + png_helper.cpp \ + gif.c \ + gifdecomp.c + +install-exec-local: + install -d $(DESTDIR)$(PLUGINDIR) + install -d $(DESTDIR)$(CONFIGDIR) + install -d $(DESTDIR)$(CONFIGDIR)/tuxwetter + install -m 0755 tuxwetter $(DESTDIR)$(PLUGINDIR)/tuxwetter.so + install -m 0644 $(srcdir)/tuxwetter.cfg $(DESTDIR)$(PLUGINDIR) + install -m 0644 $(srcdir)/tuxwetter.conf $(srcdir)/tuxwetter.mcfg $(srcdir)/convert.list $(srcdir)/startbild.jpg $(srcdir)/tuxwetter.png $(DESTDIR)$(CONFIGDIR)/tuxwetter + install -m 0644 $(srcdir)/tuxwetter_hint.png $(DESTDIR)$(PLUGINDIR) + \ No newline at end of file -- 2.39.5