head	1.2;
access;
symbols
	netbsd-10-1-RELEASE:1.1.1.3
	netbsd-8-3-RELEASE:1.1.1.1
	netbsd-9-4-RELEASE:1.1.1.3
	netbsd-10-0-RELEASE:1.1.1.3
	netbsd-10-0-RC6:1.1.1.3
	netbsd-10-0-RC5:1.1.1.3
	netbsd-10-0-RC4:1.1.1.3
	netbsd-10-0-RC3:1.1.1.3
	netbsd-10-0-RC2:1.1.1.3
	netbsd-10-0-RC1:1.1.1.3
	netbsd-10:1.1.1.3.0.4
	netbsd-10-base:1.1.1.3
	pixman-0-42-2:1.1.1.3
	netbsd-9-3-RELEASE:1.1.1.3
	netbsd-9-2-RELEASE:1.1.1.3
	netbsd-9-1-RELEASE:1.1.1.3
	netbsd-8-2-RELEASE:1.1.1.1
	netbsd-9-0-RELEASE:1.1.1.3
	netbsd-9-0-RC2:1.1.1.3
	netbsd-9-0-RC1:1.1.1.3
	netbsd-9:1.1.1.3.0.2
	netbsd-9-base:1.1.1.3
	pixman-0-38-4:1.1.1.3
	netbsd-8-1-RELEASE:1.1.1.1
	netbsd-8-1-RC1:1.1.1.1
	pixman-0-38-0:1.1.1.2
	pixman-0-36-0:1.1.1.2
	netbsd-7-2-RELEASE:1.1.1.1
	netbsd-8-0-RELEASE:1.1.1.1
	netbsd-8-0-RC2:1.1.1.1
	netbsd-8-0-RC1:1.1.1.1
	netbsd-7-1-2-RELEASE:1.1.1.1
	netbsd-7-1-1-RELEASE:1.1.1.1
	netbsd-8:1.1.1.1.0.10
	netbsd-8-base:1.1.1.1
	netbsd-7-1:1.1.1.1.0.8
	netbsd-7-1-RELEASE:1.1.1.1
	pixman-0-34-0:1.1.1.1
	netbsd-7-1-RC2:1.1.1.1
	netbsd-7-1-RC1:1.1.1.1
	netbsd-7-0-2-RELEASE:1.1.1.1
	netbsd-7-0-1-RELEASE:1.1.1.1
	netbsd-7-0:1.1.1.1.0.6
	netbsd-7-0-RELEASE:1.1.1.1
	netbsd-7-0-RC3:1.1.1.1
	netbsd-7-0-RC2:1.1.1.1
	netbsd-7-0-RC1:1.1.1.1
	netbsd-7:1.1.1.1.0.4
	netbsd-7-base:1.1.1.1
	pixman-0-32-6:1.1.1.1
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.1.1.1
	pixman-0-32-4:1.1.1.1
	riastradh-drm2:1.1.1.1.0.2
	riastradh-drm2-base:1.1.1.1
	pixman-0-30-0:1.1.1.1
	pixman-0-28-2:1.1.1.1
	xorg:1.1.1;
locks; strict;
comment	@# @;


1.2
date	2025.07.22.19.23.06;	author mrg;	state dead;
branches;
next	1.1;
commitid	3122IBtpc9e4dM3G;

1.1
date	2013.01.31.10.28.46;	author jmcneill;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2013.01.31.10.28.46;	author jmcneill;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	2018.12.30.08.55.27;	author mrg;	state Exp;
branches;
next	1.1.1.3;
commitid	BDt5Wugh6MBKKN5B;

1.1.1.3
date	2019.06.01.06.43.05;	author mrg;	state Exp;
branches;
next	;
commitid	8MGIJT7rWNmq6spB;


desc
@@


1.2
log
@merge pixman 0.46.4.
@
text
@LIBRARY = pixman-1

CC = cl
LD = link
AR = lib
PERL = perl

ifeq ($(top_builddir),)
top_builddir = $(top_srcdir)
endif

CFG_VAR = $(CFG)
ifeq ($(CFG_VAR),)
CFG_VAR = release
endif

ifeq ($(CFG_VAR),debug)
CFG_CFLAGS  = -MDd -Od -Zi
CFG_LDFLAGS = -DEBUG
else
CFG_CFLAGS  = -MD -O2
CFG_LDFLAGS =
endif

# Package definitions, to be used instead of those provided in config.h
PKG_CFLAGS  = -DPACKAGE=$(LIBRARY) -DPACKAGE_VERSION="" -DPACKAGE_BUGREPORT=""

BASE_CFLAGS = -nologo -I. -I$(top_srcdir) -I$(top_srcdir)/pixman

PIXMAN_CFLAGS  = $(BASE_CFLAGS) $(PKG_CFLAGS) $(CFG_CFLAGS) $(CFLAGS)
PIXMAN_LDFLAGS = -nologo $(CFG_LDFLAGS) $(LDFLAGS)
PIXMAN_ARFLAGS = -nologo $(LDFLAGS)


inform:
ifneq ($(CFG),release)
ifneq ($(CFG),debug)
ifneq ($(CFG),)
	@@echo "Invalid specified configuration option: "$(CFG)"."
	@@echo
	@@echo "Possible choices for configuration are 'release' and 'debug'"
	@@exit 1
endif
	@@echo "Using default RELEASE configuration... (use CFG=release or CFG=debug)"
endif
endif


$(CFG_VAR)/%.obj: %.c $(libpixman_headers)
	@@mkdir -p $(CFG_VAR)
	@@$(CC) -c $(PIXMAN_CFLAGS) -Fo"$@@" $<

clean: inform
	@@$(RM) $(CFG_VAR)/*.{exe,ilk,lib,obj,pdb} $(BUILT_SOURCES) || exit 0

.PHONY: inform clean
@


1.1
log
@Initial revision
@
text
@@


1.1.1.1
log
@initial import of pixman-0.28.2
@
text
@@


1.1.1.2
log
@initial import of pixman-0.36.0
@
text
@a7 4
ifneq ($(shell echo ""),)
RM = del
endif

a47 2
$(CFG_VAR):
	@@mkdir $@@
d49 2
a50 1
$(CFG_VAR)/%.obj: %.c $(libpixman_headers) | $(CFG_VAR)
d53 2
a54 2
clean: inform $(CFG_VAR)
	@@cd $(CFG_VAR) && echo > silence_error.exe && $(RM) *.exe *.ilk *.lib *.obj *.pdb
@


1.1.1.3
log
@initial import of pixman-0.38.4
@
text
@a2 12
ifeq ($(shell echo ""),)
# POSIX style shell
mkdir_p = mkdir -p $1
rm = $(RM) $1
echo = echo "$1"
else
# DOS/Windows style shell
mkdir_p = if not exist $(subst /,\,$1) md $(subst /,\,$1)
echo = echo $1
rm = del $(subst /,\,$1)
endif

d53 1
a53 1
	@@$(call mkdir_p,$@@)
d56 1
a56 1
	$(CC) -c $(PIXMAN_CFLAGS) -Fo"$@@" $<
d59 1
a59 1
	-$(call rm,$(CFG_VAR)/*.exe $(CFG_VAR)/*.ilk $(CFG_VAR)/*.lib $(CFG_VAR)/*.obj $(CFG_VAR)/*.pdb)
@


