makefile.qnx_shared.so 534 Bytes
Newer Older
1
###################################################
2
# makefile.machine for "7z.so , Codecs/Rar.so" :
3
# tested with p7zip-4.47_beta on qnx-6.3.0 sp3 x86 target
4

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
CXX=QCC -V3.3.5,gcc_ntox86
CC=qcc -V3.3.5,gcc_ntox86
14 15
CC_SHARED=-fPIC
LINK_SHARED=-fPIC -shared
16 17 18 19 20 21

#LOCAL_LIBS=-lpthread
#LOCAL_LIBS_DLL=$(LOCAL_LIBS) -ldl
LOCAL_LIBS_DLL=$(LOCAL_LIBS)

OBJ_CRC32=$(OBJ_CRC32_C)
22
OBJ_AES=
23