/[svn]/ircd-hybrid/src/Makefile.in
ViewVC logotype

Annotation of /ircd-hybrid/src/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 502 - (hide annotations)
Fri Mar 3 19:49:25 2006 UTC (15 years, 3 months ago) by michael
File size: 2748 byte(s)
- Implemented CAP command handler based uppon ircu's m_cap()
- Added somewhat outdated draft-mitchell-irc-capabilities-01.txt until
  I get the latest version from kev.
- Added "multi-prefix" cap so clients supporting "multi-prefix"
  may recieve multi prefixed NAMES replies, e.g. @%+nick1 @+nick2 ..
- Fixed "make clean" for src/conf/

1 adx 30 #
2     # Makefile.in for ircd/src
3     #
4 knight 31 # $Id$
5 adx 30 #
6     @SET_MAKE@
7    
8     CC = @CC@
9     INSTALL = @INSTALL@
10     INSTALL_BIN = @INSTALL_PROGRAM@
11     INSTALL_DATA = @INSTALL_DATA@
12     CFLAGS = @IRC_CFLAGS@
13     LDFLAGS = @LDFLAGS@
14     MKDEP = @MKDEP@
15     STDOUT = @STDOUT@
16     MV = @MV@
17     RM = @RM@
18     SED = @SED@
19    
20     prefix = @prefix@
21     exec_prefix = $(DESTDIR)@exec_prefix@
22     bindir = $(DESTDIR)@bindir@
23     sysconfdir = $(DESTDIR)@sysconfdir@
24     localstatedir = $(DESTDIR)@localstatedir@
25    
26     # must not have whitespace here
27     CLOBBER=@CLOBBER@
28    
29     # If you wish to change this, look in include/defaults.h also and change SPATH
30     PROGS = ircd
31    
32     SSL_LIBS = @SSL_LIBS@
33     SSL_INCLUDES = @SSL_INCLUDES@
34 adx 59 IRCDLIBS = @MODULES_LIBS@ @LIBS@ ../libio/libio.a $(SSL_LIBS)
35 adx 69 INCLUDES = -I../include -I../libio $(SSL_INCLUDES)
36 adx 185 CPPFLAGS = ${INCLUDES} -DIN_IRCD @CPPFLAGS@
37    
38 adx 30 default: all
39    
40     y.tab.o: y.tab.c ircd_parser.y
41     ${CC} ${CPPFLAGS} ${CFLAGS} -I. -c y.tab.c
42    
43     lex.yy.o: y.tab.c lex.yy.c ircd_lexer.l
44     ${CC} ${CPPFLAGS} ${CFLAGS} -I. -c lex.yy.c
45    
46     SSL_SRCS = rsa.c
47    
48 adx 89 SRCS = \
49 adx 475 conf/admin.c \
50     conf/channel.c \
51     conf/conf.c \
52     conf/general.c \
53     conf/logging.c \
54     conf/modules.c \
55     conf/operator.c \
56     conf/serverhide.c \
57     conf/serverinfo.c \
58 adx 30 channel.c \
59     channel_mode.c \
60     client.c \
61     csvlib.c \
62     getopt.c \
63     hash.c \
64     hostmask.c \
65     ircd.c \
66     ircd_signal.c \
67     lex.yy.c \
68     listener.c \
69     m_error.c \
70 nenolod 296 metadata.c \
71 adx 30 motd.c \
72     numeric.c \
73     packet.c \
74     parse.c \
75 db 91 parse_aline.c \
76 adx 30 restart.c \
77     resv.c \
78     @SSL_SRCS_ENABLE@ \
79     s_auth.c \
80     s_conf.c \
81     s_gline.c \
82     s_serv.c \
83     s_stats.c \
84     s_user.c \
85     send.c \
86     version.c \
87 michael 217 watch.c \
88 adx 30 whowas.c \
89     y.tab.c
90    
91     OBJS = ${SRCS:.c=.o}
92    
93     all: .depend ircd
94    
95     build: all
96    
97 adx 59 ircd: @MODULES_LIBS@ ../libio/libio.a $(OBJS)
98 adx 30 ${CC} ${CFLAGS} ${LDFLAGS} -o $@ ${OBJS} ${IRCDLIBS}
99    
100     ../modules/libmodules.a:
101     cd ../modules && ${MAKE} ${MFLAGS}
102 adx 59 ../libio/libio.a:
103     cd ../libio && ${MAKE} ${MFLAGS}
104 adx 30
105     install-mkdirs:
106     mkdir -p $(DESTDIR)$(prefix) $(exec_prefix) $(bindir) $(sysconfdir) \
107     $(localstatedir)/logs
108    
109     install: install-mkdirs build
110     @for i in $(PROGS); do \
111     if test -f $(bindir)/$$i -a -z "$(CLOBBER)"; then \
112     echo $(MV) $(bindir)/$$i $(bindir)/$$i.old; \
113     $(MV) $(bindir)/$$i $(bindir)/$$i.old; \
114     fi; \
115     echo $(INSTALL_BIN) $$i $(bindir); \
116     $(INSTALL_BIN) $$i $(bindir); \
117     done
118    
119     # this is really the default rule for c files
120     .c.o:
121 knight 110 ${CC} ${CPPFLAGS} ${CFLAGS} -c -o ${<:.c=.o} $<
122 adx 30
123     .depend:
124 adx 59 ${MKDEP} ${CPPFLAGS} ${SRCS} ${STDOUT}
125 adx 30 @${SED} -e '/^# Autogenerated - do not delete/,$$d' <Makefile >Makefile.depend
126     @echo "# Autogenerated - do not delete" >> Makefile.depend
127     @echo "include .depend" >> Makefile.depend
128     @${MV} Makefile.depend Makefile
129    
130     clean:
131 michael 502 ${RM} -f *.o conf/*.o *.exe *~ *core ircd
132 adx 30
133     distclean: clean
134     ${RM} -f Makefile .depend
135    
136     .PHONY: clean distclean install install-mkdirs build

Properties

Name Value
svn:eol-style native
svn:keywords Id Revision

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28