annotate dyncall/Makefile.generic @ 84:67961454902b
- bigger cleanup in callvm code
* changed init of most callvms to reuse code and for consistency
* removed unused functions
* general changes for consistency
* added some missing cconv defines do mode calls
- fixed potential buffer overrun on arm64
- fixed sparc and x64 mode setting (only one mode, but wasn't (pointlessly) resettable)
- error code handling (dcGetError) changes, flag is now cleared (work still underway)
- Changelog update
author |
cslag |
date |
Wed, 06 Apr 2016 00:21:51 +0200 |
parents |
3e629dc19168 |
children |
fde92442c785 |
rev |
line source |
0
|
1 LIBNAME = dyncall
|
|
2 OBJS = dyncall_vector.o dyncall_api.o dyncall_callvm.o dyncall_callvm_base.o dyncall_call.o dyncall_callf.o dyncall_struct.o
|
|
3 HEADERS = ${VPATH}/dyncall_macros.h ${VPATH}/dyncall_config.h ${VPATH}/dyncall_types.h ${VPATH}/dyncall.h ${VPATH}/dyncall_signature.h ${VPATH}/dyncall_value.h ${VPATH}/dyncall_callf.h ${VPATH}/dyncall_alloc.h
|
|
4 LIB = lib${LIBNAME}_s.a
|
|
5 .PHONY: all clean install
|
|
6 all: ${LIB}
|
|
7 ${LIB}: ${OBJS}
|
|
8 ${AR} ${ARFLAGS} ${LIB} ${OBJS}
|
|
9 clean:
|
|
10 rm -f ${OBJS} ${LIB}
|
|
11 install: all
|
|
12 mkdir -p ${PREFIX}/lib
|
|
13 mkdir -p ${PREFIX}/include
|
|
14 cp ${LIB} ${PREFIX}/lib
|
|
15 cp ${HEADERS} ${PREFIX}/include
|
|
16
|