]> jfr.im git - irc/rqf/shadowircd.git/blob - extensions/Makefile.in
Add force_user_invis extension from charybdis+sn.
[irc/rqf/shadowircd.git] / extensions / Makefile.in
1 #
2 # Makefile.in for ircd/contrib
3 #
4 # $Id: Makefile.in 3522 2007-07-06 07:48:28Z nenolod $
5 #
6 CC = @CC@
7 RM = @RM@
8 SED = @SED@
9 LEX = @LEX@
10 LEXLIB = @LEXLIB@
11 CFLAGS = @IRC_CFLAGS@ -DIRCD_PREFIX=\"@prefix@\"
12 PICFLAGS = @PICFLAGS@
13 MKDEP = @MKDEP@
14 INSTALL = @INSTALL@
15 INSTALL_PROGRAM = @INSTALL_PROGRAM@
16 INSTALL_DATA = @INSTALL_DATA@
17 INSTALL_SUID = @INSTALL_PROGRAM@ -o root -m 4755
18 SHELL = /bin/sh
19 AUTOMODULEDIR = @moduledir@/extensions
20
21 SSL_LIBS = @SSL_LIBS@
22 SSL_INCLUDES = @SSL_INCLUDES@
23
24 IRCDLIBS = @LIBS@ $(SSL_LIBS)
25
26 INCLUDES = -I. -I../include -I../libcharybdis -I../adns $(SSL_INCLUDES)
27 CPPFLAGS = ${INCLUDES} @CPPFLAGS@
28
29 SRCS = \
30 chm_quietunreg_compat.c \
31 createauthonly.c \
32 createoperonly.c \
33 extb_account.c \
34 extb_canjoin.c \
35 extb_channel.c \
36 extb_oper.c \
37 extb_server.c \
38 extb_realname.c \
39 extb_extgecos.c \
40 force_user_invis.c \
41 hurt.c \
42 ip_cloaking.c \
43 ip_cloaking_old.c \
44 sno_farconnect.c \
45 sno_globalkline.c \
46 sno_globaloper.c \
47 sno_whois.c \
48 m_42.c \
49 m_adminwall.c \
50 m_findforwards.c \
51 m_identify.c \
52 m_mkpasswd.c \
53 m_ojoin.c \
54 m_olist.c \
55 m_okick.c \
56 m_omode.c \
57 m_opme.c \
58 m_privs.c \
59 m_webirc.c \
60 no_locops.c \
61 no_oper_invis.c \
62 spy_admin_notice.c \
63 spy_info_notice.c \
64 spy_links_notice.c \
65 spy_motd_notice.c \
66 spy_stats_notice.c \
67 spy_stats_p_notice.c \
68 spy_trace_notice.c \
69 example_module.c
70
71 OBJS = ${SRCS:.c=.so}
72
73 default: build
74 build: all
75 all: $(OBJS)
76
77 install: all
78 -@if test ! -d $(DESTDIR)$(AUTOMODULEDIR); then \
79 mkdir $(DESTDIR)$(AUTOMODULEDIR); \
80 fi
81 @echo "Installing modules into $(DESTDIR)$(AUTOMODULEDIR) .."
82 @for file in $(OBJS); do \
83 $(INSTALL_DATA) $$file $(DESTDIR)$(AUTOMODULEDIR); \
84 done
85
86 .SUFFIXES: .so
87
88 .c.so:
89 ${CC} ${PICFLAGS} ${CPPFLAGS} ${CFLAGS} $< -o $@
90
91 .PHONY: depend clean distclean
92 depend:
93 @${MKDEP} ${CPPFLAGS} ${SRCS} > .depend
94 @sed s/\\\.o/\\\.so/ < .depend > .depend.tmp
95 @sed -e '/^# DO NOT DELETE THIS LINE/,$$d' <Makefile >Makefile.depend
96 @echo '# DO NOT DELETE THIS LINE!!!' >>Makefile.depend
97 @echo '# make depend needs it.' >>Makefile.depend
98 @cat .depend.tmp >>Makefile.depend
99 @mv Makefile.depend Makefile
100 @rm -f .depend.tmp .depend
101
102 clean:
103 ${RM} -f *.so *~
104
105 distclean: clean
106 ${RM} -f Makefile
107