~jbicha/hud/build-depend-on-valac-not-gir

« back to all changes in this revision

Viewing changes to libhud-gtk/Makefile.am

  • Committer: Ted Gould
  • Date: 2012-12-19 16:51:38 UTC
  • mto: (227.3.24 trunk-small)
  • mto: This revision was merged to the branch mainline in revision 245.
  • Revision ID: ted@gould.cx-20121219165138-j2v1urypyb16ykd6
Adding in a mock libhud-gtk so we can move some stuff there.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
SUBDIRS = .
 
3
 
 
4
lib_LTLIBRARIES = libhud-gtk.la
 
5
 
 
6
ABI_VERSION = 1
 
7
API_VERSION = 1
 
8
 
 
9
libhud_gtk_include_basedir = $(includedir)/libhud-gtk-$(API_VERSION)/
 
10
libhud_gtk_include_base_HEADERS = \
 
11
        hud-gtk.h
 
12
 
 
13
libhud_gtkincludedir = $(includedir)/libhud-gtk-$(API_VERSION)/libhud-gtk
 
14
libhud_gtkinclude_HEADERS = \
 
15
        manager.h
 
16
 
 
17
libhud_gtk_la_SOURCES = \
 
18
        manager.c
 
19
 
 
20
libhud_gtk_la_CFLAGS = \
 
21
        $(HUD_CFLAGS) \
 
22
        $(COVERAGE_CFLAGS) \
 
23
        -I . \
 
24
        -I $(top_srcdir) \
 
25
        -I $(top_srcdir)/libhud \
 
26
        -D G_LOG_DOMAIN=\"libhud-gtk\" \
 
27
        -D HUD_GTK_COMPILATION \
 
28
        -Wall -Werror
 
29
 
 
30
libhud_gtk_la_LIBADD = \
 
31
        $(HUD_LIBS)
 
32
 
 
33
libhud_gtk_la_LDFLAGS = \
 
34
        $(HUD_LDFLAGS) \
 
35
        $(COVERAGE_LDFLAGS) \
 
36
        -version-info $(ABI_VERSION):0:0 \
 
37
        -no-undefined \
 
38
        -export-symbols-regex "^[^_].*"
 
39
 
 
40
EXTRA_DIST = \
 
41
        hud-gtk.pc.in
 
42
 
 
43
pkgconfig_DATA = hud-gtk-$(API_VERSION).pc
 
44
pkgconfigdir = $(libdir)/pkgconfig
 
45
 
 
46
%-$(API_VERSION).pc: %.pc.in
 
47
        sed \
 
48
                -e "s:\@apiversion\@:$(API_VERSION):" \
 
49
                -e "s:\@libdir\@:$(libdir):" \
 
50
                -e "s:\@includedir\@:$(includedir):" \
 
51
                -e "s:\@VERSION\@:$(VERSION):" \
 
52
                $< > $@
 
53
 
 
54
CLEANFILES = \
 
55
        $(BUILD_SOURCES) \
 
56
        hud-gtk-$(API_VERSION).pc
 
57