| 1 |
# Makefile for database modules. |
| 2 |
# |
| 3 |
# IRC Services is copyright (c) 1996-2009 Andrew Church. |
| 4 |
# E-mail: <achurch@achurch.org> |
| 5 |
# Parts written by Andrew Kempe and others. |
| 6 |
# This program is free but copyrighted software; see the file GPL.txt for |
| 7 |
# details. |
| 8 |
|
| 9 |
########################################################################### |
| 10 |
|
| 11 |
include ../../Makefile.inc |
| 12 |
|
| 13 |
MODULES = standard.so version4.so |
| 14 |
OBJECTS-standard.so = fileutil.o |
| 15 |
OBJECTS-version4.so = extsyms.o # fileutil.c is #included |
| 16 |
|
| 17 |
SERVDEPS = $(TOPDIR)/modules/nickserv/nickserv.h \ |
| 18 |
$(TOPDIR)/modules/chanserv/chanserv.h \ |
| 19 |
$(TOPDIR)/modules/memoserv/memoserv.h \ |
| 20 |
$(TOPDIR)/modules/operserv/operserv.h \ |
| 21 |
$(TOPDIR)/modules/operserv/akill.h \ |
| 22 |
$(TOPDIR)/modules/operserv/maskdata.h \ |
| 23 |
$(TOPDIR)/modules/operserv/news.h \ |
| 24 |
$(TOPDIR)/modules/operserv/sline.h \ |
| 25 |
$(TOPDIR)/modules/statserv/statserv.h |
| 26 |
|
| 27 |
INCLUDES-extsyms.o = extsyms.h |
| 28 |
INCLUDES-fileutil.o = fileutil.h |
| 29 |
INCLUDES-standard.o = fileutil.h $(TOPDIR)/databases.h $(TOPDIR)/encrypt.h |
| 30 |
# NOTE: fileutil.c is *not* a typo here! |
| 31 |
INCLUDES-version4.o = extsyms.h fileutil.c fileutil.h $(TOPDIR)/databases.h \ |
| 32 |
$(TOPDIR)/language.h $(TOPDIR)/encrypt.h $(SERVDEPS) \ |
| 33 |
$(TOPDIR)/modules/nickserv/util.c \ |
| 34 |
$(TOPDIR)/modules/chanserv/util.c |
| 35 |
|
| 36 |
include ../Makerules |
| 37 |
|
| 38 |
########################################################################### |
| 39 |
|
| 40 |
extsyms.h: $(TOPDIR)/modules/nickserv/nickserv.h \ |
| 41 |
$(TOPDIR)/modules/chanserv/chanserv.h \ |
| 42 |
$(TOPDIR)/modules/memoserv/memoserv.h \ |
| 43 |
$(TOPDIR)/modules/statserv/statserv.h |
| 44 |
@touch $@ |