#   -*- Makefile -*-
# 
#   [$RCSfile: Makefile,v $ $Revision: 1.1 $]
# 
#	 Copyright Telenor Research and Development
# 
#   Note:
#
#	This makefile requires GNU make

SHELL = /bin/sh

ifndef TOP_DIR
TOP_DIR :=	..
endif

SOURCES :=	jcapimin.c	\
		jcapistd.c	\
		jccoefct.c	\
		jccolor.c	\
		jcdctmgr.c	\
		jchuff.c	\
		jcinit.c	\
		jcmainct.c	\
		jcmarker.c	\
		jcmaster.c	\
		jcomapi.c	\
		jcparam.c	\
		jcphuff.c	\
		jcprepct.c	\
		jcsample.c	\
		jctrans.c	\
		jdapimin.c	\
		jdapistd.c	\
		jdatadst.c	\
		jdatasrc.c	\
		jdcoefct.c	\
		jdcolor.c	\
		jddctmgr.c	\
		jdhuff.c	\
		jdinput.c	\
		jdmainct.c	\
		jdmarker.c	\
		jdmaster.c	\
		jdmerge.c	\
		jdphuff.c	\
		jdpostct.c	\
		jdsample.c	\
		jdtrans.c	\
		jerror.c	\
		jfdctflt.c	\
		jfdctfst.c	\
		jfdctint.c	\
		jidctflt.c	\
		jidctfst.c	\
		jidctint.c	\
		jidctred.c	\
		jmemmgr.c	\
		jmemnobs.c	\
		jquant1.c	\
		jquant2.c	\
		jutils.c	\
		memdec.c

compile: libjpeg.a

# pull in the standard rules

include $(TOP_DIR)/Makefile.rules

libjpeg.a: $(OBJ)
	$(AR) -cr $@ $(OBJ)

