This repository has been archived by the owner on Aug 14, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.in
86 lines (73 loc) · 2.63 KB
/
Makefile.in
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
#************************************************************************
#* IRC - Internet Relay Chat, Makefile
#* Copyright (C) 1990, Jarkko Oikarinen
#*
#* This program is free software; you can redistribute it and/or modify
#* it under the terms of the GNU General Public License as published by
#* the Free Software Foundation; either version 1, or (at your option)
#* any later version.
#*
#* This program is distributed in the hope that it will be useful,
#* but WITHOUT ANY WARRANTY; without even the implied warranty of
#* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
#* GNU General Public License for more details.
#*
#* You should have received a copy of the GNU General Public License
#* along with this program; if not, write to the Free Software
#* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#*
#* $Id: Makefile.in,v 7.66 2005/09/03 06:05:35 michael Exp $
#*/
RM = @RM@
# Default make flags - you may want to uncomment this on a multicpu machine
#MFLAGS = -j 4
DEPEND_DIRS = lib modules src servlink
BUILD_DIRS = ${DEPEND_DIRS} tools
INSTALL_DIRS = ${BUILD_DIRS} etc doc help
CLEAN_DIRS = ${BUILD_DIRS} contrib
# Anywhere that we can make install, we obviously can rm -f Makefile
DISTCLEAN_DIRS = ${INSTALL_DIRS} contrib messages
prefix = $(DESTDIR)@prefix@
# The make used HAS to set $(MAKE). But then, if we don't do it this
# way, people lose the option to use a 'make' called something other
# than `make.' If it doesn't set $(MAKE), fall back to the old behavior
# by substing SET_MAKE.
@SET_MAKE@
all: build
build: include/setup.h depend
@for i in $(BUILD_DIRS); do \
echo "build ==> $$i";\
cd $$i && ${MAKE} ${MFLAGS} build || exit; cd ..;\
done
clean:
${RM} -f *~ core rsa_respond.tar rsa_respond.tar.gz
@for i in $(CLEAN_DIRS); do \
echo "clean ==> $$i";\
cd $$i && ${MAKE} ${MFLAGS} clean || exit; cd ..;\
done
-@if [ -f include/setup.h ] ; then \
echo "To really restart installation, ${MAKE} distclean" ; \
fi
distclean:
${RM} -f Makefile *~ *.rej *.orig *core
${RM} -f config.status config.cache config.log
${RM} -rf autom4te.cache
cd include; ${RM} -f setup.h *~ *.rej *.orig ; cd ..
@for i in $(DISTCLEAN_DIRS); do \
echo "distclean ==> $$i";\
cd $$i && ${MAKE} ${MFLAGS} distclean || exit; cd ..; \
done
depend:
@for i in $(DEPEND_DIRS); do \
echo "depend ==> $$i";\
cd $$i && ${MAKE} ${MFLAGS} .depend || exit; cd .. ; \
done
install: all
@for i in $(INSTALL_DIRS); do \
echo "install ==> $$i";\
cd $$i && ${MAKE} ${MFLAGS} install || exit; cd ..; \
done
include/setup.h:
@sh configure
# A la Linux kernel config :)
dep: depend