summaryrefslogtreecommitdiffstats
path: root/kdm/kfrontend/Makefile.am
blob: 6b7ba14bb1c0abec493e226fef409ffeb6d9fbfb (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# use 'make GENKDMCONF_FLAGS=... install' to override
GENKDMCONF_FLAGS = --no-old

SUBDIRS = themer themes pics sessions

AM_CPPFLAGS = -I$(srcdir)/../backend -I.. -I$(top_srcdir)/kcontrol/background \
    -I$(top_srcdir)/kdmlib $(all_includes)

bin_PROGRAMS = kdm_config kdm_greet krootimage genkdmconf kdmctl

kdm_config_SOURCES = kdm_config.c
kdm_config_LDADD = $(LIBRESOLV) $(LIBSOCKET) $(LIBPOSIX4)

kdm_greet_SOURCES = \
    kdm_greet.c \
    kdmconfig.cpp \
    kdmclock.cpp \
    kconsole.cpp \
    kfdialog.cpp \
    kgdialog.cpp \
    kchooser.cpp \
    kgverify.cpp \
    kdmshutdown.cpp \
    kdmadmindialog.cpp \
    kgreeter.cpp \
    kgapp.cpp
kdm_greet_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
kdm_greet_LDADD = themer/libkdmthemer.a $(LIB_KDEUI) $(XTESTLIB) $(LIBPOSIX4)

krootimage_SOURCES = krootimage.cpp
krootimage_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
krootimage_LDADD = $(top_builddir)/kcontrol/background/libbgnd.la $(LIB_KIO)

METASOURCES = AUTO

genkdmconf_SOURCES = genkdmconf.c
genkdmconf_LDFLAGS = $(X_LDFLAGS) $(X_RPATH)
genkdmconf_LDADD = $(LIB_X11)

kdmctl_SOURCES = kdmctl.c
kdmctl_LDADD = $(LIBSOCKET)

install-data-local: genkdmconf
	./genkdmconf --in $(DESTDIR)$(kde_confdir)/kdm --no-in-notice --face-src $(srcdir)/pics $(GENKDMCONF_FLAGS)

messages:
	$(XGETTEXT) `find . -name "*.cpp"` -o $(podir)/kdmgreet.pot

noinst_HEADERS = \
    kdm_greet.h \
    kdmconfig.h \
    kdmclock.h \
    kconsole.h \
    kfdialog.h \
    kgdialog.h \
    kchooser.h \
    kgverify.h \
    kdmshutdown.h \
    kgreeter.h \
    kgapp.h \
    \
    krootimage.h 

kdm_greet_COMPILE_FIRST = ../config.ci
kdm_config_COMPILE_FIRST = ../config.ci
genkdmconf_COMPILE_FIRST = ../config.ci