summaryrefslogtreecommitdiffstats
path: root/kdesu/Makefile.am
blob: 6910689667f2dab55c0f9b7db6ae95d8ea667870 (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
## Makefile.am for libkdesu

INCLUDES = -I$(top_srcdir)/kio/ $(all_includes)

lib_LTLIBRARIES = libkdesu.la
libkdesu_la_SOURCES = client.cpp process.cpp kcookie.cpp su.cpp ssh.cpp stub.cpp kdesu_pty.cpp
libkdesu_la_LDFLAGS = -version-info 6:0:2 -no-undefined $(all_libraries) 
libkdesu_la_LIBADD = $(LIB_KDECORE) $(LIB_QT) $(top_builddir)/dcop/libDCOP.la
libkdesu_la_NMCHECK = $(srcdir)/libkdesu.nmcheck
libkdesu_la_NMCHECKWEAK = $(srcdir)/libkdesu_weak.nmcheck $(top_srcdir)/kdecore/libkdecore_weak.nmcheck \
	$(top_srcdir)/dcop/libDCOP_weak.nmcheck $(top_srcdir)/kdecore/libqt-mt_weak.nmcheck

kdesudir = $(includedir)/kdesu
kdesu_HEADERS = defaults.h client.h process.h kdesu_pty.h kcookie.h su.h ssh.h stub.h

install-data-hook:
	$(mkinstalldirs) $(DESTDIR)$(kdesudir)
	-rm -f $(DESTDIR)$(kdesudir)/pty.h
	ln -s kdesu_pty.h $(DESTDIR)$(kdesudir)/pty.h

uninstall-local:
	-rm -f $(DESTDIR)$(kdesudir)/pty.h

bin_PROGRAMS = kdesu_stub
kdesu_stub_SOURCES = kdesu_stub.c
kdesu_stub_LDFLAGS = $(all_libraries)
kdesu_stub_LDADD =

include $(top_srcdir)/admin/Doxyfile.am