chimera2/port/Imakefile
2021-04-19 13:47:21 +03:00

31 lines
543 B
Text

#include <../Common.tmpl>
#ifdef NEED_MEMMOVE
SRC1 = memmove.c
OBJ1 = memmove.o
#endif
#ifdef NEED_GETCWD
SRC2 = getcwd.c
OBJ2 = getcwd.o
#endif
#ifdef NEED_STRSTUFF
SRC3 = strcasecmp.c strtol.c strstr.c strtoul.c
OBJ3 = strcasecmp.o strtol.o strstr.o strtoul.o
#endif
#ifndef HAVE_SNPRINTF
SRC5 = snprintf.c
OBJ5 = snprintf.o
#endif
SRCS = junk.c $(SRC1) $(SRC2) $(SRC3) $(SRC5)
OBJS = junk.o $(OBJ1) $(OBJ2) $(OBJ3) $(OBJ5)
EXTRA_DEFINES = $(CHIMERA_DEFINES)
EXTRA_INCLUDES = -I./
NormalLibraryTarget(xport, $(OBJS))
DependTarget()