root/psad/tags/psad-2.0.2-pre5/Makefile

Revision 1517, 1.6 kB (checked in by mbr, 3 years ago)

-O suggestion from Blair

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 #
2 ##########################################################################
3 #
4 #  Author: Michael Rash (mbr@cipherdyne.org)
5 #
6 #  Credits:  (see the CREDITS file)
7 #
8 #  Version: 1.4.1
9 #
10 #  Copyright (C) 1999-2002 Michael Rash (mbr@cipherdyne.org)
11 #
12 #  License (GNU Public License):
13 #
14 #     This program is distributed in the hope that it will be useful,
15 #     but WITHOUT ANY WARRANTY; without even the implied warranty of
16 #     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 #     GNU General Public License for more details.
18 #
19 #     You should have received a copy of the GNU General Public License
20 #     along with this program; if not, write to the Free Software
21 #     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
22 #     USA
23 #
24 ##########################################################################
25 #
26 #  $Id$
27 #
28
29 ### default
30 all : kmsgsd.c psadwatchd.c psad_funcs.c strlcpy.c strlcat.c psad.h
31         /usr/bin/gcc -Wall -O kmsgsd.c psad_funcs.c strlcpy.c strlcat.c -o kmsgsd
32         /usr/bin/gcc -Wall -O psadwatchd.c psad_funcs.c strlcpy.c strlcat.c -o psadwatchd
33
34 ### debug mode
35 debug : kmsgsd.c psadwatchd.c psad_funcs.c strlcpy.c strlcat.c psad.h
36         /usr/bin/gcc -Wall -g -DDEBUG kmsgsd.c psad_funcs.c strlcpy.c strlcat.c -o kmsgsd
37         /usr/bin/gcc -Wall -g -DDEBUG psadwatchd.c psad_funcs.c strlcpy.c strlcat.c -o psadwatchd
38
39 #install : kmsgsd
40 #       if [ -x kmsgsd ]; then \
41 #               /bin/cp kmsgsd /usr/sbin/kmsgsd
42
43 clean :
44         if [ -f a.out ]; then rm a.out; fi
45         if [ -f core ]; then rm core; fi
46         if [ -f kmsgsd ]; then rm kmsgsd; fi
47         if [ -f psadwatchd ]; then rm psadwatchd; fi
Note: See TracBrowser for help on using the browser.