Mercurial > pidgin
annotate libgaim/plugins/perl/Makefile.am @ 14460:040dfd49107d
[gaim-migrate @ 17174]
gaim_gtk_blist_update_columns() was removed today.
committer: Tailor Script <tailor@pidgin.im>
| author | Daniel Atallah <daniel.atallah@gmail.com> |
|---|---|
| date | Wed, 06 Sep 2006 02:33:25 +0000 |
| parents | d5c22258df09 |
| children | 69590c55c748 |
| rev | line source |
|---|---|
| 14192 | 1 plugindir = $(libdir)/gaim |
| 2 | |
| 3 perl_dirs = common | |
| 4 | |
| 5 plugin_LTLIBRARIES = perl.la libgaimperl.la | |
| 6 | |
| 7 perl_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) $(PERL_LIBS) | |
| 8 perl_la_LIBADD = $(PERL_LIBS) -L. -L.libs -lgaimperl | |
| 9 perl_la_SOURCES = \ | |
| 10 perl.c \ | |
| 11 perl-common.c \ | |
| 12 perl-common.h \ | |
| 13 perl-handlers.c \ | |
| 14 perl-handlers.h | |
| 15 | |
| 16 perl_la_DEPENDENCIES = \ | |
| 17 .libs/libperl_orig.a \ | |
| 18 .libs/DynaLoader.a \ | |
| 19 libgaimperl.la | |
| 20 | |
| 21 libgaimperl_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) | |
| 22 libgaimperl_la_SOURCES = libgaimperl.c | |
| 23 | |
| 24 .libs/libperl_orig.a: | |
| 25 @mkdir -p .libs | |
| 26 @rm -f .libs/libperl_orig.a | |
| 27 @if [ x$(LIBPERL_A) = x ]; then \ | |
| 28 touch .libs/libperl_orig.a; \ | |
| 29 else \ | |
| 30 $(LN_S) $(LIBPERL_A) .libs/libperl_orig.a; \ | |
| 31 fi | |
| 32 | |
| 33 .libs/DynaLoader.a: | |
| 34 @mkdir -p .libs | |
| 35 @rm -f .libs/DynaLoader.a | |
| 36 @if [ x$(DYNALOADER_A) = x ]; then \ | |
| 37 touch .libs/DynaLoader.a; \ | |
| 38 else \ | |
| 39 $(LN_S) $(DYNALOADER_A) .libs/DynaLoader.a; \ | |
| 40 fi | |
| 41 | |
| 42 | |
| 43 common_sources = \ | |
| 44 common/Account.xs \ | |
| 45 common/AccountOpts.xs \ | |
| 46 common/BuddyIcon.xs \ | |
| 47 common/BuddyList.xs \ | |
| 48 common/Cipher.xs \ | |
| 49 common/Cmds.xs \ | |
| 50 common/Connection.xs \ | |
| 51 common/Conversation.xs \ | |
| 52 common/Debug.xs \ | |
| 53 common/FT.xs \ | |
| 54 common/Gaim.pm \ | |
| 55 common/Gaim.xs \ | |
| 56 common/ImgStore.xs \ | |
| 57 common/Log.xs \ | |
| 58 common/Makefile.PL.in \ | |
| 59 common/Network.xs \ | |
| 60 common/Notify.xs \ | |
| 61 common/Plugin.xs \ | |
| 62 common/PluginPref.xs \ | |
| 63 common/Pounce.xs \ | |
| 64 common/Prefs.xs \ | |
| 65 common/Privacy.xs \ | |
| 66 common/Proxy.xs \ | |
| 67 common/Prpl.xs \ | |
| 68 common/Request.xs \ | |
| 69 common/Roomlist.xs \ | |
| 70 common/SSLConn.xs \ | |
| 71 common/SavedStatuses.xs \ | |
| 72 common/Server.xs \ | |
| 73 common/Signal.xs \ | |
| 74 common/Sound.xs \ | |
| 75 common/Status.xs \ | |
| 76 common/Stringref.xs \ | |
| 77 common/Util.xs \ | |
| 78 common/XMLNode.xs \ | |
| 79 common/fallback/const-c.inc \ | |
| 80 common/fallback/const-xs.inc \ | |
| 81 common/module.h \ | |
| 82 common/typemap | |
| 83 | |
| 84 | |
| 85 EXTRA_DIST = \ | |
| 86 Makefile.mingw \ | |
| 87 common/Makefile.mingw \ | |
| 88 $(common_sources) \ | |
| 89 libgaimperl.c | |
| 90 | |
| 91 common/Makefile: common/Makefile.PL | |
| 92 @if test "x${top_srcdir}" != "x${top_builddir}"; then \ | |
| 93 for f in ${common_sources}; do \ | |
| 94 ${LN_S} -f ../${srcdir}/$$f $$f; \ | |
| 95 done; \ | |
| 96 fi | |
| 97 @cd common && $(perlpath) Makefile.PL $(PERL_MM_PARAMS) | |
| 98 | |
| 99 common/Makefile.PL: common/Makefile.PL.in $(top_builddir)/config.status | |
| 100 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe) | |
| 101 | |
| 102 all-local: common/Makefile | |
| 103 @for dir in $(perl_dirs); do \ | |
| 104 cd $$dir && \ | |
| 105 if [ ! -f Makefile ]; then \ | |
| 106 $(perlpath) Makefile.PL $(PERL_MM_PARAMS); \ | |
| 107 fi && \ | |
| 108 ($(MAKE) CC="$(CC)" CCFLAGS="$(PERL_CFLAGS) $(CFLAGS)" $(PERL_EXTRA_OPTS) || \ | |
| 109 $(MAKE) CC="$(CC)" CCFLAGS="$(PERL_CFLAGS) $(CFLAGS)" $(PERL_EXTRA_OPTS)) && \ | |
| 110 cd ..; \ | |
| 111 done | |
| 112 | |
| 113 install-exec-local: | |
| 114 @for dir in $(perl_dirs); do \ | |
| 115 cd $$dir; \ | |
| 116 $(MAKE) install; \ | |
| 117 cd ..; \ | |
| 118 done | |
| 119 | |
| 120 # Evil Hack (TM) | |
| 121 # ... which doesn't work with DESTDIR installs. FIXME? | |
| 122 uninstall-local: | |
| 123 @for dir in $(perl_dirs); do \ | |
| 124 cd $$dir && \ | |
| 125 `$(MAKE) uninstall | grep unlink | sed -e 's#/usr#${prefix}#' -e 's#unlink#rm -f#'` && \ | |
| 126 cd ..; \ | |
| 127 done | |
| 128 | |
| 129 clean-generic: | |
| 130 @for dir in $(perl_dirs); do \ | |
| 131 cd $$dir; \ | |
| 132 $(MAKE) clean; \ | |
| 133 cd ..; \ | |
| 134 done | |
| 135 rm -f *.so | |
| 136 | |
| 137 distclean-generic: | |
| 138 @for dir in $(perl_dirs); do \ | |
| 139 cd $$dir; \ | |
| 140 $(MAKE) realclean; \ | |
| 141 rm -f Makefile.PL; \ | |
| 142 rm -f Makefile.old; \ | |
| 143 rm -f Makefile; \ | |
| 144 cd ..; \ | |
| 145 done | |
| 146 | |
| 147 @rm -f Makefile | |
| 148 @rm -f common/const-c.inc common/const-xs.inc | |
| 149 | |
| 150 @if test "x${top_srcdir}" != "x${top_builddir}"; then \ | |
| 151 for f in ${common_sources}; do \ | |
| 152 ${LN_S} -f ../${srcdir}/$$f $$f; \ | |
| 153 done; \ | |
| 154 fi | |
| 155 | |
| 156 | |
| 157 AM_CPPFLAGS = \ | |
| 158 -DVERSION=\"$(VERSION)\" \ | |
| 159 -I$(top_srcdir) \ | |
| 160 -I$(top_srcdir)/libgaim \ | |
| 161 $(DEBUG_CFLAGS) \ | |
|
14372
d5c22258df09
[gaim-migrate @ 17078]
Etan Reisner <pidgin@unreliablesource.net>
parents:
14192
diff
changeset
|
162 $(GLIB_CFLAGS) \ |
| 14192 | 163 $(PLUGIN_CFLAGS) \ |
| 164 $(PERL_CFLAGS) |
