Mercurial > ~mikael > mcabber > hg
annotate mcabber/modules/fifo/Makefile.am @ 2041:e8f2db654e67
Fix building from separate directory
This patch allows the following build sequence:
$ mkdir build; cd build; ../configure args; make; make install
author | Myhailo Danylenko <isbear@ukrpost.net> |
---|---|
date | Thu, 22 Nov 2012 00:59:19 +0200 |
parents | 2256d0626730 |
children | 8da280d34b48 |
rev | line source |
---|---|
1941
2256d0626730
Modularize fifo system (Myhailo Danylenko)
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
1 |
2256d0626730
Modularize fifo system (Myhailo Danylenko)
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
2 if INSTALL_HEADERS |
2256d0626730
Modularize fifo system (Myhailo Danylenko)
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
3 pkglib_LTLIBRARIES = libfifo.la |
2256d0626730
Modularize fifo system (Myhailo Danylenko)
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
4 libfifo_la_SOURCES = fifo_module.c $(top_srcdir)/mcabber/fifo.c $(top_srcdir)/mcabber/fifo.h |
2256d0626730
Modularize fifo system (Myhailo Danylenko)
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
5 libfifo_la_LDFLAGS = -module -avoid-version -shared |
2256d0626730
Modularize fifo system (Myhailo Danylenko)
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
6 |
2256d0626730
Modularize fifo system (Myhailo Danylenko)
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
7 LDADD = $(GLIB_LIBS) |
2041
e8f2db654e67
Fix building from separate directory
Myhailo Danylenko <isbear@ukrpost.net>
parents:
1941
diff
changeset
|
8 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_builddir) \ |
e8f2db654e67
Fix building from separate directory
Myhailo Danylenko <isbear@ukrpost.net>
parents:
1941
diff
changeset
|
9 $(GLIB_CFLAGS) $(LOUDMOUTH_CFLAGS) \ |
1941
2256d0626730
Modularize fifo system (Myhailo Danylenko)
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
10 $(GPGME_CFLAGS) $(LIBOTR_CFLAGS) \ |
2256d0626730
Modularize fifo system (Myhailo Danylenko)
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
11 $(ENCHANT_CFLAGS) |
2256d0626730
Modularize fifo system (Myhailo Danylenko)
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
12 endif |
2256d0626730
Modularize fifo system (Myhailo Danylenko)
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
13 |