2 noinst_PROGRAMS=@GKHDPLOP@
3 EXTRA_PROGRAMS=gkhdplop.so
4 dist_man_MANS = wmhdplop.1
6 desktopdir = $(datadir)/applications
7 dist_desktop_DATA = wmhdplop.desktop
9 EXTRA_DIST=autogen.sh gkrellm_hdplop.c
11 IMLIB2_LIBS=@IMLIB2_LIBS@
12 IMLIB2_CFLAGS=@IMLIB2_CFLAGS@
14 wmhdplop_SOURCES = wmhdplop.c wmhdplop.h util.c util.h procstat.c procstat.h devnames.c devnames.h global.h dockapp_imlib2.c dockapp_imlib2.h
15 wmhdplop_LDADD=-lm $(IMLIB2_LIBS)
16 wmhdplop_CFLAGS=$(IMLIB2_CFLAGS)
17 # gtk cflags and gtk lib flags
18 GTK2_CFLAGS = @GTK2_CFLAGS@
19 GTK2_LIBS = @GTK2_LIBS@
21 LIBTOOLSUX_GKHDPLOP_SRC=wmhdplop.c util.c util.h procstat.c procstat.h devnames.c devnames.h global.h dockapp_imlib2.c dockapp_imlib2.h gkrellm_hdplop.c
23 gkhdplop_so_SOURCES=$(LIBTOOLSUX_GKHDPLOP_SRC)
24 gkhdplop_so_CFLAGS=-DGKRELLM -fPIC $(GTK2_CFLAGS) $(IMLIB2_CFLAGS)
25 gkhdplop_so_LDADD=$(IMLIB2_LIBS) -lm
26 gkhdplop_so_LDFLAGS=-shared