Updated the README file with some contributor tips.
[basket4.git] / src / Makefile.am
blob39508fa77a6479651e2f7933cf462711f323f758
1 # set the include path for X, qt and KDE
2 INCLUDES = $(all_includes)
4 # let automoc handle all of the meta source files (moc)
5 METASOURCES = AUTO
7 messages: rc.cpp
8         $(XGETTEXT) *.cpp -o $(podir)/basket.pot
10 KDE_ICON = AUTO
12 # these are the headers for your project
14 noinst_HEADERS = basket.h basketproperties.h mainwindow.h basket_part.h \
15                                                         debugwindow.h   linklabel.h variouswidgets.h xmlwork.h keyboard.h global.h settings.h \
16                                                         focusedwidgets.h popupmenu.h basketfactory.h exporterdialog.h tag.h kcolorcombo2.h \
17                                                         newbasketdialog.h tagsedit.h note.h notecontent.h       notedrag.h noteedit.h notefactory.h \
18                                                         filter.h tools.h backgroundmanager.h regiongrabber.h softwareimporters.h \
19                                                         kicondialog.h kiconcanvas.h kgpgme.h crashhandler.h password.h bnpview.h \
20                                                         systemtray.h clickablelabel.h colorpicker.h basketlistview.h qeffects.h likeback.h \
21                                                         formatimporter.h aboutdata.h basketstatusbar.h basketdcopiface.h basket_options.h \
22                                         likeback_private.h application.h archive.h htmlexporter.h backup.h
24 #########################################################################
25 # COMMON FILES SECTION
26 #########################################################################
28 lib_LTLIBRARIES = libbasketcommon.la
30 AM_CPPFLAGS = $(GPGME_CFLAGS)
32 libbasketcommon_la_LDFLAGS = -avoid-version -no-undefined $(all_libraries)
34 libbasketcommon_la_LIBADD = $(LIB_ARTSKDE) -lkio $(LIB_KDEUI) $(LIB_KDECORE) \
35         $(LIB_QT) $(LIBSOCKET) $(GPGME_LIBS) $(LIB_KPARTS) -lDCOP -lkdefx -lkdeui
37 libbasketcommon_la_SOURCES = \
38         archive.cpp bnpview.cpp settings.cpp basket.cpp basketproperties.cpp \
39         linklabel.cpp variouswidgets.cpp xmlwork.cpp keyboard.cpp \
40         global.cpp exporterdialog.cpp htmlexporter.cpp notefactory.cpp softwareimporters.cpp \
41         focusedwidgets.cpp popupmenu.cpp basketfactory.cpp \
42         tag.cpp qeffects.cpp kcolorcombo2.cpp newbasketdialog.cpp tagsedit.cpp \
43         formatimporter.cpp note.cpp notecontent.cpp notedrag.cpp noteedit.cpp \
44         filter.cpp tools.cpp backgroundmanager.cpp regiongrabber.cpp \
45         kicondialogui.ui kicondialog.cpp kiconcanvas.cpp kgpgme.cpp likeback.cpp \
46         crashhandler.cpp passwordlayout.ui password.cpp colorpicker.cpp \
47         basketlistview.cpp debugwindow.cpp systemtray.cpp aboutdata.cpp \
48         basketstatusbar.cpp clickablelabel.cpp basketdcopiface.skel backup.cpp
50 #########################################################################
51 # APPLICATION SECTION
52 #########################################################################
53 # this is the program that gets installed.  it's name is used for all
54 # of the other Makefile.am variables
55 bin_PROGRAMS = basket
57 # the application source, library search path, and link libraries
58 basket_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_KUTILS)
59 basket_LDADD = libbasketcommon.la
61 # this is where the desktop file will go
62 shelldesktopdir = $(kde_appsdir)/Utilities
63 shelldesktop_DATA = basket.desktop
65 # this is where the shell's XML-GUI resource file goes
66 rcdir = $(kde_datadir)/basket
67 rc_DATA = basketui.rc
69 basket_SOURCES = main.cpp mainwindow.cpp application.cpp
71 kde_icon_KDEICON = cr128-app-basket.png cr16-app-basket.png cr22-app-basket.png \
72         cr32-app-basket.png cr48-app-basket.png cr64-app-basket.png hi16-app-basket_old.png \
73         hi32-app-basket_old.png crsc-app-basket.svg \
74         cr16-action-likeback_like.png cr16-action-likeback_dislike.png \
75         cr16-action-likeback_bug.png cr16-action-likeback_feature.png
77 ##################
78 # KPART SECTION
79 ##################
81 kde_module_LTLIBRARIES = kcm_basket.la libbasketpart.la
83 libbasketpart_la_SOURCES = basket_part.cpp
84 libbasketpart_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) -module -avoid-version -no-undefined
85 libbasketpart_la_LIBADD  = libbasketcommon.la -lkparts -lkdeui $(LIB_KDECORE) $(LIB_QT) -lDCOP
87 kcm_basket_la_SOURCES = kcm_basket.cpp
88 kcm_basket_la_LDFLAGS = $(all_libraries) -module -avoid-version -no-undefined
89 kcm_basket_la_LIBADD = libbasketcommon.la $(LIB_KDECORE) $(LIB_QT) -lkdeui
91 # this is where the desktop file will go
92 partdesktopdir   = $(kde_servicesdir)
93 partdesktop_DATA = basket_part.desktop
95 # this is where the part's XML-GUI resource file goes
96 partdir   = $(kde_datadir)/basket
97 part_DATA = basket_part.rc
99 kde_services_DATA = \
100         basket_config_general.desktop \
101         basket_config_baskets.desktop \
102         basket_config_new_notes.desktop \
103         basket_config_notes_appearance.desktop \
104         basket_config_apps.desktop \
105         basket_config_features.desktop \
106         basket_config_notes.desktop