summaryrefslogtreecommitdiffstats
path: root/kppp/logview/Makefile.am
blob: 3dc5c3792b86b214dbc7ba81652af78179548d92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45

# this 10 paths are KDE specific. Use them:
# kde_htmldir       Where your docs should go to. (contains lang subdirs)
# kde_appsdir       Where your application file (.desktop) should go to. 
# kde_icondir       Where your icon should go to.
# kde_minidir       Where your mini icon should go to.
# kde_datadir       Where you install application data. (Use a subdir)
# kde_locale        Where translation files should go to.(contains lang subdirs)
# kde_cgidir        Where cgi-bin executables should go to.
# kde_confdir       Where config files should go to.
# kde_mimedir       Where mimetypes should go to.
# kde_toolbardir    Where general toolbar icons should go to.
# kde_wallpaperdir  Where general wallpapers should go to.

# if you use a variable *dir and have *_DATA, it will be installed by
# make install
xdg_apps_DATA = kppplogview.desktop

EXTRA_DIST = $(xdg_apps_DATA)

# set the include path for X, qt and KDE
INCLUDES= $(all_includes)
# claim, which subdirectories you want to install

# This one gets installed 
bin_PROGRAMS = 	kppplogview

# Which sources should be compiled for kppp.
kppplogview_SOURCES =	main.cpp loginfo.cpp log.cpp monthly.cpp export.cpp

# the library search path
kppplogview_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) $(LIB_KDECORE)

# the libraries to link against. Be aware of the order. First the libraries,
# that depend on the following ones.
kppplogview_LDADD = -lm $(LIB_KDEUI) $(LIB_KFILE)

# this option you can leave out. Just, if you use "make dist", you need it
noinst_HEADERS = export.h loginfo.h log.h monthly.h main.h

METASOURCES = main.moc monthly.moc export.moc

messages:
	$(XGETTEXT) *.cpp *.h -o $(podir)/kppplogview.pot