]> Pileus Git - aweather/blob - src/plugins/Makefile.am
Add warning/watch/alert plugin
[aweather] / src / plugins / Makefile.am
1 AM_CFLAGS   = -Wall --std=gnu99 $(GRITS_CFLAGS)
2 AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/lib
3 AM_LDFLAGS  = -module -avoid-version -no-undefined
4 LIBS        = $(GRITS_LIBS)
5
6 pluginsdir  = $(pkglibdir)
7
8 plugins_LTLIBRARIES = alert.la
9
10 alert_la_SOURCES = \
11         alert.c      alert.h \
12         alert-info.c alert-info.h
13 alert_la_LIBADD  = $(GRITS_LIBS) \
14                    $(addprefix $(top_srcdir)/lib/,$(gl_LTLIBOBJS))
15
16 if HAVE_RSL
17 plugins_LTLIBRARIES += radar.la
18 radar_la_SOURCES = \
19         radar.c  radar.h \
20         level2.c level2.h \
21         ../aweather-colormap.c \
22         ../aweather-colormap.h \
23         ../aweather-location.c \
24         ../aweather-location.h
25 radar_la_LIBADD  = $(RSL_LIBS) $(GRITS_LIBS) \
26                    $(addprefix $(top_srcdir)/lib/,$(gl_LTLIBOBJS))
27 endif
28
29 test:
30         ( cd ../; make test )
31
32 MAINTAINERCLEANFILES = Makefile.in