include $(SRCDIR)/config/aros.cfg JPEGVERSION=9f REPOSITORIES := https://ijg.org/files ARCHBASE := jpegsrc.v$(JPEGVERSION) ARCHDIR := jpeg-$(JPEGVERSION) ARCHSUFFIX := "tar.gz" PATCHSPEC := $(ARCHBASE)-aros.diff:$(ARCHDIR):-f,-p1 ARCHSRCDIR := $(PORTSDIR)/jpeg/$(ARCHDIR) %fetch mmake=jpeg-fetch archive=$(ARCHBASE) destination=$(PORTSDIR)/jpeg \ location=$(PORTSSOURCEDIR) archive_origins=$(REPOSITORIES) suffixes=$(ARCHSUFFIX) \ patches_specs=$(PATCHSPEC) %create_patch mmake=jpeg-create-patch \ archive=$(ARCHBASE) srcdir=$(ARCHDIR) suffixes=$(ARCHSUFFIX) \ destination=$(PORTSDIR)/jpeg #MM- includes-copy : \ #MM jpeg-fetch #MM workbench-libs-jpeg-includes : \ #MM kernel-exec-includes \ #MM kernel-dos-includes \ #MM includes-copy FILES := jaricom jcapimin jcapistd jcarith jccoefct jccolor \ jcdctmgr jchuff jcinit jcmainct jcmarker jcmaster \ jcomapi jcparam jcprepct jcsample jctrans jdapimin \ jdapistd jdarith jdatadst jdatasrc jdcoefct jdcolor \ jddctmgr jdhuff jdinput jdmainct jdmarker jdmaster \ jdmerge jdpostct jdsample jdtrans jerror jfdctflt \ jfdctfst jfdctint jidctflt jidctfst jidctint jquant1 \ jquant2 jutils jmemmgr jmemamiga jdatadstsrc9e # We trust upstream NOWARN_FLAGS := -Wno-main USER_CFLAGS := $(NOWARN_FLAGS) USER_CPPFLAGS := -DNO_GETENV #MM- core-linklibs : linklibs-jpeg %build_module mmake=workbench-libs-jpeg \ modname=jfif modtype=library uselibs="crtmod" \ files="$(addprefix $(ARCHSRCDIR)/,$(FILES))" linklibname=jpeg INCLUDE_FILES := jerror.h jmorecfg.h jpeglib.h jconfig.h %copy_includes dir=$(ARCHSRCDIR) %common