diff options
Diffstat (limited to 'kig/kig/Makefile.am')
-rw-r--r-- | kig/kig/Makefile.am | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/kig/kig/Makefile.am b/kig/kig/Makefile.am new file mode 100644 index 00000000..719886cc --- /dev/null +++ b/kig/kig/Makefile.am @@ -0,0 +1,53 @@ +# this has all of the subdirectories that make will recurse into. if +# there are none, comment this out +#SUBDIRS = pics icons + +# set the include path for X, qt and KDE +INCLUDES = $(all_includes) + +# these are the headers for your project +noinst_HEADERS = kig.h kig_document.h kig_part.h kig_view.h kig_commands.h + +# let automoc handle all of the meta source files (moc) +METASOURCES = AUTO + +KDE_ICON = AUTO + +# this Makefile creates both a KPart application and a KPart +######################################################################### +# APPLICATION SECTION +######################################################################### +# this is the program that gets installed. it's name is used for all +# of the other Makefile.am variables +bin_PROGRAMS = kig + +# the application source, library search path, and link libraries +kig_SOURCES = main.cpp kig.cpp +kig_LDFLAGS = $(KDE_RPATH) $(all_libraries) +kig_LDADD = $(LIB_KPARTS) + +# this is where the desktop file will go +xdg_apps_DATA = kig.desktop + +# this is where the shell's XML-GUI resource file goes +rcdir = $(kde_datadir)/kig +rc_DATA = kigui.rc kigpartui.rc + +######################################################################### +# KPART SECTION +######################################################################### +noinst_LTLIBRARIES = libkigparttemp.la + +# the Part's source, library search path, and link libraries +libkigparttemp_la_SOURCES = \ + kig_document.cc \ + kig_part.cpp \ + kig_view.cpp \ + kig_commands.cpp + +libkigparttemp_la_LDFLAGS = $(all_libraries) +libkigparttemp_la_LIBADD = $(LIB_KDEPRINT) $(LIB_KIO) + +# this is where the desktop file will go +partdesktopdir = $(kde_servicesdir) +partdesktop_DATA = kig_part.desktop |