2011-10-23 12:05:13 -03:00
|
|
|
# -*- makefile -*-
|
|
|
|
|
|
|
|
dir := util
|
|
|
|
extra_cflags += -I$(srcdir)/$(dir)
|
|
|
|
|
2012-11-24 09:43:42 -04:00
|
|
|
libutil_c_srcs := $(dir)/xutil.c $(dir)/error_util.c $(dir)/hex-escape.c \
|
2012-12-16 23:12:51 -04:00
|
|
|
$(dir)/string-util.c $(dir)/talloc-extra.c
|
2011-10-23 12:05:13 -03:00
|
|
|
|
|
|
|
libutil_modules := $(libutil_c_srcs:.c=.o)
|
|
|
|
|
|
|
|
$(dir)/libutil.a: $(libutil_modules)
|
|
|
|
$(call quiet,AR) rcs $@ $^
|
2011-11-26 09:55:07 -08:00
|
|
|
|
2012-01-15 15:20:42 -05:00
|
|
|
SRCS := $(SRCS) $(libutil_c_srcs)
|
2011-12-12 11:54:16 -04:00
|
|
|
CLEAN := $(CLEAN) $(libutil_modules) $(dir)/libutil.a
|