# $Id: Makefile.in,v 1.7 2005/01/12 07:04:57 mederchik Exp $
#
# Copyright (C) 2001 Fyodor Yarochkin <fygrave@tigerteam.net>,
#                    Ofir Arkin       <ofir@sys-security.com>
#
# 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 2 of the License, 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.


CC=cc
CXX=c++
INSTALL=/usr/bin/install -c -o root -g wheel
INSTALL_PROGRAM=install  -s -o root -g wheel -m 555
INSTALL_DATA=install  -o root -g wheel -m 444
DESTDIR=
prefix=/usr/local
exec_prefix=${prefix}
bindir=${exec_prefix}/bin
mandir=${prefix}/man
PACKAGE=xprobe2
VERSION=0.3
CPPFLAGS=
CXXFLAGS=$(CPPFLAGS) -fno-common -I ../
CFLAGS=$(CPPFLAGS) -fno-common -I ../
LDFLAGS=
LIBS=-lpcap 
INSTALL=/usr/bin/install -c -o root -g wheel
RANLIB=ranlib
OBJS=xp_get_interface.o xp_get_iface_addr.o xp_get_random_data.o \
	xp_get_ping_payload.o xp_get_src_addr.o xp_sha1.o xp_lib.o


all: libxplib.a

libxplib.a: $(OBJS)
	ar cr libxplib.a *.o
	$(RANLIB) libxplib.a

 .c.o: $(INCLUDES)
	$(CC) -c $(CFLAGS) $<

.cc.o: $(INCLUDES)
	$(CXX) -c $(CFLAGS) $<

clean:
	rm -f libxplib.a core *.o

distclean: clean
	rm -f Makefile


syntax highlighted by Code2HTML, v. 0.9.1