# -------------------------------------------------------------------- 
# SMS Client, send messages to mobile phones and pagers		
#									
# Makefile.config							
#									
#  Copyright (C) 1997,1998,1999,2000 Angelo Masci				
#									
#  This library is free software; you can redistribute it and/or	
#  modify it under the terms of the GNU Library General Public		
#  License as published by the Free Software Foundation; either	
#  version 2 of the License, or (at your option) any later version.	
#									
#  This library 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	
#  Library General Public License for more details.			
#									
#  You should have received a copy of the GNU Library General Public	
#  License along with this library; if not, write to the Free		
#  Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.	
#									
#  You can contact the author at this e-mail address:			
#									
#  angelo@styx.demon.co.uk						
#									
# -------------------------------------------------------------------- 
# $Id$
# -------------------------------------------------------------------- 

# --------------------------------------------------------------------
# FreeBSD
# --------------------------------------------------------------------

PLATFORM = -DFREEBSD
CC       = gcc
MAKE     = make
CFLAGS   = -g -I. -Wall -pedantic $(PLATFORM)
XTRALIBS = 

# --------------------------------------------------------------------

SMSUSER   = bin
SMSGROUP  = bin

# --------------------------------------------------------------------

BINPREFIX = $(PREFIX)
ETCPREFIX = $(PREFIX)
MANPREFIX = $(PREFIX)
SPOOLDIR  = $(PREFIX)/var/spool
LOGDIR    = $(PREFIX)/var/log

MLOCALSMSRC   = .sms_addressbook
MGLOBALSMSRC  = $(ETCPREFIX)/etc/sms/sms_addressbook
MSERVICEDIR   = $(ETCPREFIX)/etc/sms
MLOGFILE      = $(LOGDIR)/smslog
MSNPPDLOGFILE = $(LOGDIR)/snppdlog
MSMSDLOGFILE  = $(LOGDIR)/smsdlog

# --------------------------------------------------------------------
# SMS_Client can be built to use the libmodem package or
# its own internal modem routines. Currently the internal routines
# are known to be unstable and are still considered to be in ALPHA
# Valid Values for MODEMLIB are:
#
#	$(LIBMODEM) - use the libmodem-1.0.0 packages with patches
# 	$(SMSMODEM) - use the internal modem routines

LIBMODEM = 1
SMSMODEM = 2

MODEMLIB = $(SMSMODEM)

# --------------------------------------------------------------------

BINDIR  = $(BINPREFIX)/bin
ETCDIR  = $(ETCPREFIX)/etc
MANDIR  = $(MANPREFIX)/man
MANEXT  = 1
INSTALL = /usr/bin/install -c
RM      = /bin/rm -f
CP      = /bin/cp
TR	= /usr/bin/tr
AR	= /usr/bin/ar -rc
STRIP   = /usr/bin/strip
RANLIB  = ranlib 

# --------------------------------------------------------------------
