annotate dynload/Makefile.generic @ 551:eef302b7a58d
- amendment fix for buffer overflow (see commit 0455834d29a1), to also handle non-standard struct packing, + better asserts
- changelog wording tweaks for clarity
- comment tweaks for clarity
- (mostly pointless) microoptimization in aggr alignment calculation, avoiding a modulo, as alignment always a power of 2
- cleanups
author |
Tassilo Philipp |
date |
Mon, 20 Jun 2022 14:57:49 +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
|