File: Makefile.am

package info (click to toggle)
xfce4-netload-plugin 1.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 928 kB
  • sloc: ansic: 2,672; makefile: 119; sh: 11
file content (66 lines) | stat: -rw-r--r-- 1,522 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
plugindir = $(libdir)/xfce4/panel/plugins
plugin_LTLIBRARIES = libnetload.la

LIBS = @LIBS@ @SOLLIBS@

libnetload_la_SOURCES =							\
	netload.c							\
	monitor-label.c							\
	monitor-label.h							\
	utils.c								\
	utils.h								\
	net.h								\
	net.c								\
	os.h								\
	wormulon.h							\
	slurm.h

libnetload_la_CFLAGS =							\
	-DPACKAGE_LOCALE_DIR=\"$(localedir)\"				\
	@GLIB_CFLAGS@							\
	@GTK_CFLAGS@							\
	@LIBXFCE4PANEL_CFLAGS@						\
	@LIBXFCE4UI_CFLAGS@						\
	@LIBXFCE4UTIL_CFLAGS@

libnetload_la_LDFLAGS =							\
	-avoid-version							\
	-module								\
	-no-undefined							\
	-export-symbols-regex '^xfce_panel_module_(preinit|init|construct)' \
	$(PLATFORM_LDFLAGS)

libnetload_la_LIBADD =							\
	@SOLLIBS@							\
	@GLIB_LIBS@							\
	@GTK_LIBS@							\
	@LIBXFCE4PANEL_LIBS@						\
	@LIBXFCE4UI_LIBS@						\
	@LIBXFCE4UTIL_LIBS@

check_PROGRAMS = commandline
commandline_SOURCES = commandline.c utils.c utils.h net.c net.h
commandline_CFLAGS =							\
	@GLIB_CFLAGS@							\
	@LIBXFCE4UTIL_CFLAGS@
commandline_LDADD =							\
	@GLIB_LIBS@							\
	@LIBXFCE4UTIL_LIBS@

# .desktop file
#
desktop_in_files = netload.desktop.in
	
desktopdir = $(datadir)/xfce4/panel/plugins
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)

EXTRA_DIST = 								\
	wormulon commandline.c						\
	meson.build							\
	$(desktop_in_files)

DISTCLEANFILES =							\
	$(desktop_DATA)
	
%.desktop: %.desktop.in Makefile
	$(AM_V_GEN)$(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@