annotate dyncallback/Makefile.embedded @ 256:7520e2260097
- added to configure some detection on how to compile .s/.S with --noexecstack (or similar), as compilers' defaults are often insane
- since no-execstack handling is now in build, remove .note.GNU-stack section markers (were of limites use, anyways, b/c unportable or implemented inconsistently across platforms)
- some ToDo, etc. updates
author |
Tassilo Philipp |
date |
Sat, 20 May 2017 00:02:59 +0200 |
parents |
3e629dc19168 |
children |
|
rev |
line source |
0
|
1 TARGET = libdyncallback_s.a
|
|
2 OBJS = dyncall_alloc_wx.o dyncall_args.o dyncall_callback.o dyncall_callback_arch.o dyncall_thunk.o
|
|
3 CFLAGS += -I../dyncall
|
|
4 HEADERS = dyncall_callback.h dyncall_args.h
|
|
5 all: ${TARGET}
|
|
6 ${TARGET}: ${OBJS}
|
|
7 ${AR} ${ARFLAGS} $@ ${OBJS}
|
|
8 clean:
|
|
9 rm -f ${OBJS} ${TARGET}
|
|
10 install: all
|
|
11 mkdir -p ${DESTDIR}${PREFIX}/include
|
|
12 cp ${HEADERS} ${DESTDIR}${PREFIX}/include
|
|
13 mkdir -p ${DESTDIR}${PREFIX}/lib
|
|
14 cp ${TARGET} ${DESTDIR}${PREFIX}/lib
|
|
15 .PHONY: all clean install
|