comparison src/protocols/zephyr/Makefile.am @ 8378:2b68c423357e

[gaim-migrate @ 9105] " For people and systems which have libzephyr installed (e.g Debian), this will allow the zephyr plugin to optionally be linked against it, instead of building and linking in the libzephyr that comes with gaim. Why? 1) A gaim binary package can be compiled against a locally installed libzephyr.a, and use either unkerberized or kerberized zephyr depending on which version of the zephyr shared libraries is installed. 2) It reduces the build speed and size of the zephyr plugin (on Debian x86, from 6.5 MB to ~ 300 kb) Also, I added a zephyr icon (a blue Z), that's similar to the icons used by Windows and MacOS zephyr clients at MIT." --Arun A Tharuvai someone will have to tell me how to fix the win32 makefiles, and i'm not sure he patched enough to get his icon to be actually used. committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Mon, 01 Mar 2004 18:08:42 +0000
parents 6b1ecf40f3ba
children 2cc05a9e944d
comparison
equal deleted inserted replaced
8377:c1ca19c8f749 8378:2b68c423357e
63 zephyr_err.c \ 63 zephyr_err.c \
64 zephyr_err.h \ 64 zephyr_err.h \
65 \ 65 \
66 zephyr.c 66 zephyr.c
67 67
68 ZEPHYRSOURCESEXT = zephyr.c
69
68 AM_CFLAGS = $(st) 70 AM_CFLAGS = $(st)
69 71
70 ZEPHYRLIBS = $(KRB4_LDFLAGS) $(KRB4_LIBS) 72 ZEPHYRLIBS = $(KRB4_LDFLAGS) $(KRB4_LIBS)
73
74 ZEPHYRLIBSEXT = $(ZEPHYR_LDFLAGS) $(ZEPHYR_LIBS)
71 75
72 libzephyr_la_LDFLAGS = -module -avoid-version 76 libzephyr_la_LDFLAGS = -module -avoid-version
73 77
74 if STATIC_ZEPHYR 78 if STATIC_ZEPHYR
75 79
81 85
82 else 86 else
83 87
84 st = -Dlint 88 st = -Dlint
85 pkg_LTLIBRARIES = libzephyr.la 89 pkg_LTLIBRARIES = libzephyr.la
90
91 if EXTERNAL_LIBZEPHYR
92 libzephyr_la_SOURCES = $(ZEPHYRSOURCESEXT)
93 libzephyr_la_LIBADD = $(ZEPHYRLIBSEXT)
94 else
86 libzephyr_la_SOURCES = $(ZEPHYRSOURCES) 95 libzephyr_la_SOURCES = $(ZEPHYRSOURCES)
87 libzephyr_la_LIBADD = $(ZEPHYRLIBS) 96 libzephyr_la_LIBADD = $(ZEPHYRLIBS)
97 endif
98
88 99
89 endif 100 endif
90 101
91 AM_CPPFLAGS = \ 102 AM_CPPFLAGS = \
92 -I$(top_srcdir) \ 103 -I$(top_srcdir) \