summaryrefslogtreecommitdiffstats
path: root/kcontrol/randr/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'kcontrol/randr/Makefile.am')
-rw-r--r--kcontrol/randr/Makefile.am21
1 files changed, 9 insertions, 12 deletions
diff --git a/kcontrol/randr/Makefile.am b/kcontrol/randr/Makefile.am
index b0ca50920..df085c858 100644
--- a/kcontrol/randr/Makefile.am
+++ b/kcontrol/randr/Makefile.am
@@ -1,19 +1,16 @@
AM_CPPFLAGS = $(all_includes)
-lib_LTLIBRARIES =
+lib_LTLIBRARIES =
kde_module_LTLIBRARIES = kcm_randr.la
-noinst_LTLIBRARIES = librandrinternal.la
-
-librandrinternal_la_SOURCES = ktimerdialog.cpp randr.cpp
-METASOURCES = AUTO
+METASOURCES = AUTO
kcm_randr_la_SOURCES = krandrmodule.cpp
kcm_randr_la_LDFLAGS = -module -avoid-version $(all_libraries) -no-undefined
-kcm_randr_la_LIBADD = librandrinternal.la $(LIB_KDEUI) $(LIB_XRANDR)
+kcm_randr_la_LIBADD = $(LIB_KDEUI) $(LIB_XRANDR)
-noinst_HEADERS = randr.h krandrmodule.h krandrtray.h krandrapp.h ktimerdialog.h \
- krandrpassivepopup.h lowlevel_randr.h configdialog.h
+noinst_HEADERS = krandrmodule.h krandrtray.h krandrapp.h \
+ krandrpassivepopup.h configdialog.h
xdg_apps_DATA = krandrtray.desktop
@@ -23,14 +20,14 @@ krandr_datadir = $(kde_appsdir)/.hidden
#install-data-local: uninstall.desktop
# $(mkinstalldirs) $(DESTDIR)$(kde_appsdir)/Settings/Desktop
-# $(INSTALL_DATA) $(srcdir)/uninstall.desktop
+# $(INSTALL_DATA) $(srcdir)/uninstall.desktop
# $(DESTDIR)$(kde_appsdir)/Settings/Desktop/krandrmodule.desktop
bin_PROGRAMS = krandrtray
-krandrtray_SOURCES = main.cpp krandrtray.cpp krandrapp.cpp krandrpassivepopup.cpp configdialog.cpp lowlevel_randr.c
-krandrtray_LDFLAGS = $(all_libraries) $(KDE_RPATH)
-krandrtray_LDADD = librandrinternal.la $(LIB_KFILE) $(LIB_KUTILS) $(LIB_XRANDR)
+krandrtray_SOURCES = main.cpp krandrtray.cpp krandrapp.cpp krandrpassivepopup.cpp configdialog.cpp
+krandrtray_LDFLAGS = $(all_libraries) $(KDE_RPATH) -lkrandr
+krandrtray_LDADD = $(LIB_KFILE) $(LIB_KUTILS) $(LIB_XRANDR)
messages: rc.cpp
$(XGETTEXT) *.cpp -o $(podir)/krandr.pot