/[svn]/ircd-hybrid/modules/core/Makefile.am
ViewVC logotype

Annotation of /ircd-hybrid/modules/core/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1057 - (hide annotations)
Tue Feb 2 21:52:41 2010 UTC (10 years, 7 months ago) by michael
File size: 1683 byte(s)
- Rename existing lib directory containing modules on 'make install'
  as suggested by Rodder

1 michael 912 AUTOMAKE_OPTIONS = foreign
2     MODULE_FLAGS = -module -avoid-version
3    
4 michael 1009 AM_CPPFLAGS = -I$(top_srcdir)/include
5 michael 912 modulesdir = $(pkglibdir)/modules
6    
7    
8     m_die_la_LDFLAGS = $(MODULE_FLAGS)
9 michael 946 m_error_la_LDFLAGS = $(MODULE_FLAGS)
10 michael 912 m_join_la_LDFLAGS = $(MODULE_FLAGS)
11     m_kick_la_LDFLAGS = $(MODULE_FLAGS)
12     m_kill_la_LDFLAGS = $(MODULE_FLAGS)
13     m_message_la_LDFLAGS = $(MODULE_FLAGS)
14     m_mode_la_LDFLAGS = $(MODULE_FLAGS)
15     m_nick_la_LDFLAGS = $(MODULE_FLAGS)
16     m_part_la_LDFLAGS = $(MODULE_FLAGS)
17     m_quit_la_LDFLAGS = $(MODULE_FLAGS)
18     m_server_la_LDFLAGS = $(MODULE_FLAGS)
19     m_sjoin_la_LDFLAGS = $(MODULE_FLAGS)
20     m_squit_la_LDFLAGS = $(MODULE_FLAGS)
21    
22     m_die_la_SOURCES = m_die.c
23 michael 946 m_error_la_SOURCES = m_error.c
24 michael 912 m_join_la_SOURCES = m_join.c
25     m_kick_la_SOURCES = m_kick.c
26     m_kill_la_SOURCES = m_kill.c
27     m_message_la_SOURCES = m_message.c
28     m_mode_la_SOURCES = m_mode.c
29     m_nick_la_SOURCES = m_nick.c
30     m_part_la_SOURCES = m_part.c
31     m_quit_la_SOURCES = m_quit.c
32     m_server_la_SOURCES = m_server.c
33     m_sjoin_la_SOURCES = m_sjoin.c
34     m_squit_la_SOURCES = m_squit.c
35    
36 michael 946 modules_LTLIBRARIES = m_die.la \
37     m_error.la \
38     m_join.la \
39     m_kick.la \
40     m_kill.la \
41     m_message.la \
42     m_mode.la \
43     m_nick.la \
44     m_part.la \
45     m_quit.la \
46     m_server.la \
47     m_sjoin.la \
48     m_squit.la
49 michael 912
50     modules: $(modules_LTLIBRARIES)
51 michael 1057
52     install-exec-hook:
53     if test -d $(pkglibdir)-old; then \
54     rm -rf $(pkglibdir)-old; \
55     fi
56     if test -d $(pkglibdir); then \
57     mv $(pkglibdir) $(pkglibdir)-old; \
58     fi

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28