pjs/dbm/tests/Makefile.in

83 строки
1.4 KiB
Makefile

DEPTH = ../..
topsrcdir = @top_srcdir@
VPATH = @srcdir@
srcdir = @srcdir@
include $(DEPTH)/config/autoconf.mk
CORE_DEPTH = ../..
MODULE = dbm
CSRCS = lots.c
PROGRAM = lots
include $(topsrcdir)/coreconf/config.mk
ifeq ($(OS_ARCH),WINNT)
DEFINES += -DSTDARG
LIBDBM = ../src/$(PLATFORM)/dbm$(STATIC_LIB_SUFFIX)
else
LIBDBM = ../src/$(PLATFORM)/libdbm$(STATIC_LIB_SUFFIX)
endif
ifeq ($(OS_ARCH),AIX)
CFLAGS += -DSTDARG
endif
ifeq ($(OS_ARCH),BSD_386)
CFLAGS += -g -I$(srcdir)/../../../include -DXP_UNIX -g -DBSDI -DHAVE_STRERROR -D__386BSD__ -DDEBUG -DMEMMOVE -D__DBINTERFACE_PRIVATE
endif
ifeq ($(OS_ARCH),FreeBSD)
CFLAGS += -DSTDARG
endif
ifeq ($(OS_ARCH),HP-UX)
CFLAGS += -DSTDARG
endif
ifeq ($(OS_ARCH),IRIX)
CFLAGS += -g -I$(srcdir)/../../../include -DDEBUG -DSTDARG
endif
ifeq ($(OS_ARCH),OSF1)
CFLAGS += -DSTDARG
endif
ifeq ($(OS_ARCH),Linux)
CFLAGS += -DSTDARG
endif
ifeq ($(OS_ARCH),NCR)
CFLAGS += -DSTDARG
endif
ifeq ($(OS_ARCH),SCO_SV)
CFLAGS += -DSTDARG
endif
ifeq ($(OS_ARCH),SunOS)
CFLAGS += -g -I$(srcdir)/../../../include -D_sun_
endif
ifeq ($(OS_ARCH),UNIXWARE)
CFLAGS += -DSTDARG
endif
INCLUDES += -I$(srcdir)/../include
LDFLAGS = $(LDOPTS) $(LIBDBM)
include $(topsrcdir)/coreconf/rules.mk
lots.pure: lots
purify $(CC) -o lots.pure $(CFLAGS) $(OBJS) $(MYLIBS)
crash: crash.o $(MYLIBS)
$(CC) -o crash $(CFLAGS) crash.o $(MYLIBS)
crash.pure: crash.o $(MYLIBS)
purify $(CC) -o crash.pure $(CFLAGS) crash.o $(MYLIBS)