blob: 36b880a959bc296df1e211c718ad4c4361d61596 [file] [log] [blame]
OS = $(shell uname -s)
ifeq "$(OS)" "Linux"
CFLAGS = -D__LINUX__ -g
else
CFLAGS = -D__SOLARIS__ -g
endif
CFLAGS += -Wall -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES=1
all: fardump fssum actions
fardump: fardump.c
gcc $(CFLAGS) fardump.c -o fardump
fssum: fssum.c
gcc $(CFLAGS) fssum.c -o fssum -lssl -lcrypto
actions: meta meta/*.mac
perl expand.pl -o actions -q meta/*.mac
clean:
rm -rf actions fardump fssum *.o