~cyphermox/ubuntu/precise/dnsmasq/dbus

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Simon Kelley
  • Date: 2011-02-18 09:54:13 UTC
  • mfrom: (0.3.10 upstream) (12.1.8 sid)
  • Revision ID: james.westby@ubuntu.com-20110218095413-ih2zl300bks56d78
Tags: 2.57-1
 * New upstream.
 * Fix typos in example config file. (closes: #606615)
 * Bump standards-version to 3.9.1
 * Add noidn DEB_BUILD_OPTIONS flag.
 * Don't complain about extra command line arguments if
   they are empty, as this breaks libvirt. (closes: #613915)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# dnsmasq is Copyright (c) 2000-2010 Simon Kelley
 
1
# dnsmasq is Copyright (c) 2000-2011 Simon Kelley
2
2
#
3
3
#  This program is free software; you can redistribute it and/or modify
4
4
#  it under the terms of the GNU General Public License as published by
34
34
 
35
35
DNSMASQ_CFLAGS=`echo $(COPTS) | ../bld/pkg-wrapper HAVE_DBUS $(PKG_CONFIG) --cflags dbus-1` 
36
36
DNSMASQ_LIBS=  `echo $(COPTS) | ../bld/pkg-wrapper HAVE_DBUS $(PKG_CONFIG) --libs dbus-1` 
 
37
IDN_CFLAGS=`echo $(COPTS) | ../bld/pkg-wrapper HAVE_IDN $(PKG_CONFIG) --cflags libidn` 
 
38
IDN_LIBS=  `echo $(COPTS) | ../bld/pkg-wrapper HAVE_IDN $(PKG_CONFIG) --libs libidn` 
37
39
SUNOS_LIBS= `if uname | grep SunOS 2>&1 >/dev/null; then echo -lsocket -lnsl -lposix4; fi`
38
40
 
39
41
OBJS = cache.o rfc1035.o util.o option.o forward.o network.o \
42
44
 
43
45
all :
44
46
        @cd $(SRC) && $(MAKE) \
45
 
 BUILD_CFLAGS="$(DNSMASQ_CFLAGS)" \
46
 
 BUILD_LIBS="$(DNSMASQ_LIBS) $(SUNOS_LIBS)" \
 
47
 BUILD_CFLAGS="$(DNSMASQ_CFLAGS) $(IDN_CFLAGS)" \
 
48
 BUILD_LIBS="$(DNSMASQ_LIBS) $(IDN_LIBS) $(SUNOS_LIBS)" \
47
49
 -f ../Makefile dnsmasq 
48
50
 
49
51
clean :