default_CONFIG = CONFIG_OC_ULUT=y
+default_CONFIG += CONFIG_OC_ULUTMINIMAL=x
default_CONFIG += CONFIG_OC_ULUTKERN=y
default_CONFIG += CONFIG_OC_ULUTRTL=x
default_CONFIG += CONFIG_OC_ULUT_TESTS=x
ifeq ($(CONFIG_OC_ULUT),y)
-include_HEADERS = ul_dbuff.h ul_evcbase.h ul_gavl.h ul_gavlcust.h \
+include_HEADERS = ul_dbuff.h ul_gavl.h ul_gavlcust.h \
ul_gavlflesint.h ul_gavlrepcust.h ul_gsa.h ul_gsacust.h \
ul_hptree.h ul_htimdefs.h ul_htimer.h ul_itbase.h \
ul_list.h ul_listbase.h ul_utdefs.h ul_utmalloc.h \
ul_uniqid.h ul_dbufflog.h ul_log.h ul_logbase.h \
ul_logreg.h ul_cbuff.h ul_dqfifo.h
+ifneq ($(CONFIG_OC_ULUTMINIMAL),y)
+include_HEADERS += ul_evcbase.h
+endif
+
lib_LIBRARIES = ulut
ifeq ($(CONFIG_OC_SOLIBS),y)
endif
ulut_SOURCES = ul_dbufbase.c ul_dbufmore.c ul_gsa.c ul_gsacust.c \
- ul_gavlprim.c ul_gavl.c ul_hptree.c \
- ul_htimer.c ul_htimbase.c ul_htimmstime.c ul_htimroot.c \
- ul_htimdefault.c \
- ul_evcbase.c ul_uniqid.c ul_dbufflog.c ul_logbase.c \
- ul_logreg.c ul_cbuff.c
+ ul_gavlprim.c ul_hptree.c \
+ ul_htimer.c ul_htimbase.c ul_htimroot.c \
+ ul_htimdefault.c ul_dbufflog.c ul_logbase.c \
+ ul_cbuff.c
+
+ifneq ($(CONFIG_OC_ULUTMINIMAL),y)
+ulut_SOURCES += ul_evcbase.c ul_gavl.c ul_htimmstime.c ul_logreg.c \
+ ul_uniqid.c
+endif
lib_LOADLIBES = ulut