5 # System-specific configuration is in system.mk
12 # System-specific configuration
13 include $(TOPDIR
)/build
/system-inc.mk
15 ######################################
17 #INCLUDES += $(LIBTU_INCLUDES) $(LUA_INCLUDES)
19 CFLAGS
+= $(C98_SOURCE
) $(POSIX_SOURCE
) $(WARN
)
21 SOURCES
=iterable.c map.c misc.c obj.c objlist.c optparser.c output.c parser.c
prefix.c ptrlist.c rb.c setparam.c stringstore.c tokenizer.c util.c errorlog.c
23 HEADERS
=debug.h errorlog.h locale.h minmax.h obj.h objp.h output.h pointer.h private.h rb.h stringstore.h types.h dlist.h iterable.h map.h misc.h objlist.h optparser.h parser.h
prefix.h ptrlist.h setparam.h tokenizer.h util.h
27 ######################################
29 include $(TOPDIR
)/build
/rules.mk
31 ######################################
34 $(AR
) $(ARFLAGS
) $@
$+
38 $(INSTALLDIR
) $(DESTDIR
)$(LIBDIR
)
39 $(INSTALL
) -m
$(DATA_MODE
) libtu.a
$(DESTDIR
)$(LIBDIR
)
40 $(INSTALLDIR
) $(DESTDIR
)$(INCDIR
)/libtu
41 for h in
$(HEADERS
); do \
42 $(INSTALL
) -m
$(DATA_MODE
) $$h $(DESTDIR
)$(INCDIR
)/libtu
; \