summaryrefslogtreecommitdiff
path: root/iconvdata/extra-module.mk
blob: 92c3ab4d7b21635bafee9e05bff0750f251e5f46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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 ($(ld-zunique),yes)
$(objpfx)$(mod).so: $(common-objpfx)/elf/dynamic-notes.os
endif

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