Skip to content

Commit

Permalink
Fixed a small bug in the Makefile.am file.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marshall Lee Whittaker authored and Marshall Lee Whittaker committed Mar 24, 2017
1 parent 6c93ef5 commit 93c4d75
Show file tree
Hide file tree
Showing 2 changed files with 819 additions and 135 deletions.
18 changes: 7 additions & 11 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,19 @@ libgzstream_a_SOURCES = include/gzstream/gzstream.h include/gzstream/gzstream.C
ansvif_SOURCES = src/common.cpp src/bin2hex.cpp src/popen2.cpp src/main.cpp src/help.cpp src/match_seg.cpp src/sys_string.cpp src/man_read.cpp src/trash.cpp src/randomizer.cpp include/gzstream/gzstream.h include/xmlwriter/xml_writer.hpp src/main.h
if OS_IS_REDHAT
ansvif_LDADD = -lgzstream -lcryptopp -lstdc++ -lpthread -lz -L.
ansvif_CPPFLAGS = -O3 -D __REDHAT -Wall
ansvif_LDFLAGS = -I./include/gzstream -I./include/xml_writer -I./src/linux
endif
if OS_IS_DEBIAN
ansvif_LDADD = -lgzstream -lcrypto++ -lstdc++ -lpthread -lz -L.
ansvif_CPPFLAGS = -O3 -D __DEBIAN -Wall
ansvif_LDFLAGS = -I./include/gzstream -I./include/xml_writer -I./src/linux
endif
if OS_IS_UNKNOWN
ansvif_LDADD = -lgzstream -lstdc++ -lpthread -lz -L.
endif
if OS_IS_REDHAT
ansvif_CPPFLAGS = -O3 -D __REDHAT
ansvif_LDADD = -lstdc++ -lz -L.
ansvif_LDFLAGS = -I./include/gzstream -I./include/xml_writer -I./src/linux -pthread
ansvif_CPPFLAGS = -O3 -D __DEBIAN -Wl,--no-as-needed
endif
if OS_IS_DEBIAN
ansvif_CPPFLAGS = -O3 -D __DEBIAN
else
ansvif_CPPFLAGS = -O3 -D __DEBIAN
endif
ansvif_LDFLAGS = -I./include/gzstream -I./include/xml_writer -I./src/linux
find_suid_SOURCES = src/linux/find_suid.cpp
faulty_SOURCES = src/faulty.c
faulty_CFLAGS = -ansi -fno-stack-protector
Expand All @@ -35,7 +32,6 @@ syscalls_SOURCES = src/linux/syscalls.cpp
syscalls_CPPFLAGS = -ansi -Wno-unused-result -Wno-nonnull
endif
ansvifdir = bin
AM_CXXFLAGS = -Wall
check: all
./ansvif -t examples/space.txt -c ./faulty -b 32 -o checkfaulty && rm checkfaulty.*
@echo "*** CHECK 1 PASSED ***"
Expand Down
Loading

0 comments on commit 93c4d75

Please sign in to comment.