summaryrefslogtreecommitdiffstats
path: root/tdeio/misc/kpac/Makefile.am
blob: beb6a4b86f965af0e51a3655c5677fb28628b779 (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

kde_module_LTLIBRARIES = kded_proxyscout.la
bin_PROGRAMS = kpac_dhcp_helper

INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/libltdl -I$(top_srcdir)/kded -I$(top_builddir)/kjs \
           -I$(top_srcdir)/tdecore/network $(all_includes)
METASOURCES = AUTO
KDE_CXXFLAGS = $(USE_EXCEPTIONS)

kded_proxyscout_la_SOURCES = proxyscout.skel proxyscout.cpp script.cpp \
                             downloader.cpp discovery.cpp
kded_proxyscout_la_LDFLAGS = $(all_libraries) -module -avoid-version
kded_proxyscout_la_LIBADD = $(LIB_KIO) $(top_builddir)/kjs/libkjs.la $(LIB_KDED) $(LIB_QT) \
	$(top_builddir)/dcop/libDCOP.la $(LIB_TDECORE) $(LIBRESOLV)

kpac_dhcp_helper_SOURCES = kpac_dhcp_helper.c
kpac_dhcp_helper_CFLAGS = $(KDE_USE_FPIE)
kpac_dhcp_helper_LDFLAGS = $(KDE_USE_PIE)
kpac_dhcp_helper_LDADD = $(LIBSOCKET)

noinst_HEADERS = proxyscout.h script.h downloader.h discovery.h

servicesdir = $(kde_servicesdir)/kded
services_DATA = proxyscout.desktop

proxyscoutdatadir = $(kde_datadir)/proxyscout
proxyscoutdata_DATA = eventsrc

install-exec-local:
	@(chown root $(DESTDIR)$(bindir)/kpac_dhcp_helper && chmod 4755 $(DESTDIR)$(bindir)/kpac_dhcp_helper) || echo "Please make kpac_dhcp_helper setuid root"