File: extra-module.mk

package info (click to toggle)
glibc 2.31-13
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 278,204 kB
  • sloc: ansic: 1,025,197; asm: 256,788; makefile: 12,091; sh: 10,572; python: 9,618; cpp: 5,233; awk: 1,956; perl: 514; yacc: 290; pascal: 182; sed: 73
file content (12 lines) | stat: -rw-r--r-- 389 bytes parent folder | download | duplicates (31)
1
2
3
4
5
6
7
8
9
10
11
12
mod := $(firstword $(extra-modules-left))
extra-modules-left := $(strip $(filter-out $(mod),$(extra-modules-left)))

extra-objs := $(extra-objs) $(patsubst %,%.os,$($(mod)-routines))

$(objpfx)$(mod).so: $(addprefix $(objpfx),$(addsuffix .os,$($(mod)-routines)))\
		    $(shlib-lds) $(link-libc-deps)
	$(build-module-asneeded)

ifneq (,$(extra-modules-left))
include extra-module.mk
endif