diff options
author | Vincent Sanders <vince@kyllikki.org> | 2015-04-02 15:51:39 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2015-04-02 15:51:39 +0100 |
commit | 2d6282f46bf44ea82ea9cc562f62af4456714052 (patch) | |
tree | 9366c5be3e0e91b219f55fc99f2fed0e7ef66861 /Makefile | |
parent | ee700511bdd5af06304382abf0d6ff4cc9bd43f0 (diff) | |
download | libnsutils-2d6282f46bf44ea82ea9cc562f62af4456714052.tar.gz libnsutils-2d6282f46bf44ea82ea9cc562f62af4456714052.tar.bz2 |
Added pread and pwrite wrappers.
This adds wrappers for the pread and pwrite standard calls with fixed
semantics across all supported platforms.
The main variation (so far) is some platforms not having the calls at
all and AmigaOS not allowing seeks beyond existing extents.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1,6 +1,12 @@ +#!/bin/make +# +# Makefile for libnsutils +# +# Copyright 2014-1015 Vincent Sanders <vince@netsurf-browser.org> + # Component settings COMPONENT := nsutils -COMPONENT_VERSION := 0.0.1 +COMPONENT_VERSION := 0.0.2 # Default to a static library COMPONENT_TYPE ?= lib-static @@ -16,6 +22,7 @@ TESTRUNNER = test/runtest.sh $(BUILDDIR) $(EXEEXT) WARNFLAGS := -Wall -W -Wundef -Wpointer-arith -Wcast-align \ -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \ -Wmissing-declarations -Wnested-externs + CFLAGS := -I$(CURDIR)/include/ -I$(CURDIR)/src $(WARNFLAGS) $(CFLAGS) ifneq ($(GCCVER),2) CFLAGS := $(CFLAGS) -std=c99 |