summaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
new file mode 100644
index 0000000..fdddc7c
--- /dev/null
+++ b/src/Makefile.am
@@ -0,0 +1,25 @@
+INCLUDES = -I$(top_srcdir)/src/cpufreqd -I$(top_srcdir)/src/sources \
+ $(all_includes)
+METASOURCES = AUTO
+
+kde_module_LTLIBRARIES = libkima.la
+
+libkima_la_SOURCES = kima.cpp flowlayout.cpp sourcelistitem.cpp prefs.ui
+libkima_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries)
+libkima_la_LIBADD = $(top_builddir)/src/cpufreqd/libcpufreqd.la \
+ $(top_builddir)/src/sources/libsources.la $(LIB_KDEUI)
+
+kima_DATA = kima.desktop
+kimadir = $(kde_datadir)/kicker/applets
+
+KDE_ICON = hwinfo
+EXTRA_DIST = $(kima_DATA)
+
+messages: rc.cpp
+ $(XGETTEXT) *.cpp */*.cpp -o $(podir)/kima.pot
+noinst_HEADERS = kima.h flowlayout.h sourcelistitem.h
+
+SUBDIRS = cpufreqd sources
+
+AM_CXXFLAGS = @libhal_CFLAGS@
+LIBS += @libhal_LIBS@