summaryrefslogtreecommitdiffstats
path: root/ksysguard/ksysguardd/Makefile.am
blob: 0e6da33ad2dbc0ce2c55c5b99d19e0c423fa6d49 (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
AUTOMAKE_OPTIONS = foreign

if include_ksysguardd_linux
linux_SUBDIR = Linux
endif
if include_ksysguardd_freebsd
freebsd_SUBDIR = FreeBSD
endif
if include_ksysguardd_netbsd
netbsd_SUBDIR = NetBSD
endif
if include_ksysguardd_solaris
solaris_SUBDIR = Solaris
endif
if include_ksysguardd_tru64
tru64_SUBDIR = Tru64
endif
if include_ksysguardd_irix
irix_SUBDIR = Irix
endif
if include_ksysguardd_openbsd
openbsd_SUBDIR = OpenBSD
endif

SUBDIRS = $(linux_SUBDIR) $(freebsd_SUBDIR) $(netbsd_SUBDIR)\
	$(solaris_SUBDIR) $(tru64_SUBDIR) $(irix_SUBDIR) $(openbsd_SUBDIR)

KSYSGUARDDRCFILE=$(sysconfdir)/ksysguarddrc
INCLUDES = -DKSYSGUARDDRCFILE="\"$(KSYSGUARDDRCFILE)\"" -DOSTYPE_$(UNAME) -I$(srcdir)/../CContLib -I$(srcdir)/$(UNAME) $(all_includes)

bin_PROGRAMS = ksysguardd

ksysguardd_SOURCES = Command.c conf.c ksysguardd.c PWUIDCache.c
ksysguardd_LDFLAGS = $(all_libraries)
ksysguardd_LDADD =  $(top_builddir)/ksysguard/ksysguardd/$(UNAME)/libksysguardd.a ../CContLib/libccont.a -ltdefakes_nonpic $(LIBHOSTS) $(LIB_DNSSD) $(LIB_KINFO)