Mercurial > pidgin
annotate finch/Makefile.am @ 24389:2b62300d2c19
Use libtool to build static archives when --with-static-prpls is passed
to configure. Does anyone know why we weren't using libtool before? We
were building old-fashioned .a files. But libtool archives (.la) can
contain either static or shared libraries.
I found it a lot easier to get static prpl compilation working after
making this change (that is to say, it worked). Without this I got this
error, which is probably fixable, but consistently using libtool seems
like it makes things easier:
*** Warning: Linking the shared library libpurple.la against the
*** static library ../libpurple/protocols/msn/libmsn.a is not portable!
/usr/bin/ld: ../libpurple/protocols/msn/libmsn.a(libmsn_a-msn.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
../libpurple/protocols/msn/libmsn.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Wed, 12 Nov 2008 11:30:51 +0000 |
| parents | 88796aff14d6 |
| children | f5bcb58bdf56 |
| rev | line source |
|---|---|
| 15817 | 1 EXTRA_DIST = \ |
| 2 getopt.c \ | |
| 3 getopt.h \ | |
|
20326
8413368adb5a
applied changes from b5a4f36867889f85c7c9d341c9c295f2f4e51e1d
Luke Schierer <lschiere@pidgin.im>
parents:
19516
diff
changeset
|
4 getopt1.c \ |
|
8413368adb5a
applied changes from b5a4f36867889f85c7c9d341c9c295f2f4e51e1d
Luke Schierer <lschiere@pidgin.im>
parents:
19516
diff
changeset
|
5 finch.pc.in |
|
8413368adb5a
applied changes from b5a4f36867889f85c7c9d341c9c295f2f4e51e1d
Luke Schierer <lschiere@pidgin.im>
parents:
19516
diff
changeset
|
6 |
|
8413368adb5a
applied changes from b5a4f36867889f85c7c9d341c9c295f2f4e51e1d
Luke Schierer <lschiere@pidgin.im>
parents:
19516
diff
changeset
|
7 pkgconfigdir = $(libdir)/pkgconfig |
|
8413368adb5a
applied changes from b5a4f36867889f85c7c9d341c9c295f2f4e51e1d
Luke Schierer <lschiere@pidgin.im>
parents:
19516
diff
changeset
|
8 pkgconfig_DATA = finch.pc |
| 15817 | 9 |
| 10 SUBDIRS = libgnt plugins | |
| 11 | |
|
16480
5b2b0fbace45
I think this fixes #331.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
15884
diff
changeset
|
12 if ENABLE_GNT |
|
5b2b0fbace45
I think this fixes #331.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
15884
diff
changeset
|
13 |
| 15817 | 14 bin_PROGRAMS = finch |
| 15 | |
|
16480
5b2b0fbace45
I think this fixes #331.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
15884
diff
changeset
|
16 endif |
|
5b2b0fbace45
I think this fixes #331.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
15884
diff
changeset
|
17 |
| 15817 | 18 finch_SOURCES = \ |
| 19 gntaccount.c \ | |
| 20 gntblist.c \ | |
|
19516
e1751162ab1f
Add certificate UI in finch.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
19169
diff
changeset
|
21 gntcertmgr.c \ |
| 15817 | 22 gntconn.c \ |
| 23 gntconv.c \ | |
| 24 gntdebug.c \ | |
| 25 gntft.c \ | |
| 15822 | 26 finch.c \ |
| 15817 | 27 gntidle.c \ |
|
22248
88796aff14d6
Add a finch log viewer. This is largely copied from Pidgin.
Richard Nelson <wabz@pidgin.im>
parents:
22006
diff
changeset
|
28 gntlog.c \ |
| 15817 | 29 gntnotify.c \ |
| 30 gntplugin.c \ | |
| 31 gntpounce.c \ | |
| 32 gntprefs.c \ | |
| 33 gntrequest.c \ | |
|
22006
1278280fa0b6
Implementation of the roomlist API.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
20326
diff
changeset
|
34 gntroomlist.c \ |
| 19100 | 35 gntsound.c \ |
| 15817 | 36 gntstatus.c \ |
| 37 gntui.c | |
| 38 | |
| 39 finch_headers = \ | |
| 40 gntaccount.h \ | |
| 41 gntblist.h \ | |
|
19516
e1751162ab1f
Add certificate UI in finch.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
19169
diff
changeset
|
42 gntcertmgr.h \ |
| 15817 | 43 gntconn.h \ |
| 44 gntconv.h \ | |
| 45 gntdebug.h \ | |
| 46 gntft.h \ | |
| 15822 | 47 finch.h \ |
| 15817 | 48 gntidle.h \ |
|
22248
88796aff14d6
Add a finch log viewer. This is largely copied from Pidgin.
Richard Nelson <wabz@pidgin.im>
parents:
22006
diff
changeset
|
49 gntlog.h \ |
| 15817 | 50 gntnotify.h \ |
| 51 gntplugin.h \ | |
| 52 gntpounce.h \ | |
| 53 gntprefs.h \ | |
| 54 gntrequest.h \ | |
|
22006
1278280fa0b6
Implementation of the roomlist API.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
20326
diff
changeset
|
55 gntroomlist.h \ |
| 19100 | 56 gntsound.h \ |
| 15817 | 57 gntstatus.h \ |
| 58 gntui.h | |
| 59 | |
|
15884
c6e563dfaa7a
More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <stu@nosnilmot.com>
parents:
15822
diff
changeset
|
60 finchincludedir=$(includedir)/finch |
| 15817 | 61 finchinclude_HEADERS = \ |
| 62 $(finch_headers) | |
| 63 | |
| 64 finch_DEPENDENCIES = @LIBOBJS@ | |
| 65 finch_LDFLAGS = -export-dynamic | |
| 66 finch_LDADD = \ | |
| 67 @LIBOBJS@ \ | |
| 68 $(DBUS_LIBS) \ | |
| 69 $(INTLLIBS) \ | |
| 70 $(GLIB_LIBS) \ | |
| 71 $(LIBXML_LIBS) \ | |
| 72 $(GNT_LIBS) \ | |
| 19100 | 73 $(GSTREAMER_LIBS) \ |
| 15817 | 74 ./libgnt/libgnt.la \ |
| 75 $(top_builddir)/libpurple/libpurple.la | |
| 76 | |
| 77 AM_CPPFLAGS = \ | |
| 78 -DSTANDALONE \ | |
| 79 -DBR_PTHREADS=0 \ | |
| 80 -DDATADIR=\"$(datadir)\" \ | |
|
15884
c6e563dfaa7a
More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <stu@nosnilmot.com>
parents:
15822
diff
changeset
|
81 -DLIBDIR=\"$(libdir)/finch/\" \ |
| 15817 | 82 -DLOCALEDIR=\"$(datadir)/locale\" \ |
| 83 -DSYSCONFDIR=\"$(sysconfdir)\" \ | |
| 84 -I$(top_srcdir)/libpurple/ \ | |
| 85 -I$(top_srcdir) \ | |
| 86 -I$(srcdir)/libgnt/ \ | |
| 87 $(DEBUG_CFLAGS) \ | |
| 88 $(GLIB_CFLAGS) \ | |
| 89 $(DBUS_CFLAGS) \ | |
| 90 $(LIBXML_CFLAGS) \ | |
| 19100 | 91 $(GSTREAMER_CFLAGS) \ |
| 15817 | 92 $(GNT_CFLAGS) |
