1 # set the include path for X, qt and KDE
2 INCLUDES= $(all_includes)
4 # these are the headers for your project
5 noinst_HEADERS = kmplot.h kmplotprogress.h MainDlg.h
10 $(EXTRACTRC) *.ui >> rc.cpp
11 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`; \
12 if test -n "$$LIST"; then \
13 $(XGETTEXT) $$LIST -o $(podir)/kmplot.pot; \
16 # $(XGETTEXT) *.cpp -o $(podir)/kmplot.pot
19 #########################################################################
21 #########################################################################
22 # this is the program that gets installed. it's name is used for all
23 # of the other Makefile.am variables
26 # the application source, library search path, and link libraries
27 kmplot_SOURCES = main.cpp kmplot.cpp kmplotprogress.cpp kmplotIface.skel
28 kmplot_LDFLAGS = $(KDE_RPATH) $(all_libraries)
29 kmplot_LDADD = $(LIB_KPARTS)
31 # this is where the desktop file will go
32 appmimedir = $(kde_mimedir)/application
33 appmime_DATA = x-kmplot.desktop
35 # this is where the shell's XML-GUI resource file goes
36 shellrcdir = $(kde_datadir)/kmplot
37 shellrc_DATA = kmplot_shell.rc
40 #########################################################################
42 #########################################################################
43 kde_module_LTLIBRARIES = libkmplotpart.la
45 # the Part's source, library search path, and link libraries
46 libkmplotpart_la_SOURCES = FktDlgData.ui parser.cpp xparser.cpp diagr.cpp View.cpp MainDlg.cpp FktDlg.cpp kprinterdlg.cpp settings.kcfgc settingspagecolor.ui kconstanteditor.cpp qparametereditor.ui kparametereditor.cpp settingspagecoords.ui settingspagefonts.ui settingspagescaling.ui settingspageprecision.ui qeditparametric.ui keditparametric.cpp qeditpolar.ui keditpolar.cpp editfunctionpage.ui editderivativespage.ui editintegralpage.ui editfunction.cpp qeditconstant.ui qminmax.ui kminmax.cpp qconstanteditor.ui keditconstant.cpp kmplotio.cpp sliderwindow.ui ksliderwindow.cpp MainDlgIface.skel parseriface.skel Viewiface.skel coordsconfigdialog.cpp
47 libkmplotpart_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries)
48 libkmplotpart_la_LIBADD = $(LIB_KFILE) $(LIB_KDEUI) $(LIB_KDECORE) $(LIB_QT) $(LIBSOCKET) $(LIB_KDEPRINT)
50 # this is where the desktop file will go
51 partdesktopdir = $(kde_servicesdir)
52 partdesktop_DATA = kmplot_part.desktop
54 # this is where the part's XML-GUI resource file goes
55 partrcdir = $(kde_datadir)/kmplot
56 partrc_DATA = kmplot_part.rc kmplot_part_readonly.rc
58 EXTRA_DIST = kmplot.desktop FktDlg.h MainDlg.cpp MainDlg.h View.h diagr.cpp diagr.h xparser.h parser.h kprinterdlg.h keditparametric.h keditpolar.h ksliderwindow.h keditconstant.h kconstanteditor.h kparametereditor.h kmplotio.h kminmax.h coordsconfigdialog.h
60 xdg_apps_DATA = kmplot.desktop
61 kde_kcfg_DATA = kmplot.kcfg