makefile.openbsd_no_port 649 Bytes
Newer Older
1 2 3 4
#
# makefile for OpenBSD (x86, PPC, alpha ...)
#

5
OPTFLAGS=-O -s
6

7
ALLFLAGS=${OPTFLAGS} \
8 9 10 11
        -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \
        -DNDEBUG -D_REENTRANT -DENV_UNIX \
        $(LOCAL_FLAGS)
                                                                                                      
12 13
ALLFLAGS_CPP=-DENV_HAVE_GCCVISIBILITYPATCH -fvisibility=hidden -fvisibility-inlines-hidden

14 15
CXX=g++
CC=gcc
16 17
CC_SHARED=-fPIC
LINK_SHARED=-fPIC -shared
18 19 20 21 22
                                                                                                      
LOCAL_LIBS=-lpthread
LOCAL_LIBS_DLL=$(LOCAL_LIBS)

OBJ_CRC32=$(OBJ_CRC32_C)
23
OBJ_AES=
24