ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/src/Makefile.in
Revision: 296
Committed: Mon Dec 5 20:41:51 2005 UTC (20 years, 8 months ago) by nenolod
File size: 2603 byte(s)
Log Message:
- Add a simple metadata API for extending channel/client/whatever structs
  via adding a single dlink_list to the structure you wish to make extensible.

Reviewed by db.

File Contents

# User Rev Content
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 30 channel.c \
50     channel_mode.c \
51     client.c \
52     csvlib.c \
53     @DYNLINK_C@ \
54     getopt.c \
55     hash.c \
56     hostmask.c \
57     ircd.c \
58     ircd_signal.c \
59     lex.yy.c \
60     listener.c \
61     m_error.c \
62 nenolod 296 metadata.c \
63 adx 30 modules.c \
64     motd.c \
65     numeric.c \
66     packet.c \
67     parse.c \
68 db 91 parse_aline.c \
69 adx 30 restart.c \
70     resv.c \
71     @SSL_SRCS_ENABLE@ \
72     s_auth.c \
73     s_conf.c \
74     s_gline.c \
75     s_serv.c \
76     s_stats.c \
77     s_user.c \
78     send.c \
79     version.c \
80 michael 217 watch.c \
81 adx 30 whowas.c \
82     y.tab.c
83    
84     OBJS = ${SRCS:.c=.o}
85    
86     all: .depend ircd
87    
88     build: all
89    
90 adx 59 ircd: @MODULES_LIBS@ ../libio/libio.a $(OBJS)
91 adx 30 ${CC} ${CFLAGS} ${LDFLAGS} -o $@ ${OBJS} ${IRCDLIBS}
92    
93     ../modules/libmodules.a:
94     cd ../modules && ${MAKE} ${MFLAGS}
95 adx 59 ../libio/libio.a:
96     cd ../libio && ${MAKE} ${MFLAGS}
97 adx 30
98     install-mkdirs:
99     mkdir -p $(DESTDIR)$(prefix) $(exec_prefix) $(bindir) $(sysconfdir) \
100     $(localstatedir)/logs
101    
102     install: install-mkdirs build
103     @for i in $(PROGS); do \
104     if test -f $(bindir)/$$i -a -z "$(CLOBBER)"; then \
105     echo $(MV) $(bindir)/$$i $(bindir)/$$i.old; \
106     $(MV) $(bindir)/$$i $(bindir)/$$i.old; \
107     fi; \
108     echo $(INSTALL_BIN) $$i $(bindir); \
109     $(INSTALL_BIN) $$i $(bindir); \
110     done
111    
112     # this is really the default rule for c files
113     .c.o:
114 knight 110 ${CC} ${CPPFLAGS} ${CFLAGS} -c -o ${<:.c=.o} $<
115 adx 30
116     .depend:
117 adx 59 ${MKDEP} ${CPPFLAGS} ${SRCS} ${STDOUT}
118 adx 30 @${SED} -e '/^# Autogenerated - do not delete/,$$d' <Makefile >Makefile.depend
119     @echo "# Autogenerated - do not delete" >> Makefile.depend
120     @echo "include .depend" >> Makefile.depend
121     @${MV} Makefile.depend Makefile
122    
123     clean:
124     ${RM} -f *.o *.exe *~ *core ircd
125    
126     distclean: clean
127     ${RM} -f Makefile .depend
128    
129     .PHONY: clean distclean install install-mkdirs build

Properties

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