summaryrefslogtreecommitdiffstats
path: root/kscd/kscdmagic/Makefile.am
blob: e28ba7c41a8cf87ad62d49b2fc4fd17d946de7f4 (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

# 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 (.kdelnk) 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.

# just set the variable
APPSDIR = $(kde_appsdir)/Multimedia

# set the include path for X, qt and KDE
INCLUDES= $(all_includes)

####### This part is very kscdmagic specific
# you can add here more. This one gets installed 
bin_PROGRAMS = 	kscdmagic

# Which sources should be compiled for kscdmagic
kscdmagic_SOURCES = core.cpp main.cpp sound.cpp xlibwrap.cpp xlib.c

# the library search path. 
kscdmagic_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -ltdefx $(LIB_KIO) -lktexteditor

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

# this option you can leave out. Just, if you use "make dist", you need it
noinst_HEADERS =  symbol.h    syna.h      xlib.h magicconf.h

messages:
#	$(XGETTEXT) -kTRANS $(kscdmagic_SOURCES)