~ubuntu-branches/ubuntu/jaunty/avahi/jaunty-updates

« back to all changes in this revision

Viewing changes to avahi-utils/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2006-09-03 20:25:37 UTC
  • mfrom: (1.1.15 upstream)
  • Revision ID: james.westby@ubuntu.com-20060903202537-syi99j0tijm9bldv
Tags: 0.6.13-2ubuntu1
* Merge with Debian, UVF Exception granted by Colin Watson
* debian/patches/03_foreground-console.patch:
  + Allow only foreground users access to the avahi-set-host-name utility as
    we don't use the "netdev" group anywhere. Thanks to Colin Watson for the
    hint.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# $Id: Makefile.am 989 2005-11-16 22:36:16Z lennart $
 
1
# $Id: Makefile.am 1263 2006-08-22 02:27:14Z lennart $
2
2
 
3
3
# This file is part of avahi.
4
4
#
24
24
 
25
25
if HAVE_DBUS
26
26
 
27
 
bin_PROGRAMS = avahi-browse avahi-resolve avahi-publish
 
27
bin_PROGRAMS = avahi-browse avahi-resolve avahi-publish avahi-set-host-name
28
28
 
29
29
avahi_browse_SOURCES = avahi-browse.c sigint.c sigint.h
30
30
avahi_browse_CFLAGS = $(AM_CFLAGS)
36
36
avahi_browse_LDADD += -lgdbm
37
37
endif
38
38
 
 
39
if HAVE_DBM
 
40
avahi_browse_SOURCES += stdb.h stdb.c
 
41
avahi_browse_CFLAGS += -DDATABASE_FILE=\"$(pkgdatadir)/service-types.db\"
 
42
endif
 
43
 
39
44
avahi_resolve_SOURCES = avahi-resolve.c sigint.c sigint.h
40
45
avahi_resolve_CFLAGS = $(AM_CFLAGS)
41
46
avahi_resolve_LDADD = $(AM_LDADD) ../avahi-client/libavahi-client.la ../avahi-common/libavahi-common.la
44
49
avahi_publish_CFLAGS = $(AM_CFLAGS)
45
50
avahi_publish_LDADD = $(AM_LDADD) ../avahi-client/libavahi-client.la ../avahi-common/libavahi-common.la
46
51
 
 
52
avahi_set_host_name_SOURCES = avahi-set-host-name.c sigint.c sigint.h
 
53
avahi_set_host_name_CFLAGS = $(AM_CFLAGS)
 
54
avahi_set_host_name_LDADD = $(AM_LDADD) ../avahi-client/libavahi-client.la ../avahi-common/libavahi-common.la
 
55
 
47
56
install-exec-local:
48
57
        cd $(DESTDIR)/$(bindir) && \
49
58
                rm -f avahi-resolve-host-name avahi-resolve-address avahi-browse-domains avahi-publish-address avahi-publish-service && \