aboutsummaryrefslogtreecommitdiff
path: root/lib/Makefile.in
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2015-02-16 22:08:36 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2015-02-16 22:08:36 +0000
commitf67f5d372870bb02c96d78492a291e7500b9cdec (patch)
tree358a41f791572c9798065ea26b18cce68be66a7f /lib/Makefile.in
parent54b4a9232ff8587c5c06f7e6b5afe7b2dbacaae6 (diff)
downloadsg3_utils-f67f5d372870bb02c96d78492a291e7500b9cdec.tar.gz
Makefile cleanup, from Jan Engelhardt
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@635 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'lib/Makefile.in')
-rw-r--r--lib/Makefile.in9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/Makefile.in b/lib/Makefile.in
index 1f32c60c..e07b5720 100644
--- a/lib/Makefile.in
+++ b/lib/Makefile.in
@@ -339,11 +339,12 @@ libsgutils2_la_SOURCES = sg_lib.c sg_lib_data.c sg_cmds_basic.c \
# -std=<s> can be c99, c11, gnu11, etc. Default is gnu89 (gnu90 is the same)
# -Wall is no longer all warnings. Add -W (since renamed to -Wextra) for more
-AM_CFLAGS = -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W
-# AM_CFLAGS = -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -pedantic -std=c11
-# AM_CFLAGS = -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -pedantic -std=c++11
+AM_CPPFLAGS = -iquote ${top_srcdir}/include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
+AM_CFLAGS = -Wall -W
+# AM_CFLAGS = -Wall -W -pedantic -std=c11
+# AM_CFLAGS = -Wall -W -pedantic -std=c++11
lib_LTLIBRARIES = libsgutils2.la
-libsgutils2_la_LDFLAGS = -version-info 2:0:0
+libsgutils2_la_LDFLAGS = -version-info 2:0:0 -no-undefined
libsgutils2_la_LIBADD = @GETOPT_O_FILES@ @os_libs@
libsgutils2_la_DEPENDENCIES = @GETOPT_O_FILES@
all: all-am