PKG_CPPFLAGS=@cflags@
PKG_OBJCXXFLAGS=$(CXX17STD) @objcflags@

DARWIN_LIBS = -framework CoreText -framework Foundation
DARWIN_OBJECTS = mac/FontManagerMac.o
UNIX_OBJECTS = unix/FontManagerLinux.o

PKG_LIBS = @libs@ $(@SYS@_LIBS)
OBJECTS = caches.o cpp11.o dev_metrics.o font_matching.o font_local.o font_variation.o \
  font_registry.o ft_cache.o string_shape.o font_metrics.o font_outlines.o \
  font_fallback.o string_metrics.o emoji.o cache_store.o init.o $(@SYS@_OBJECTS)

all: clean

clean:
	rm -f $(SHLIB) $(OBJECTS)
