1LIBTOOL += --quiet 2AM_CPPFLAGS = -I@top_srcdir@ 3 4bin_PROGRAMS = sm 5 6pkglib_LTLIBRARIES = mod_active.la \ 7 mod_announce.la \ 8 mod_amp.la \ 9 mod_deliver.la \ 10 mod_disco.la \ 11 mod_echo.la \ 12 mod_help.la \ 13 mod_iq-last.la \ 14 mod_iq-ping.la \ 15 mod_iq-private.la \ 16 mod_iq-time.la \ 17 mod_iq-vcard.la \ 18 mod_iq-version.la \ 19 mod_offline.la \ 20 mod_pep.la \ 21 mod_presence.la \ 22 mod_privacy.la \ 23 mod_roster.la \ 24 mod_roster-publish.la \ 25 mod_session.la \ 26 mod_status.la \ 27 mod_template-roster.la \ 28 mod_vacation.la \ 29 mod_validate.la \ 30 mod_verify.la 31 32noinst_HEADERS = sm.h 33 34sm_SOURCES = aci.c \ 35 dispatch.c \ 36 feature.c \ 37 main.c \ 38 mm.c \ 39 pkt.c \ 40 pres.c \ 41 sess.c \ 42 sm.c \ 43 user.c 44 45sm_CPPFLAGS = -DCONFIG_DIR=\"$(sysconfdir)\" -DLIBRARY_DIR=\"$(pkglibdir)\" -I@top_srcdir@ 46sm_LDFLAGS = -export-dynamic 47sm_LDADD = $(top_builddir)/sx/libsx.la \ 48 $(top_builddir)/mio/libmio.la \ 49 $(top_builddir)/util/libutil.la \ 50 $(top_builddir)/storage/libstorage.la 51if USE_LIBSUBST 52sm_LDADD += $(top_builddir)/subst/libsubst.la 53endif 54 55mod_active_la_SOURCES = mod_active.c 56mod_active_la_LDFLAGS = -module -export-dynamic 57if USE_LIBSUBST 58mod_active_la_LIBADD = $(top_builddir)/subst/libsubst.la 59endif 60 61mod_announce_la_SOURCES = mod_announce.c 62mod_announce_la_LDFLAGS = -module -export-dynamic 63if USE_LIBSUBST 64mod_announce_la_LIBADD = $(top_builddir)/subst/libsubst.la 65endif 66 67mod_amp_la_SOURCES = mod_amp.c 68mod_amp_la_LDFLAGS = -module -export-dynamic 69if USE_LIBSUBST 70mod_amp_la_LIBADD = $(top_builddir)/subst/libsubst.la 71endif 72 73mod_deliver_la_SOURCES = mod_deliver.c 74mod_deliver_la_LDFLAGS = -module -export-dynamic 75if USE_LIBSUBST 76mod_deliver_la_LIBADD = $(top_builddir)/subst/libsubst.la 77endif 78 79mod_disco_la_SOURCES = mod_disco.c 80mod_disco_la_LDFLAGS = -module -export-dynamic 81if USE_LIBSUBST 82mod_disco_la_LIBADD = $(top_builddir)/subst/libsubst.la 83endif 84 85mod_echo_la_SOURCES = mod_echo.c 86mod_echo_la_LDFLAGS = -module -export-dynamic 87if USE_LIBSUBST 88mod_echo_la_LIBADD = $(top_builddir)/subst/libsubst.la 89endif 90 91mod_help_la_SOURCES = mod_help.c 92mod_help_la_LDFLAGS = -module -export-dynamic 93if USE_LIBSUBST 94mod_help_la_LIBADD = $(top_builddir)/subst/libsubst.la 95endif 96 97mod_iq_last_la_SOURCES = mod_iq_last.c 98mod_iq_last_la_LDFLAGS = -module -export-dynamic 99if USE_LIBSUBST 100mod_iq_last_la_LIBADD = $(top_builddir)/subst/libsubst.la 101endif 102 103mod_iq_ping_la_SOURCES = mod_iq_ping.c 104mod_iq_ping_la_LDFLAGS = -module -export-dynamic 105if USE_LIBSUBST 106mod_iq_ping_la_LIBADD = $(top_builddir)/subst/libsubst.la 107endif 108 109mod_iq_private_la_SOURCES = mod_iq_private.c 110mod_iq_private_la_LDFLAGS = -module -export-dynamic 111if USE_LIBSUBST 112mod_iq_private_la_LIBADD = $(top_builddir)/subst/libsubst.la 113endif 114 115mod_iq_time_la_SOURCES = mod_iq_time.c 116mod_iq_time_la_LDFLAGS = -module -export-dynamic 117if USE_LIBSUBST 118mod_iq_time_la_LIBADD = $(top_builddir)/subst/libsubst.la 119endif 120 121mod_iq_vcard_la_SOURCES = mod_iq_vcard.c 122mod_iq_vcard_la_LDFLAGS = -module -export-dynamic 123if USE_LIBSUBST 124mod_iq_vcard_la_LIBADD = $(top_builddir)/subst/libsubst.la 125endif 126 127mod_iq_version_la_SOURCES = mod_iq_version.c 128mod_iq_version_la_LDFLAGS = -module -export-dynamic 129if USE_LIBSUBST 130mod_iq_version_la_LIBADD = $(top_builddir)/subst/libsubst.la 131endif 132 133mod_offline_la_SOURCES = mod_offline.c 134mod_offline_la_LDFLAGS = -module -export-dynamic 135if USE_LIBSUBST 136mod_offline_la_LIBADD = $(top_builddir)/subst/libsubst.la 137endif 138 139mod_pep_la_SOURCES = mod_pep.c 140mod_pep_la_LDFLAGS = -module -export-dynamic 141if USE_LIBSUBST 142mod_pep_la_LIBADD = $(top_builddir)/subst/libsubst.la 143endif 144 145mod_presence_la_SOURCES = mod_presence.c 146mod_presence_la_LDFLAGS = -module -export-dynamic 147if USE_LIBSUBST 148mod_presence_la_LIBADD = $(top_builddir)/subst/libsubst.la 149endif 150 151mod_privacy_la_SOURCES = mod_privacy.c 152mod_privacy_la_LDFLAGS = -module -export-dynamic 153if USE_LIBSUBST 154mod_privacy_la_LIBADD = $(top_builddir)/subst/libsubst.la 155endif 156 157mod_roster_la_SOURCES = mod_roster.c 158mod_roster_la_LDFLAGS = -module -export-dynamic 159if USE_LIBSUBST 160mod_roster_la_LIBADD = $(top_builddir)/subst/libsubst.la 161endif 162 163mod_roster_publish_la_SOURCES = mod_roster_publish.c 164mod_roster_publish_la_LDFLAGS = -module -export-dynamic 165if USE_LIBSUBST 166mod_roster_publish_la_LIBADD = $(top_builddir)/subst/libsubst.la 167endif 168 169mod_session_la_SOURCES = mod_session.c 170mod_session_la_LDFLAGS = -module -export-dynamic 171if USE_LIBSUBST 172mod_session_la_LIBADD = $(top_builddir)/subst/libsubst.la 173endif 174 175mod_status_la_SOURCES = mod_status.c 176mod_status_la_LDFLAGS = -module -export-dynamic 177if USE_LIBSUBST 178mod_status_la_LIBADD = $(top_builddir)/subst/libsubst.la 179endif 180 181mod_template_roster_la_SOURCES = mod_template_roster.c 182mod_template_roster_la_LDFLAGS = -module -export-dynamic 183if USE_LIBSUBST 184mod_template_roster_la_LIBADD = $(top_builddir)/subst/libsubst.la 185endif 186 187mod_vacation_la_SOURCES = mod_vacation.c 188mod_vacation_la_LDFLAGS = -module -export-dynamic 189if USE_LIBSUBST 190mod_vacation_la_LIBADD = $(top_builddir)/subst/libsubst.la 191endif 192 193mod_validate_la_SOURCES = mod_validate.c 194mod_validate_la_LDFLAGS = -module -export-dynamic 195if USE_LIBSUBST 196mod_validate_la_LIBADD = $(top_builddir)/subst/libsubst.la 197endif 198 199mod_verify_la_SOURCES = mod_verify.c 200mod_verify_la_LDFLAGS = -module -export-dynamic 201if USE_LIBSUBST 202mod_verify_la_LIBADD = $(top_builddir)/subst/libsubst.la 203endif 204 205