annotate dynload/Makefile.generic @ 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 LIBNAME = dynload
|
|
2 OBJS = dynload.o dynload_syms.o
|
|
3 HEADERS = ${VPATH}/dynload.h
|
|
4
|
|
5 LIB = lib${LIBNAME}_s.a
|
|
6
|
|
7 .PHONY: all clean install
|
|
8
|
|
9 all: ${LIB}
|
|
10 ${LIB}: ${OBJS}
|
|
11 ${AR} ${ARFLAGS} ${LIB} ${OBJS}
|
|
12 clean:
|
|
13 rm -f ${OBJS} ${LIB}
|
|
14 install: all
|
|
15 mkdir -p ${PREFIX}/lib
|
|
16 mkdir -p ${PREFIX}/include
|
|
17 cp ${LIB} ${PREFIX}/lib
|
|
18 cp ${HEADERS} ${PREFIX}/include
|