1 # $Id: Makefile.in 117 2006-10-15 17:41:44Z spb $
5 INSTALL_BIN
= @INSTALL_PROGRAM@
6 INSTALL_DATA
= @INSTALL_DATA@
7 INSTALL_SUID
= @INSTALL_PROGRAM@
-o root
-m
4755
11 CFLAGS
= @IRC_CFLAGS@
-DIRCD_PREFIX
=\"@
prefix@
\"
13 MKDEP
= @MKDEP@
-DIRCD_PREFIX
=\"@
prefix@
\"
19 INCLUDES
= -I..
/include
20 CPPFLAGS
= ${INCLUDES} @CPPFLAGS@
23 exec_prefix = @
exec_prefix@
25 libexecdir
= @libexecdir@
27 localstatedir
= @localstatedir@
29 PROGS
= viconf mkpasswd convertilines convertklines
36 $(CC
) $(CFLAGS
) $(LDFLAGS
) $(INCLUDES
) mkpasswd.c
-o mkpasswd
$(IRCDLIBS
)
39 $(CC
) $(CFLAGS
) $(LDFLAGS
) $(INCLUDES
) viconf.c
-o viconf
$(IRCDLIBS
)
41 convertilines
: convertilines.c
42 $(CC
) $(CFLAGS
) $(LDFLAGS
) $(INCLUDES
) convertilines.c
-o convertilines
$(IRCDLIBS
)
44 convertklines
: convertklines.c
45 $(CC
) $(CFLAGS
) $(LDFLAGS
) $(INCLUDES
) convertklines.c
-o convertklines
$(IRCDLIBS
)
48 $(RM
) -f encspeed viconf chkconf mkpasswd
*~ core
*.exe convertklines convertilines
54 lint
-aacgprxhH
$(CPPFLAGS
) -DIRCD_PREFIX
=\"@
prefix@
\" $(convertklines_SOURCES
) $(mkpasswd_SOURCES
) $(viconf_SOURCES
) $(encspeed_SOURCES
) >>..
/lint.out
59 $(CC
) $(CFLAGS
) $(INCLUDES
) $(CPPFLAGS
) -c
$<
63 viconf.o
: ..
/include/config.h ..
/include/setup.h
68 exec_prefix = @
exec_prefix@
69 exec_suffix
= @exec_suffix@
71 libexecdir
= @libexecdir@
73 localstatedir
= @localstatedir@
74 # Change this later! -- adrian
75 moduledir
= @moduledir@
76 automoduledir
= @moduledir@
/autoload
81 -@if
test ! -d
$(DESTDIR
)$(prefix); then \
82 echo
"ircd: setting up tools directory structure"; \
83 mkdir
-p
$(DESTDIR
)$(prefix); \
85 -@if
test ! -d
$(DESTDIR
)$(exec_prefix); then \
86 mkdir
-p
$(DESTDIR
)$(exec_prefix); \
88 -@if
test ! -d
$(DESTDIR
)$(bindir); then \
89 mkdir
-p
$(DESTDIR
)$(bindir); \
92 install: install-mkdirs build
93 @echo
"ircd: installing tools ($(PROGS))"
94 @for i in
$(PROGS
); do \
95 if
test -f
$(DESTDIR
)$(bindir)/$$i; then \
96 $(MV
) $(DESTDIR
)$(bindir)/$$i $(DESTDIR
)$(bindir)/$$i.old
; \
98 $(INSTALL_BIN
) $$i $(DESTDIR
)$(bindir); \
100 $(RM
) -f
$(DESTDIR
)$(bindir)/vimotd
$(DESTDIR
)$(bindir)/viklines
101 $(LN
) $(DESTDIR
)$(bindir)/viconf
$(DESTDIR
)$(bindir)/vimotd
102 $(LN
) $(DESTDIR
)$(bindir)/viconf
$(DESTDIR
)$(bindir)/viklines