#
# ============================================================================
#
# This is the Makefile for the uu library, part of the uudeview package.
# The values here were guessed by ./configure and are probably correct.
#
# Usefull targets
# all Compile the package
# clean Deletes the binaries and objects and all the
# other dirty stuff.
#
# ============================================================================
#
# $Id: Makefile.in,v 1.6 2002/03/11 09:15:46 fp Exp $
#
# your make might need this
#
SHELL = /bin/sh
#
# If you don't have the GNU C compiler installed, set CC=cc here
#
CC = @CC@
#
# C Compiler Options
#
CFLAGS = @CFLAGS@ -I. @CPPFLAGS@ @DEFS@
#
# the ranlib program
#
RANLIB = @RANLIB@
#
###############################################################################
# You shouldn't have to change anything below.
###############################################################################
#
# Programs to compile, Manpages to install and Versions
#
VERSION = @VERSION@
PATCH = @PATCH@
VDEF = -DVERSION=\"$(VERSION)\" -DPATCH=\"$(PATCH)\"
#
UULIB_SOURCE = uulib.c uucheck.c uunconc.c uuutil.c uuencode.c \
uuscan.c uustring.c fptools.c crc32.c
UULIB_OBJ = ${UULIB_SOURCE:.c=.o}
#
# make stuff
#
.SUFFIXES:
.SUFFIXES: .c .o
all: libuu.a
clean:
rm -f [Xx]deview gif2gfp
rm -f *.o *.a *.so core *~ TAGS
distclean: clean
rm -f config.status config.cache config.log Makefile config.h
rm -f uudeview-*tar* uudeview-sfx
realclean: distclean
new: clean
rm -f libuu.a
$(MAKE) all
libuu.a: $(UULIB_OBJ)
rm -f $@
ar r $@ $(UULIB_OBJ)
-$(RANLIB) $@
.c.o:
$(CC) -c $(CFLAGS) $(VDEF) $<
uuencode.o: uuencode.c uudeview.h uuint.h uustring.h fptools.h config.h
uulib.o: uulib.c uudeview.h uuint.h uustring.h fptools.h config.h
uunconc.o: uunconc.c uudeview.h uuint.h uustring.h fptools.h config.h
uucheck.o: uucheck.c uudeview.h uuint.h uustring.h fptools.h config.h
uuutil.o: uuutil.c uudeview.h uuint.h uustring.h fptools.h config.h
uuscan.o: uuutil.c uudeview.h uuint.h uustring.h fptools.h config.h
uustring.o: uustring.c uudeview.h uuint.h uustring.h config.h
fptools.o: fptools.c fptools.h config.h
uustring.h: uustring.c
awk -f uustring.awk < uustring.c > uustring.h
syntax highlighted by Code2HTML, v. 0.9.1