]> git.webhop.me Git - tuxwetter.git/commitdiff
add Makefile.am
authorThilo Graf <dbt@novatux.de>
Sun, 11 Mar 2018 18:20:40 +0000 (19:20 +0100)
committerThilo Graf <dbt@novatux.de>
Sun, 11 Mar 2018 18:20:40 +0000 (19:20 +0100)
Makefile.am [new file with mode: 0644]

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