diff options
Diffstat (limited to 'Makefile.am')
| -rw-r--r-- | Makefile.am | 115 |
1 files changed, 69 insertions, 46 deletions
diff --git a/Makefile.am b/Makefile.am index 87a31e6..82adaa7 100644 --- a/Makefile.am +++ b/Makefile.am | |||
| @@ -42,11 +42,15 @@ DIST_SUBDIRS = | |||
| 42 | # Global flags | 42 | # Global flags |
| 43 | AM_LIBS = | 43 | AM_LIBS = |
| 44 | AM_LDFLAGS = | 44 | AM_LDFLAGS = |
| 45 | AM_CFLAGS = -O2 -W -Wall -Werror $(CFLAGS_WARNINGS) | 45 | AM_CFLAGS = -O2 $(CFLAGS_WARNINGS) |
| 46 | AM_CXXFLAGS = -O2 -W -Wall -Werror | 46 | AM_CXXFLAGS = -O2 @AM_CXXFLAGS@ |
| 47 | AM_OBJCFLAGS = -O2 -W -Wall -Werror | 47 | AM_OBJCFLAGS = -O2 @AM_OBJCFLAGS@ |
| 48 | AM_CPPFLAGS = -O2 -W -Wall -Werror -DHAVE_COMMON_H=1 -I$(top_builddir)/include -I$(top_srcdir)/include | 48 | AM_CPPFLAGS = -O2 \ |
| 49 | ACLOCAL_AMFLAGS = -I m4 -I contrib/bindletools/m4 -W all -W error | 49 | -DHAVE_CONFIG_H=1 \ |
| 50 | -DHAVE_COMMON_H=1 \ | ||
| 51 | -I$(top_builddir)/include \ | ||
| 52 | -I$(top_srcdir)/include | ||
| 53 | ACLOCAL_AMFLAGS = -I m4 -W all -W error | ||
| 50 | DEFS = -DLOCALEDIR="\"$(localedir)\"" @DEFS@ | 54 | DEFS = -DLOCALEDIR="\"$(localedir)\"" @DEFS@ |
| 51 | 55 | ||
| 52 | 56 | ||
| @@ -58,6 +62,20 @@ lib_LTLIBRARIES = lib/libdms.la | |||
| 58 | noinst_PROGRAMS = | 62 | noinst_PROGRAMS = |
| 59 | noinst_HEADERS = src/common.h | 63 | noinst_HEADERS = src/common.h |
| 60 | man_MANS = | 64 | man_MANS = |
| 65 | EXTRA = src/bindump \ | ||
| 66 | src/bitcopy \ | ||
| 67 | src/bitops \ | ||
| 68 | src/codetagger \ | ||
| 69 | src/colors \ | ||
| 70 | src/dmsversion \ | ||
| 71 | src/endian \ | ||
| 72 | src/macaddrinfo \ | ||
| 73 | src/netcalc \ | ||
| 74 | src/numconvert \ | ||
| 75 | src/posixregex \ | ||
| 76 | src/recurse \ | ||
| 77 | src/suicide \ | ||
| 78 | src/typedef-info | ||
| 61 | 79 | ||
| 62 | 80 | ||
| 63 | # macros for lib/libotadm.la | 81 | # macros for lib/libotadm.la |
| @@ -75,6 +93,49 @@ lib_libdms_la_SOURCES = include/dms.h \ | |||
| 75 | lib/libdms_version.h | 93 | lib/libdms_version.h |
| 76 | 94 | ||
| 77 | 95 | ||
| 96 | # lists | ||
| 97 | AM_INSTALLCHECK_STD_OPTIONS_EXEMPT = | ||
| 98 | BUILT_SOURCES = include/dmsversion.h | ||
| 99 | TESTS = | ||
| 100 | XFAIL_TESTS = | ||
| 101 | EXTRA_MANS = | ||
| 102 | EXTRA_DIST = autogen.sh \ | ||
| 103 | build-aux/git-tar-name.txt \ | ||
| 104 | doc/bindump.1.in \ | ||
| 105 | doc/bitops.1.in \ | ||
| 106 | doc/macaddrinfo.1.in \ | ||
| 107 | doc/numconvert.1.in \ | ||
| 108 | doc/posixregex.1.in \ | ||
| 109 | include/dmsversion.h.in \ | ||
| 110 | lib/libdms.sym \ | ||
| 111 | m4/dmstools_gcc.m4 \ | ||
| 112 | m4/dmstools_git.m4 \ | ||
| 113 | $(srcdir)/build-aux/dmstools.tags \ | ||
| 114 | $(srcdir)/doc/Doxyfile \ | ||
| 115 | $(srcdir)/doc/codetagger.1.in \ | ||
| 116 | $(srcdir)/examples/Makefile \ | ||
| 117 | $(srcdir)/examples/example-c.tags \ | ||
| 118 | $(srcdir)/examples/example-defaults.tags \ | ||
| 119 | $(srcdir)/examples/example-html.tags \ | ||
| 120 | $(srcdir)/examples/example.c \ | ||
| 121 | $(srcdir)/examples/example.html \ | ||
| 122 | $(srcdir)/examples/example.txt \ | ||
| 123 | $(srcdir)/build-aux/Makefile-xcode \ | ||
| 124 | $(srcdir)/dmstools.xcodeproj/project.pbxproj | ||
| 125 | CLEANFILES = \ | ||
| 126 | $(builddir)/a.out $(srcdir)/a.out \ | ||
| 127 | $(builddir)/*/a.out $(srcdir)/*/a.out \ | ||
| 128 | autoscan.log $(srcdir)/autoscan.log \ | ||
| 129 | config.h.in~ $(srcdir)/config.h.in~ \ | ||
| 130 | configure.scan $(srcdir)/configure.scan \ | ||
| 131 | $(man_MANS) \ | ||
| 132 | include/dmsversion.h \ | ||
| 133 | @PACKAGE_TARNAME@-*.tar.* \ | ||
| 134 | @PACKAGE_TARNAME@-*.zip | ||
| 135 | DISTCHECK_CONFIGURE_FLAGS = --enable-strictwarnings \ | ||
| 136 | --enable-all | ||
| 137 | |||
| 138 | |||
| 78 | # macros for src/bindump | 139 | # macros for src/bindump |
| 79 | src_bindump_DEPENDENCIES = $(lib_LTLIBRARIES) Makefile | 140 | src_bindump_DEPENDENCIES = $(lib_LTLIBRARIES) Makefile |
| 80 | src_bindump_CPPFLAGS = -DPROGRAM_NAME="\"bindump\"" $(AM_CPPFLAGS) | 141 | src_bindump_CPPFLAGS = -DPROGRAM_NAME="\"bindump\"" $(AM_CPPFLAGS) |
| @@ -199,47 +260,6 @@ if WANT_TYPEDEF_INFO | |||
| 199 | endif | 260 | endif |
| 200 | 261 | ||
| 201 | 262 | ||
| 202 | # lists | ||
| 203 | BUILT_SOURCES = include/dmsversion.h | ||
| 204 | TESTS = | ||
| 205 | XFAIL_TESTS = | ||
| 206 | EXTRA_DIST = autogen.sh \ | ||
| 207 | build-aux/git-tar-name.txt \ | ||
| 208 | doc/bindump.1.in \ | ||
| 209 | doc/bitops.1.in \ | ||
| 210 | doc/macaddrinfo.1.in \ | ||
| 211 | doc/numconvert.1.in \ | ||
| 212 | doc/posixregex.1.in \ | ||
| 213 | include/dmsversion.h.in \ | ||
| 214 | lib/libdms.sym \ | ||
| 215 | m4/dmstools_gcc.m4 \ | ||
| 216 | m4/dmstools_git.m4 \ | ||
| 217 | $(srcdir)/build-aux/dmstools.tags \ | ||
| 218 | $(srcdir)/doc/Doxyfile \ | ||
| 219 | $(srcdir)/doc/codetagger.1.in \ | ||
| 220 | $(srcdir)/examples/Makefile \ | ||
| 221 | $(srcdir)/examples/example-c.tags \ | ||
| 222 | $(srcdir)/examples/example-defaults.tags \ | ||
| 223 | $(srcdir)/examples/example-html.tags \ | ||
| 224 | $(srcdir)/examples/example.c \ | ||
| 225 | $(srcdir)/examples/example.html \ | ||
| 226 | $(srcdir)/examples/example.txt \ | ||
| 227 | $(srcdir)/build-aux/Makefile-xcode \ | ||
| 228 | $(srcdir)/dmstools.xcodeproj/project.pbxproj | ||
| 229 | CLEANFILES = \ | ||
| 230 | $(builddir)/a.out $(srcdir)/a.out \ | ||
| 231 | $(builddir)/*/a.out $(srcdir)/*/a.out \ | ||
| 232 | autoscan.log $(srcdir)/autoscan.log \ | ||
| 233 | config.h.in~ $(srcdir)/config.h.in~ \ | ||
| 234 | configure.scan $(srcdir)/configure.scan \ | ||
| 235 | $(man_MANS) \ | ||
| 236 | include/dmsversion.h \ | ||
| 237 | @PACKAGE_TARNAME@-*.tar.* \ | ||
| 238 | @PACKAGE_TARNAME@-*.zip | ||
| 239 | DISTCHECK_CONFIGURE_FLAGS = --enable-strictwarnings \ | ||
| 240 | --enable-all | ||
| 241 | |||
| 242 | |||
| 243 | # Makefile includes | 263 | # Makefile includes |
| 244 | GIT_PACKAGE_VERSION_DIR=include | 264 | GIT_PACKAGE_VERSION_DIR=include |
| 245 | SUBST_EXPRESSIONS = \ | 265 | SUBST_EXPRESSIONS = \ |
| @@ -249,6 +269,7 @@ include $(srcdir)/contrib/bindletools/build-aux/makefile-autotools.am | |||
| 249 | include $(srcdir)/contrib/bindletools/build-aux/makefile-subst.am | 269 | include $(srcdir)/contrib/bindletools/build-aux/makefile-subst.am |
| 250 | include $(srcdir)/contrib/bindletools/build-aux/makefile-version.am | 270 | include $(srcdir)/contrib/bindletools/build-aux/makefile-version.am |
| 251 | 271 | ||
| 272 | |||
| 252 | # custom targets | 273 | # custom targets |
| 253 | PHONY: | 274 | PHONY: |
| 254 | 275 | ||
| @@ -280,6 +301,8 @@ install-exec-local: | |||
| 280 | 301 | ||
| 281 | install-data-local: | 302 | install-data-local: |
| 282 | 303 | ||
| 304 | install-data-hook: | ||
| 305 | |||
| 283 | uninstall-local: | 306 | uninstall-local: |
| 284 | 307 | ||
| 285 | clean-local: | 308 | clean-local: |
