Skip to content
Snippets Groups Projects
Commit 3901e54e authored by Jason Hiser's avatar Jason Hiser :tractor:
Browse files

added tools and history from sec-trans

parent 2b5b1e49
No related branches found
No related tags found
No related merge requests found
Showing
with 0 additions and 42 deletions
PROGS=selective_cfi.exe
CXX=@CXX@
CXXFLAGS=
INCLUDE=-I. -I../include -I../xform -I../../beaengine/include -I../../libIRDB/include/ -I../../libMEDSannotation/include/ -I../libtransform/include/ -I../transforms
CXXFLAGS= @EXTRA_CXXFLAGS@ $(INCLUDE)
LIBS=-L../../lib -lxform -lIRDB-core -lIRDB-cfg -lBeaEngine_s_d -lpqxx -lMEDSannotation -ltransform ../transforms/Rewrite_Utility.o -lpq
OBJS=scfi_driver.o scfi_instr.o
programs=selective_cfi.exe
.SUFFIXES: .o .c .exe .cpp .hpp
all: $(programs)
@echo "---------------------------------------------"
@echo "- Selective CFI directory -- Build complete -"
@echo "---------------------------------------------"
-include $(OBJS:.o=.d)
%.o: %.cpp
$(CXX) -c $(CXXFLAGS) $*.cpp
@#
@# build dependencies -- http://scottmcpeak.com/autodepend/autodepend.html
@#
@cpp -MM $(CXXFLAGS) $*.cpp > $*.d 2> /dev/null || true # might fail on solaris with CXX=sun's CC.
@cp -f $*.d $*.d.tmp
@sed -e 's/.*://' -e 's/\\$$//' < $*.d.tmp | fmt -1 | sed -e 's/^ *//' -e 's/$$/:/' >> $*.d
@rm -f $*.d.tmp
clean:
rm -f *.o core *.exe
$(programs): ../../lib/*.a
selective_cfi.exe: $(OBJS)
$(CXX) $(CXXFLAGS) $^ $(INCLUDE) $(LIBS) -o $@
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment