5 ########### next target ###############
13 kde4_automoc(${kmag_SRCS})
15 kde4_add_executable(kmag ${kmag_SRCS})
17 target_link_libraries(kmag ${KDE4_KDECORE_LIBS} kdeprint )
19 install_targets(/bin kmag )
22 ########### install files ###############
24 install_files( ${DATA_INSTALL_DIR}/kmag/icons FILES )
25 install_files( ${XDG_APPS_DIR} FILES kmag.desktop )
26 install_files( ${DATA_INSTALL_DIR}/kmag FILES kmagui.rc )
28 kde4_install_icons( ${ICON_INSTALL_DIR} hicolor )
33 #original Makefile.am contents follow:
37 ### INCLUDES were found outside kdevelop specific part
39 #kmag_SOURCES = kmagzoomview.cpp kmagselrect.cpp kmag.cpp main.cpp
40 #kmag_LDADD = $(LIB_KDEPRINT)
43 #EXTRA_DIST = main.cpp version.h kmag.cpp kmag.h kmagui.rc kmag.desktop lo32-app-kmag.png lo16-app-kmag.png kmagselrect.cpp kmagselrect.h hi16-app-kmag.png kmagzoomview.cpp kmagzoomview.h
46 # -rm -f $(DESTDIR)$(kde_appsdir)/Applications/kmag.desktop
50 #kmagdir = $(kde_appsdir)/Applications
51 #kmag_DATA = kmag.desktop
53 #kmagiconsdir = $(kde_datadir)/kmag/icons
54 #kmagicons_ICON = followmouse hidemouse window
56 ## set the include path for X, qt and KDE
57 #INCLUDES= $(all_includes)
61 #KDE_OPTIONS = nofinal
63 ## the library search path.
64 #kmag_LDFLAGS = $(all_libraries) $(KDE_RPATH)
66 #rcdir = $(kde_datadir)/kmag
70 # LIST=`find . -name \*.h -o -name \*.hh -o -name \*.H -o -name \*.hxx -o -name \*.hpp -o -name \*.cpp -o -name \*.cc -o -name \*.cxx -o -name \*.ecpp -o -name \*.C`; \
71 # if test -n "$$LIST"; then \
72 # $(XGETTEXT) $$LIST -o $(podir)/kmag.pot; \