~ubuntu-branches/ubuntu/wily/sflphone/wily

« back to all changes in this revision

Viewing changes to sflphone-client-gnome/globals.mak

  • Committer: Package Import Robot
  • Author(s): Francois Marier
  • Date: 2011-11-25 13:24:12 UTC
  • mfrom: (4.1.10 sid)
  • Revision ID: package-import@ubuntu.com-20111125132412-dc4qvhyosk74cd42
Tags: 1.0.1-4
Don't assume that arch:all packages will get built (closes: #649726)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Global variables
2
 
src = $(top_srcdir)
3
 
 
4
 
ASTYLERC="$(top_srcdir)/../astylerc"
5
 
indent="/usr/bin/astyle"
6
 
 
7
 
# Preprocessor flags
8
 
AM_CPPFLAGS =           $(DEPS_CFLAGS)                                                                          \
9
 
                                        $(LIBSEXY_CFLAGS)                                                                       \
10
 
                                        -I$(src)/src                                                                            \
11
 
                                        -I$(src)/src/config                                                                     \
12
 
                                        -I$(src)/src/dbus                                                                       \
13
 
                                        -I$(src)/src/contacts                                                           \
14
 
                                        -I$(src)/src/addressbook                                                        \
15
 
                                        -DDATA_DIR=\""$(prefix)/share/sflphone"\"                       \
16
 
                                        -DICONS_DIR=\""$(prefix)/share/sflphone"\"                      \
17
 
                                        -DCODECS_DIR=\""$(prefix)/lib/sflphone/codecs"\"        \
18
 
                                        -DPREFIX=\"$(prefix)\"                                                          \
19
 
                                        -DENABLE_TRACE                                                                          \
20
 
                                        -DPREFIX=\""$(prefix)"\"                                                        \
21
 
                                        -DSYSCONFDIR=\""$(sysconfdir)"\"                                        \
22
 
                                        -DDATADIR=\""$(datadir)"\"                                                      \
23
 
                                        -DLIBDIR=\""$(libdir)"\"                                                        \
24
 
                                        -DLOCALEDIR=\""$(localedir)"\"                                                  \
25
 
                                        -DSFLPHONE_UIDIR=\""$(datadir)/sflphone/ui"\"
26
 
 
27
 
indent:
28
 
        @echo "Indenting code:"
29
 
        if [ -f $(ASTYLERC) ] ; then \
30
 
                find $(top_srcdir)/src/ -regex ".*\.\(h\|c\)" -exec $(indent) --options=$(ASTYLERC) {} \; ; \
31
 
        fi