about summary refs log tree commit diff
path: root/iconvdata/extra-module.mk
blob: ecaf50762496586e4b2a36a698aa12e70b6530be (plain) (blame)
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