~ken-vandine/zeitgeist-datasources/distcheck_fixes

« back to all changes in this revision

Viewing changes to firefox-libzg/extension/components/Makefile.am

  • Committer: Michal Hruby
  • Date: 2010-06-08 00:24:42 UTC
  • Revision ID: michal.mhr@gmail.com-20100608002442-c8o52xhpj6u09j66
Make also firefox use automake

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
zeitgeistmoduledir = $(libdir)/xul-ext-zeitgeist
 
2
zeitgeistmodule_LTLIBRARIES = libzeitgeist_xpcom.la
 
3
 
 
4
libzeitgeist_xpcom_la_SOURCES = \
 
5
        ZeitgeistComponent.cpp \
 
6
        ZeitgeistModule.cpp \
 
7
        $(NULL)
 
8
 
 
9
libzeitgeist_xpcom_la_CXXFLAGS = \
 
10
        -include "xpcom-config.h" \
 
11
        $(ZEITGEIST_CFLAGS) \
 
12
        $(LIBXUL_CFLAGS) \
 
13
        $(NULL)
 
14
 
 
15
libzeitgeist_xpcom_la_LIBADD = \
 
16
        $(ZEITGEIST_LIBS) \
 
17
        $(LIBXUL_LIBS) \
 
18
        $(NULL)
 
19
 
 
20
libzeitgeist_xpcom_la_LDFLAGS = \
 
21
        -module -avoid-version \
 
22
        $(NULL)
 
23
 
 
24
BUILT_SOURCES = \
 
25
        zeitgeist-library.h \
 
26
        zeitgeist.h \
 
27
        zeitgeist.xpt \
 
28
        $(NULL)
 
29
 
 
30
zeitgeist.h: zeitgeist.idl
 
31
        $(AM_V_GEN)$(XPIDL_BIN) -m header -I $(XUL_IDLDIR) -o zeitgeist $<
 
32
 
 
33
zeitgeist.xpt: zeitgeist.idl
 
34
        $(AM_V_GEN)$(XPIDL_BIN) -m typelib -I $(XUL_IDLDIR) -o zeitgeist $<
 
35
 
 
36
zeitgeist-library.h:
 
37
        $(AM_V_GEN)$(LN_S) "`$(PKG_CONFIG) --variable includedir zeitgeist-1.0`/zeitgeist-1.0/zeitgeist.h" $@
 
38
 
 
39
# small helper with local install
 
40
local-install: all
 
41
        cp .libs/libzeitgeist_xpcom.so ./
 
42
 
 
43
local-uninstall: ;