2016-11-24 15:26:45 +00:00
|
|
|
bin_PROGRAMS=wmhdplop
|
|
|
|
noinst_PROGRAMS=@GKHDPLOP@
|
|
|
|
EXTRA_PROGRAMS=gkhdplop.so
|
2016-11-24 15:26:53 +00:00
|
|
|
dist_man_MANS = wmhdplop.1
|
2016-11-24 15:26:45 +00:00
|
|
|
|
2016-11-24 15:26:54 +00:00
|
|
|
desktopdir = $(datadir)/applications
|
|
|
|
dist_desktop_DATA = wmhdplop.desktop
|
|
|
|
|
2016-11-24 15:26:45 +00:00
|
|
|
EXTRA_DIST=autogen.sh gkrellm_hdplop.c
|
|
|
|
|
|
|
|
IMLIB2_LIBS=@IMLIB2_LIBS@
|
|
|
|
IMLIB2_CFLAGS=@IMLIB2_CFLAGS@
|
|
|
|
|
|
|
|
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
|
|
|
|
wmhdplop_LDADD=-lm $(IMLIB2_LIBS)
|
|
|
|
wmhdplop_CFLAGS=$(IMLIB2_CFLAGS)
|
|
|
|
# gtk cflags and gtk lib flags
|
|
|
|
GTK2_CFLAGS = @GTK2_CFLAGS@
|
|
|
|
GTK2_LIBS = @GTK2_LIBS@
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
gkhdplop_so_SOURCES=$(LIBTOOLSUX_GKHDPLOP_SRC)
|
|
|
|
gkhdplop_so_CFLAGS=-DGKRELLM -fPIC $(GTK2_CFLAGS) $(IMLIB2_CFLAGS)
|
wmhdplop: Modernize autotools.
In particular, fix the following errors and warnings:
configure.ac:2: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are
deprecated. For more info, see:
configure.ac:2: http://www.gnu.org/software/automake/manual/automake.html
#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
Makefile.am:21: error: linker flags such as '-shared' belong in
'gkhdplop_so_LDFLAGS'
./configure: line 2910: syntax error near unexpected token `build_old_libs,'
./configure: line 2910: ` _LT_DECL(build_old_libs, enable_static, 0,'
./configure: line 2908: syntax error near unexpected token
`build_libtool_libs,'
./configure: line 2908: ` _LT_DECL(build_libtool_libs, enable_shared, 0,
https://sources.debian.net/src/wmhdplop/0.9.9-5/debian/patches/
modernize_autotools.patch/
2016-11-24 15:26:50 +00:00
|
|
|
gkhdplop_so_LDADD=$(IMLIB2_LIBS) -lm
|
|
|
|
gkhdplop_so_LDFLAGS=-shared
|
2016-11-24 15:26:45 +00:00
|
|
|
|
|
|
|
all: @GKHDPLOP@
|