diff options
Diffstat (limited to 'netspeed/src/Makefile.am')
-rw-r--r-- | netspeed/src/Makefile.am | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/netspeed/src/Makefile.am b/netspeed/src/Makefile.am index 8358b3c9..e91c1b34 100644 --- a/netspeed/src/Makefile.am +++ b/netspeed/src/Makefile.am @@ -1,5 +1,8 @@ NULL = +mate_netspeed_applet_libdir= $(pkglibdir) +mate_netspeed_applet_lib_LTLIBRARIES=libmate-netspeed-applet.la + AM_CPPFLAGS = \ -I$(top_srcdir) \ -I$(includedir) \ @@ -13,35 +16,33 @@ if HAVE_NL AM_CPPFLAGS += $(NL_CFLAGS) endif -libexec_PROGRAMS = mate-netspeed-applet - -BUILT_SOURCES = netspeed-resources.c netspeed-resources.h -nodist_mate_netspeed_applet_SOURCES = $(BUILT_SOURCES) -mate_netspeed_applet_SOURCES = \ +libmate_netspeed_applet_la_SOURCES = \ backend.h \ backend.c \ netspeed.c \ netspeed.h \ netspeed-preferences.c \ netspeed-preferences.h \ + netspeed-resources.c \ + netspeed-resources.h \ $(NULL) if HAVE_NL -mate_netspeed_applet_SOURCES += \ +libmate_netspeed_applet_la_SOURCES += \ nl80211.h \ ieee80211.h \ $(NULL) endif -mate_netspeed_applet_LDADD = $(GIO_LIBS) $(GTOP_APPLETS_LIBS) \ +libmate_netspeed_applet_la_LIBADD = $(GIO_LIBS) $(GTOP_APPLETS_LIBS) \ $(MATE_APPLETS4_LIBS) \ $(INTLLIBS) -lm if HAVE_IW -mate_netspeed_applet_LDADD += $(IW_LIBS) +libmate_netspeed_applet_la_LIBADD += $(IW_LIBS) endif if HAVE_NL -mate_netspeed_applet_LDADD += $(NL_LIBS) +libmate_netspeed_applet_la_LIBADD += $(NL_LIBS) endif netspeed-resources.c: $(srcdir)/../data/netspeed-resources.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir)/../data --generate-dependencies $(srcdir)/../data/netspeed-resources.gresource.xml) @@ -51,7 +52,6 @@ netspeed-resources.h: $(srcdir)/../data/netspeed-resources.gresource.xml $(shell $(AM_V_GEN)$(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir)/../data --generate --c-name netspeed $< CLEANFILES = \ - $(BUILT_SOURCES) \ $(NULL) -include $(top_srcdir)/git.mk |