mirror of
https://github.com/wolfcw/libfaketime.git
synced 2026-05-17 08:36:28 +03:00
24 lines
556 B
Makefile
24 lines
556 B
Makefile
AM_CFLAGS =-DFAKE_SLEEP -DFAKE_INTERNAL_CALLS -I../ -I../src
|
|
|
|
AM_LDFLAGS =
|
|
|
|
bin_PROGRAMS = timetest
|
|
timetest_SOURCES = timetest.c
|
|
|
|
if SOLARIS
|
|
AM_CFLAGS += -D__EXTENSIONS__ -D_XOPEN_SOURCE=600
|
|
AM_LDFLAGS += -Wl,--version-script=libfaketime.map
|
|
endif
|
|
if !MACOS
|
|
AM_CFLAGS += -std=gnu99 -Wall -Wextra -Werror -DFAKE_STAT -DFAKE_PTHREAD -DFAKE_TIMERS -DFAKE_INTERNAL_CALLS -fPIC -Wno-nonnull-compare
|
|
timetest_LDADD = -ldl -lm -lrt -lpthread
|
|
endif
|
|
|
|
test: timetest functest
|
|
@echo
|
|
@./test.sh
|
|
#
|
|
# run functional tests
|
|
functest:
|
|
./testframe.sh functests
|