Sha256: 2272b8fab065b0229e2bb439a44fd1765ae908e8e12fc321b4fc544ff32da9e7

Contents?: true

Size: 914 Bytes

Versions: 9

Compression:

Stored size: 914 Bytes

Contents

###############################################################################
#
# Simplied Makefile to build the minizip objects for the libxlsxwriter library.
#

# Keep the output quiet by default.
Q=@
ifdef V
Q=
endif

UNAME := $(shell uname -sr)

# Check for MinGW/MinGW64/Cygwin environments.
ifneq (,$(findstring MINGW, $(UNAME)))
MING_LIKE = y
endif
ifneq (,$(findstring MSYS, $(UNAME)))
MING_LIKE = y
endif
ifneq (,$(findstring CYGWIN, $(UNAME)))
MING_LIKE = y
endif

FPIC = -fPIC
CFLAGS += -O3 -DNOCRYPT -DNOUNCRYPT

# Change make options on MinGW/MinGW64/Cygwin.
ifdef MING_LIKE
FPIC =
CC = gcc
CFLAGS += -DUSE_FILE32API
endif

# Fix for modified zconf.h on Gentoo.
ifneq (,$(findstring gentoo, $(UNAME)))
CFLAGS += -DOF=_Z_OF
endif

all: ioapi.o zip.o  ioapi.so zip.so

%.o  : %.c
	$(Q)$(CC)         -c $(CFLAGS) $<

%.so : %.c
	$(Q)$(CC) $(FPIC) -c $(CFLAGS) $< -o $@

clean:
	$(Q)/bin/rm -f *.o *.so

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
fast_excel-0.4.1 libxlsxwriter/third_party/minizip/Makefile
fast_excel-0.4.0 libxlsxwriter/third_party/minizip/Makefile
fast_excel-0.3.0 libxlsxwriter/third_party/minizip/Makefile
fast_excel-0.2.6 libxlsxwriter/third_party/minizip/Makefile
xlsxwriter-0.0.6 ext/xlsxwriter/libxlsxwriter/third_party/minizip/Makefile
fast_excel-0.2.5 libxlsxwriter/third_party/minizip/Makefile
xlsxwriter-0.0.5 ext/xlsxwriter/libxlsxwriter/third_party/minizip/Makefile
xlsxwriter-0.0.4 ext/xlsxwriter/libxlsxwriter/third_party/minizip/Makefile
xlsxwriter-0.0.4.pre.2 ext/xlsxwriter/libxlsxwriter/third_party/minizip/Makefile