mirror of
https://github.com/nodejs/node.git
synced 2024-11-29 15:06:33 +01:00
90fc8d3622
This might need to be changed in the future if ev is needed in thread pools or extension libraries. However for now it makes sense to just use a single loop.
25 lines
766 B
Makefile
25 lines
766 B
Makefile
# Define EVDIR=/foo/bar if your libev header and library files are in
|
|
# /foo/bar/include and /foo/bar/lib directories.
|
|
EVDIR=$(HOME)/local/libev
|
|
|
|
# Define GNUTLSDIR=/foo/bar if your gnutls header and library files are in
|
|
# /foo/bar/include and /foo/bar/lib directories.
|
|
#GNUTLSDIR=/usr
|
|
|
|
uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not')
|
|
uname_M := $(shell sh -c 'uname -m 2>/dev/null || echo not')
|
|
uname_O := $(shell sh -c 'uname -o 2>/dev/null || echo not')
|
|
uname_R := $(shell sh -c 'uname -r 2>/dev/null || echo not')
|
|
uname_P := $(shell sh -c 'uname -p 2>/dev/null || echo not')
|
|
|
|
# CFLAGS and LDFLAGS are for the users to override from the command line.
|
|
CFLAGS = -g
|
|
LDFLAGS =
|
|
|
|
PREFIX = $(HOME)/local/liboi
|
|
|
|
CC = gcc
|
|
AR = ar
|
|
RM = rm -f
|
|
RANLIB = ranlib
|