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

Contents of /ircd-hybrid/servlink/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 33 - (show annotations)
Sun Oct 2 20:50:00 2005 UTC (14 years, 11 months ago) by knight
File size: 1692 byte(s)
- svn:keywords

1 #
2 # Makefile.in for servlink/src
3 #
4 # $Id$
5 #
6
7 CC = @CC@
8 INSTALL = @INSTALL@
9 INSTALL_BIN = @INSTALL_PROGRAM@
10 CFLAGS = @IRC_CFLAGS@
11 LDFLAGS = @LDFLAGS@
12 MKDEP = @MKDEP@
13 STDOUT = @STDOUT@
14 MV = @MV@
15 RM = @RM@
16 SED = @SED@
17 prefix = @prefix@
18 exec_prefix = $(DESTDIR)@exec_prefix@
19 bindir = $(DESTDIR)@bindir@
20
21 CLOBBER=@CLOBBER@
22
23 SSL_LIBS = @SSL_LIBS@
24 SSL_INCLUDES = @SSL_INCLUDES@
25 ZIP_LIB = @ZLIB_LD@
26
27 IRCDLIBS = @LIBS@ $(SSL_LIBS) $(ZIP_LIB)
28
29 INCLUDES = -I. -I../include $(SSL_INCLUDES)
30 CPPFLAGS = ${INCLUDES} @CPPFLAGS@
31
32 PROGS = servlink
33
34 SOURCES = \
35 servlink.c \
36 io.c \
37 control.c
38
39 OBJECTS = ${SOURCES:.c=.o}
40
41 all: .depend servlink
42
43 build: all
44
45 servlink: ${OBJECTS}
46 ${CC} ${CFLAGS} ${LDFLAGS} -o $@ ${OBJECTS} ${IRCDLIBS}
47
48 install: build
49 mkdir -p $(bindir)
50 @for i in $(PROGS); do \
51 if test -f $(bindir)/$$i -a -z "$(CLOBBER)"; then \
52 echo $(MV) $(bindir)/$$i $(bindir)/$$i.old; \
53 $(MV) $(bindir)/$$i $(bindir)/$$i.old; \
54 fi; \
55 echo $(INSTALL_BIN) $$i $(bindir); \
56 $(INSTALL_BIN) $$i $(bindir); \
57 done
58
59 .c.o:
60 ${CC} ${CPPFLAGS} ${CFLAGS} -c $<
61
62 .depend:
63 ${MKDEP} ${CPPFLAGS} ${SOURCES} ${STDOUT}
64 @${SED} -e '/^# Autogenerated - do not delete/,$$d' <Makefile >Makefile.depend
65 @echo '# Autogenerated - do not delete' >>Makefile.depend
66 @echo 'include .depend' >> Makefile.depend
67 @${MV} Makefile.depend Makefile
68
69 clean:
70 ${RM} -f $(OBJECTS) servlink
71
72 distclean: clean
73 ${RM} -f Makefile .depend
74
75 .PHONY: clean distclean install build

Properties

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

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