Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > media > main-release > by-pkgid > d3516bf0f0e855cd3070a62e1768a14c > files > 33

uucp-1.07-5mdv2008.1.x86_64.rpm

# $Id: Makefile,v 1.4 1994/04/14 17:47:52 kdburg Exp $
# Makefile for uurate 1.10
#

# Prefix directory for installation directories.
prefix = /usr/local

# Directory where the needed .h files are installed (uucp.h ...).
uucpsrcs = ../

# Where uurate is installed
BIN=$(prefix)/bin
# Where uurate's man is installed
MAN=$(prefix)/man/man1

# The directory to look in for Taylor style configuration files
newconfigdir = $(prefix)/conf/uucp

# Flags to use when compiling uurate
CC=gcc -O2
CFLAGS=-I.. -Wall
LDFLAGS=-s -lm

SHELL=/bin/sh
PROGS=uurate

#-----------
MORECFLAGS= -I. -I$(uucpsrcs) -DNEWCONFIGLIB=\"$(newconfigdir)\"

all: $(PROGS)

uurate: uurate.c
	$(CC) $(CFLAGS) $(MORECFLAGS) $@.c -o $@ $(LDFLAGS)

install: $(PROGS)
	cp $(PROGS) $(BIN)
	cp uurate.man $(MAN)/uurate.1

clean:
	rm -f $(PROGS) core