summaryrefslogtreecommitdiffstats
path: root/tdm/kfrontend/Makefile.am
blob: dfbfb8a050145b37a84aff0fd8b78359220ca3d6 (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 GENTDMCONF_FLAGS=... install' to override
GENTDMCONF_FLAGS = --no-old

SUBDIRS = themer themes pics sessions

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

bin_PROGRAMS = tdm_config tdm_greet krootimage gentdmconf tdmctl

tdm_config_SOURCES = tdm_config.c
tdm_config_LDADD = $(LIBRESOLV) $(LIBSOCKET) $(LIBPOSIX4)

tdm_greet_SOURCES = \
    tdm_greet.c \
    tdmconfig.cpp \
    tdmclock.cpp \
    kconsole.cpp \
    kfdialog.cpp \
    kgdialog.cpp \
    kchooser.cpp \
    kgverify.cpp \
    tdmshutdown.cpp \
    tdmadmindialog.cpp \
    kgreeter.cpp \
    kgapp.cpp
tdm_greet_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor
tdm_greet_LDADD = themer/libtdmthemer.a $(LIB_TDEUI) $(XTESTLIB) $(LIBPOSIX4)

krootimage_SOURCES = krootimage.cpp
krootimage_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor
krootimage_LDADD = $(top_builddir)/kcontrol/background/libbgnd.la $(LIB_TDEIO)

METASOURCES = AUTO

gentdmconf_SOURCES = gentdmconf.c
gentdmconf_LDFLAGS = $(X_LDFLAGS) $(X_RPATH)
gentdmconf_LDADD = $(LIB_X11)

tdmctl_SOURCES = tdmctl.c
tdmctl_LDADD = $(LIBSOCKET)

install-data-local: gentdmconf
	./gentdmconf --in $(DESTDIR)$(kde_confdir)/tdm --no-in-notice --face-src $(srcdir)/pics $(GENTDMCONF_FLAGS)

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

noinst_HEADERS = \
    tdm_greet.h \
    tdmconfig.h \
    tdmclock.h \
    kconsole.h \
    kfdialog.h \
    kgdialog.h \
    kchooser.h \
    kgverify.h \
    tdmshutdown.h \
    kgreeter.h \
    kgapp.h \
    \
    krootimage.h 

tdm_greet_COMPILE_FIRST = ../config.ci
tdm_config_COMPILE_FIRST = ../config.ci
gentdmconf_COMPILE_FIRST = ../config.ci