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