mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-05 09:33:13 +02:00
Add (src/)modules/third directory for 3rd party modules. Automatically build any .c files in there.
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
#************************************************************************
|
||||
#* IRC - Internet Relay Chat, src/modules/chanmodes/Makefile
|
||||
#* Copyright (C) The UnrealIRCd Team
|
||||
#*
|
||||
#* This program is free software; you can redistribute it and/or modify
|
||||
#* it under the terms of the GNU General Public License as published by
|
||||
#* the Free Software Foundation; either version 1, or (at your option)
|
||||
#* any later version.
|
||||
#*
|
||||
#* This program is distributed in the hope that it will be useful,
|
||||
#* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
#* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
#* GNU General Public License for more details.
|
||||
#*
|
||||
#* You should have received a copy of the GNU General Public License
|
||||
#* along with this program; if not, write to the Free Software
|
||||
#* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
#*/
|
||||
|
||||
INCLUDES = ../../include/auth.h ../../include/channel.h \
|
||||
../../include/class.h ../../include/common.h ../../include/config.h ../../include/dbuf.h \
|
||||
../../include/dynconf.h ../../include/events.h ../../include/fdlist.h ../../include/h.h \
|
||||
../../include/hash.h ../../include/inet.h ../../include/ircsprintf.h \
|
||||
../../include/license.h ../../include/macros.h \
|
||||
../../include/modules.h ../../include/modversion.h ../../include/msg.h \
|
||||
../../include/numeric.h ../../include/proto.h ../../include/res.h \
|
||||
../../include/resource.h ../../include/setup.h ../../include/sjoin.h \
|
||||
../../include/sock.h ../../include/ssl.h ../../include/struct.h ../../include/sys.h \
|
||||
../../include/threads.h ../../include/types.h ../../include/url.h \
|
||||
../../include/version.h ../../include/whowas.h
|
||||
|
||||
MODULEFLAGS=@MODULEFLAGS@
|
||||
CC=@CC@
|
||||
RM=@RM@
|
||||
|
||||
all: build
|
||||
|
||||
build:
|
||||
../../buildmod
|
||||
|
||||
custommodule: $(MODULEFILE).c
|
||||
$(CC) $(CFLAGS) $(MODULEFLAGS) -DDYNAMIC_LINKING \
|
||||
-o $(MODULEFILE).so $(MODULEFILE).c $(EXLIBS)
|
||||
|
||||
clean:
|
||||
$(RM) -f *.o *.so *~ core
|
||||
Reference in New Issue
Block a user