25 lines
580 B
Plaintext
25 lines
580 B
Plaintext
|
#
|
||
|
# makefile for OpenBSD (x86, PPC, alpha ...)
|
||
|
#
|
||
|
|
||
|
MYCFLAGS?=-O
|
||
|
MYCXXFLAGS?=-O
|
||
|
|
||
|
ALLFLAGS=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \
|
||
|
-DNDEBUG -D_REENTRANT -DENV_UNIX -fPIC \
|
||
|
$(LOCAL_FLAGS)
|
||
|
|
||
|
ALLFLAGS_CPP=-DENV_HAVE_GCCVISIBILITYPATCH -fvisibility=hidden -fvisibility-inlines-hidden
|
||
|
|
||
|
CXX=$(MYCXX) $(MYCXXFLAGS)
|
||
|
CC=$(MYCC) $(MYCFLAGS)
|
||
|
CC_SHARED=-fPIC
|
||
|
LINK_SHARED=-fPIC -shared
|
||
|
|
||
|
LOCAL_LIBS=-lpthread
|
||
|
LOCAL_LIBS_DLL=$(LOCAL_LIBS)
|
||
|
|
||
|
OBJ_CRC32=$(OBJ_CRC32_C)
|
||
|
OBJ_AES=
|
||
|
|