1
0
mirror of https://github.com/deadw00d/AROS.git synced 2025-12-08 06:20:50 +00:00
Files
AROS-v0/workbench/libs/jpeg/mmakefile.src
deadwood 36bf2305cc Add jpeg_stdio functions backwards compatible with 9e
9f jpeg_stdio functions are moved to new LVOs
2025-09-17 11:17:50 +02:00

52 lines
1.6 KiB
Plaintext

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