apparmor/parser/libapparmor_re/Makefile
John Johansen a949b075b4 The dfa flags currently are a weird mix of position and negative assertions.
Its cleaner just to have them all assert one way and let the cmd line
options apply them correctly.
2010-11-09 11:23:45 -08:00

25 lines
400 B
Makefile

# Profiling:
#EXTRA_CFLAGS = -pg
TARGET=libapparmor_re.a
CFLAGS = -g -Wall -O2 ${EXTRA_CFLAGS}
CXXFLAGS := ${CFLAGS}
ARFLAGS=-rcs
BISON := bison
all : ${TARGET}
libapparmor_re.a: regexp.o
ar ${ARFLAGS} $@ $^
regexp.o : regexp.cc apparmor_re.h
$(LINK.cc) $< -c -o $@
regexp.cc : regexp.y flex-tables.h
${BISON} -o $@ $<
clean:
rm -f regexp.o regexp.cc regexp.so regexp.a regexp ${TARGET}