unrealircd

- supernets unrealircd source & configuration
git clone git://git.acid.vegas/unrealircd.git
Log | Files | Refs | Archive | README | LICENSE

Makefile.in (4692B)

      1 #************************************************************************
      2 #*   IRC - Internet Relay Chat, src/modules/Makefile
      3 #*   Copyright (C) Carsten V. Munk 2001
      4 #*
      5 #*   This program is free software; you can redistribute it and/or modify
      6 #*   it under the terms of the GNU General Public License as published by
      7 #*   the Free Software Foundation; either version 1, or (at your option)
      8 #*   any later version.
      9 #*
     10 #*   This program is distributed in the hope that it will be useful,
     11 #*   but WITHOUT ANY WARRANTY; without even the implied warranty of
     12 #*   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     13 #*   GNU General Public License for more details.
     14 #*
     15 #*   You should have received a copy of the GNU General Public License
     16 #*   along with this program; if not, write to the Free Software
     17 #*   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
     18 #*   
     19 #*   $Id$
     20 #*/
     21 # major edit from fez - to compile objects individually...
     22 
     23 CC = "==== DO NOT RUN MAKE FROM THIS DIRECTORY ===="
     24 
     25 INCLUDES = ../include/channel.h \
     26 	../include/common.h ../include/config.h ../include/dbuf.h \
     27 	../include/dynconf.h ../include/fdlist.h ../include/h.h \
     28 	../include/ircsprintf.h \
     29 	../include/license.h \
     30 	../include/modules.h ../include/modversion.h ../include/msg.h \
     31 	../include/numeric.h ../include/dns.h \
     32 	../include/resource.h ../include/setup.h \
     33 	../include/struct.h ../include/sys.h \
     34 	../include/types.h \
     35 	../include/version.h ../include/whowas.h
     36 
     37 MODULES= \
     38 	cloak_md5.so cloak_sha256.so cloak_none.so \
     39 	sethost.so chghost.so chgident.so setname.so \
     40 	setident.so sdesc.so svsmode.so swhois.so\
     41 	svsmotd.so svsnline.so who_old.so whox.so mkpasswd.so \
     42 	away.so svsnoop.so svsnick.so svso.so svslogin.so \
     43 	chgname.so kill.so \
     44 	lag.so message.so oper.so pingpong.so \
     45 	quit.so sendumode.so sqline.so sreply.so \
     46 	tsctl.so unsqline.so whois.so \
     47 	tkl.so vhost.so cycle.so svsjoin.so svspart.so \
     48 	svswatch.so svssilence.so sendsno.so svssno.so \
     49 	sajoin.so sapart.so samode.so kick.so topic.so \
     50 	invite.so list.so time.so svskill.so sjoin.so \
     51 	pass.so userhost.so ison.so silence.so knock.so \
     52 	umode2.so squit.so protoctl.so addomotd.so \
     53 	admin.so globops.so locops.so \
     54 	trace.so netinfo.so links.so help.so rules.so \
     55 	close.so map.so eos.so server.so stats.so \
     56 	dccdeny.so whowas.so \
     57 	connect.so dccallow.so userip.so nick.so user.so \
     58 	mode.so watch.so part.so join.so motd.so opermotd.so \
     59 	botmotd.so lusers.so names.so svsnolag.so addmotd.so \
     60 	svslusers.so starttls.so webredir.so cap.so \
     61 	sasl.so md.so certfp.so \
     62 	tls_antidos.so connect-flood.so max-unknown-connections-per-ip.so \
     63 	webirc.so webserver.so websocket_common.so websocket.so \
     64 	blacklist.so jointhrottle.so \
     65 	antirandom.so hideserver.so jumpserver.so \
     66 	ircops.so staff.so nocodes.so \
     67 	charsys.so antimixedutf8.so authprompt.so sinfo.so \
     68 	reputation.so connthrottle.so history_backend_mem.so \
     69 	history_backend_null.so tkldb.so channeldb.so whowasdb.so \
     70 	restrict-commands.so rmtkl.so require-module.so \
     71 	account-notify.so \
     72 	message-tags.so batch.so \
     73 	account-tag.so labeled-response.so link-security.so \
     74 	message-ids.so plaintext-policy.so server-time.so sts.so \
     75 	echo-message.so userip-tag.so userhost-tag.so geoip-tag.so \
     76 	bot-tag.so reply-tag.so json-log-tag.so \
     77 	typing-indicator.so channel-context.so \
     78 	ident_lookup.so history.so chathistory.so \
     79 	targetfloodprot.so clienttagdeny.so watch-backend.so \
     80 	monitor.so slog.so tls_cipher.so operinfo.so creationtime.so \
     81 	unreal_server_compat.so \
     82 	extended-monitor.so geoip_csv.so \
     83 	geoip_base.so extjwt.so tline.so \
     84 	standard-replies.so issued-by-tag.so \
     85 	real-quit-reason.so \
     86 	$(GEOIP_CLASSIC_OBJECTS) $(GEOIP_MAXMIND_OBJECTS)
     87 
     88 MODULEFLAGS=@MODULEFLAGS@
     89 RM=@RM@
     90 
     91 .SUFFIXES:
     92 .SUFFIXES: .c .h .so
     93 
     94 all: build
     95 
     96 build: $(MODULES)
     97 	cd chanmodes; $(MAKE) all
     98 	cd usermodes; $(MAKE) all
     99 	cd extbans; $(MAKE) all
    100 	cd rpc; $(MAKE) all
    101 	cd third; $(MAKE) all
    102 
    103 clean:
    104 	$(RM) -f *.o *.so *~ core
    105 	cd chanmodes; $(MAKE) clean
    106 	cd usermodes; $(MAKE) clean
    107 	cd extbans; $(MAKE) clean
    108 	cd rpc; $(MAKE) clean
    109 	cd third; $(MAKE) clean
    110 
    111 # Generic *.so rule:
    112 %.so: %.c $(INCLUDES)
    113 	$(CC) $(CFLAGS) $(MODULEFLAGS) -DDYNAMIC_LINKING \
    114 		-o $@ $<
    115 
    116 # geoip_classic requires extra library
    117 geoip_classic.so: geoip_classic.c $(INCLUDES)
    118 	$(CC) $(CFLAGS) $(MODULEFLAGS) $(GEOIP_CLASSIC_CFLAGS) -DDYNAMIC_LINKING \
    119 		-o geoip_classic.so geoip_classic.c @LDFLAGS_PRIVATELIBS@ $(GEOIP_CLASSIC_LIBS)
    120 
    121 # geoip_maxmind requires another extra library
    122 geoip_maxmind.so: geoip_maxmind.c $(INCLUDES)
    123 	$(CC) $(CFLAGS) $(MODULEFLAGS) $(LIBMAXMINDDB_CFLAGS) -DDYNAMIC_LINKING \
    124 		-o geoip_maxmind.so geoip_maxmind.c @LDFLAGS_PRIVATELIBS@ $(LIBMAXMINDDB_LIBS)