diff --git a/Makefile.am b/Makefile.am index 708264b6a7..a6e402d22a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,14 +1,18 @@ INCLUDES = $(all_includes) -LDFLAGS = $(all_libraries) $(KDE_RPATH) -export-dynamic SUBDIRS = pics clients bin_PROGRAMS = kwin +lib_LTLIBRARIES = kwin.la -kwin_SOURCES = atoms.cpp client.cpp main.cpp stdclient.cpp workspace.cpp tabbox.cpp options.cpp plugins.cpp +kwin_la_SOURCES = atoms.cpp client.cpp main.cpp stdclient.cpp workspace.cpp tabbox.cpp options.cpp plugins.cpp +kwin_la_LIBADD = $(LIB_KDEUI) +kwin_la_LDFLAGS = $(all_libraries) -module -avoid-version -kwin_LDADD = $(LIB_KDEUI) +kwin_SOURCES = dummy.cpp +kwin_LDADD = kwin.la +kwin_LDFLAGS = $(all_libraries) $(KDE_RPATH) -export-dynamic -rdynamic KDE_ICON = kwin @@ -17,3 +21,7 @@ METASOURCES = AUTO messages: $(XGETTEXT) -kaliasLocal *.h *.cpp -o $(podir)/kwin.pot + +dummy.cpp: + echo > dummy.cpp +