blob: 4f892094c8910155ec67b7df9b22424e37951065 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
|
# Make file for Win32
#
# (C) 2003-2012 Anope Team
# Contact us at team@anope.org
#
# Please read COPYING and README for further details.
#
# Based on the original code of Epona by Lara.
# Based on the original code of Services by Andy Church.
#
#
# Source Makefile
include ../Makefile.inc.win32
###########################################################################
OBJS = actions.obj base64.obj botserv.obj channels.obj chanserv.obj commands.obj compat.obj \
config.obj datafiles.obj encrypt.obj events.obj helpserv.obj hostserv.obj \
init.obj ircd.obj language.obj list.obj log.obj mail.obj main.obj memory.obj \
memoserv.obj messages.obj misc.obj modules.obj mod_version.obj news.obj nickserv.obj operserv.obj \
process.obj send.obj servers.obj sessions.obj slist.obj sockutil.obj \
timeout.obj users.obj $(RDB_O) $(MYSQL_O)
SRCS = actions.c base64.c botserv.c channels.c chanserv.c commands.c compat.c \
config.c datafiles.c encrypt.c events.c helpserv.c hostserv.c init.c ircd.c \
language.c list.c log.c mail.c main.c memory.c memoserv.c messages.c misc.c \
modules.c mod_version.c news.c nickserv.c operserv.c process.c send.c servers.obj sessions.c \
slist.c sockutil.c timeout.c users.c $(RDB_C) $(MYSQL_C)
###########################################################################
.c.obj:
$(CC) $(CFLAGS) -c $<
all: $(PROGRAM)
$(PROGRAM): $(OBJS) win32.res
$(CC) $(OBJS) win32.res /link /out:$(PROGRAM) /implib:anope.lib $(LIBS) $(LFLAGS) $(MLIBS) $(ELIBS)
spotless:
-@erase *.obj *.exe *.exp *.lib tools\*.exe *.res win32.rc *.manifest
install:
-@copy anope.exe ..\anope.exe
-@mkdir ..\$(DATDEST)\bin
-@copy bin\* ..\$(DATDEST)\bin
-@copy anope.exe.manifest ..\anope.exe.manifest
win32.res: win32.rc
$(RC) /l 0x409 $(RC_FLAGS) /fowin32.res win32.rc
###########################################################################
# Catch any changes in compilation options at the top of this file
$(OBJS):
actions.obj: actions.c ..\include\services.h
base64.obj: base64.c ..\include\services.h
botserv.obj: botserv.c ..\include\services.h ..\include\pseudo.h ..\include\language.h
channels.obj: channels.c ..\include\services.h
chanserv.obj: chanserv.c ..\include\services.h ..\include\pseudo.h
commands.obj: commands.c ..\include\services.h ..\include\commands.h ..\include\language.h
compat.obj: compat.c ..\include\services.h
config.obj: config.c ..\include\services.h
datafiles.obj: datafiles.c ..\include\services.h ..\include\datafiles.h
encrypt.obj: encrypt.c ..\include\encrypt.h ..\include\sysconf.h
events.obj: events.c ..\include\modules.h ..\include\language.h ..\include\version.h
init.obj: init.c ..\include\services.h
ircd.obj: ircd.c ..\include\services.h
hostserv.obj: hostserv.c ..\include\services.h ..\include\pseudo.h
language.obj: language.c ..\include\services.h ..\include\language.h
list.obj: list.c ..\include\services.h
log.obj: log.c ..\include\services.h ..\include\pseudo.h
mail.obj: mail.c ..\include\services.h ..\include\language.h
main.obj: main.c ..\include\services.h ..\include\timeout.h ..\include\version.h
memory.obj: memory.c ..\include\services.h
memoserv.obj: memoserv.c ..\include\services.h ..\include\pseudo.h
messages.obj: messages.c ..\include\services.h ..\include\messages.h ..\include\language.h
modules.obj: modules.c ..\include\modules.h ..\include\language.h ..\include\version.h
mod_version.obj: mod_version.c ..\include\modules.h ..\include\version.h
misc.obj: misc.c ..\include\services.h ..\include\language.h
news.obj: news.c ..\include\services.h ..\include\pseudo.h
nickserv.obj: nickserv.c ..\include\services.h ..\include\pseudo.h
operserv.obj: operserv.c ..\include\services.h ..\include\pseudo.h
process.obj: process.c ..\include\services.h ..\include\messages.h
send.obj: send.c ..\include\services.h
servers.obj: servers.c ..\include\services.h
sessions.obj: sessions.c ..\include\services.h ..\include\pseudo.h
slist.obj: slist.c ..\include\services.h ..\include\slist.h
sockutil.obj: sockutil.c ..\include\services.h
timeout.obj: timeout.c ..\include\services.h ..\include\timeout.h
users.obj: users.c ..\include\services.h
vsnprintf.obj: vsnprintf.c
###########################################################################
..\include\services.h: ..\include\sysconf.h ..\include\config.h ..\include\extern.h
..\include\extern.h: ..\include\slist.h
..\include\pseudo.h: ..\include\commands.h ..\include\language.h ..\include\timeout.h ..\include\encrypt.h ..\include\datafiles.h ..\include\slist.h
###########################################################################
FRC:
|