1# 2# Copyright (C) 2005 Meder Kydyraliev <meder@o0o.nu> 3# Copyright (C) 2001 Fyodor Yarochkin <fygrave@tigerteam.net> 4# 5# This program is free software; you can redistribute it and/or modify 6# it under the terms of the GNU General Public License as published by 7# the Free Software Foundation; either version 2 of the License, or 8# (at your option) any later version. 9# 10# This program is distributed in the hope that it will be useful, 11# but WITHOUT ANY WARRANTY; without even the implied warranty of 12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13# GNU General Public License for more details. 14# 15# You should have received a copy of the GNU General Public License 16# along with this program; if not, write to the Free Software 17# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 18 19 20CC=@CC@ 21CXX=@CXX@ 22INSTALL=@INSTALL@ 23INSTALL_PROGRAM=@INSTALL_PROGRAM@ 24INSTALL_DATA=@INSTALL_DATA@ 25RANLIB=@RANLIB@ 26DESTDIR= 27prefix=@prefix@ 28exec_prefix=@exec_prefix@ 29bindir=@bindir@ 30mandir=@mandir@ 31PACKAGE=@PACKAGE@ 32VERSION=@VERSION@ 33CPPFLAGS=@CPPFLAGS@ 34CFLAGS=@CFLAGS@ @CPPFLAGS@ -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ 35LDFLAGS=@LDFLAGS@ -L../../xplib 36SOLDFLAGS=@SOLDFLAGS@ 37LIBS=@LIBS@ -lxplib 38DYNFLAGS=@DYNFLAGS@ 39XPLIB=../../xplib/libxplib.a 40INCLUDES= 41CXXSOURCES=smbutil.cc smb.cc smb_mod.cc 42OBJS=${CXXSOURCES:.cc=.o} ${CSOURCES:.c=.o} 43 44all: smb 45 46smb: $(OBJS) 47 @echo "smb done" 48 49.c.o: $(INCLUDES) 50 $(CC) -c $(CFLAGS) $< 51 52.cc.o: $(INCLUDES) 53 $(CXX) -c ${CFLAGS} $< 54 55clean: 56 rm -f core *.o *.so 57 58distclean: clean 59 rm -f Makefile 60