summaryrefslogtreecommitdiff
path: root/source4/lib/charset/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/charset/config.mk')
-rw-r--r--source4/lib/charset/config.mk10
1 files changed, 4 insertions, 6 deletions
diff --git a/source4/lib/charset/config.mk b/source4/lib/charset/config.mk
index 2766784c52..12c2f5f321 100644
--- a/source4/lib/charset/config.mk
+++ b/source4/lib/charset/config.mk
@@ -1,15 +1,13 @@
################################################
# Start SUBSYSTEM CHARSET
[SUBSYSTEM::CHARSET]
-OBJ_FILES = \
- iconv.o \
- charcnv.o \
- util_unistr.o
-PRIVATE_PROTO_HEADER = charset_proto.h
PUBLIC_DEPENDENCIES = ICONV
PRIVATE_DEPENDENCIES = DYNCONFIG
# End SUBSYSTEM CHARSET
################################################
+CHARSET_OBJ_FILES = $(addprefix $(libcharsetsrcdir)/, iconv.o charcnv.o util_unistr.o)
-PUBLIC_HEADERS += lib/charset/charset.h
+PUBLIC_HEADERS += $(libcharsetsrcdir)/charset.h
+
+$(eval $(call proto_header_template,$(libcharsetsrcdir)/charset_proto.h,$(CHARSET_OBJ_FILES:.o=.c)))