diff options
author | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2011-08-24 23:19:06 -0500 |
---|---|---|
committer | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2011-08-24 23:34:47 -0500 |
commit | dc03ee95bc990e22094360c3b0c801ae2fdeed8e (patch) | |
tree | 8c1e9b62f7d5cfe94bfca42b98b12aea2edcd362 | |
parent | 5e8ec3e3eadb032176d8a92639b40a067df3b7e1 (diff) |
Remove AM_PROG_CC_C_O
There is no need for a per-target CFLAGS or CPPFLAGS, as unlike libXaw,
we are building only one target.
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
-rw-r--r-- | configure.ac | 3 | ||||
-rw-r--r-- | src/Makefile.am | 18 |
2 files changed, 9 insertions, 12 deletions
diff --git a/configure.ac b/configure.ac index 812d759..aaf5e9a 100644 --- a/configure.ac +++ b/configure.ac @@ -19,9 +19,6 @@ m4_ifndef([XORG_MACROS_VERSION], XORG_MACROS_VERSION(1.8) XORG_DEFAULT_OPTIONS -# Some compilers do not support per target -c and -o flags -AM_PROG_CC_C_O - # Checks for header files. PKG_CHECK_MODULES(X11, [x11 xt xmu]) AC_CHECK_HEADERS([wctype.h wchar.h widec.h]) diff --git a/src/Makefile.am b/src/Makefile.am index 23bac41..b1a2a31 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,5 +1,14 @@ lib_LTLIBRARIES = libXaw3d.la +AM_CFLAGS = \ + $(CWARNFLAGS) + +AM_CPPFLAGS = \ + -I${top_srcdir}/include \ + -I${top_srcdir}/include/X11/Xaw3d \ + $(XAW3D_CFLAGS) \ + $(X11_CFLAGS) $(XPM_CFLAGS) + # # This doesn't appear to be used on any # current systems -- it requires SUNSHLIB and !SHAREDCODE, @@ -56,18 +65,9 @@ libXaw3d_la_SOURCES = \ laylex.l \ $(I18N_SRCS) -libXaw3d_la_CFLAGS = \ - $(CWARNFLAGS) - libXaw3d_la_LIBADD = \ $(X11_LIBS) $(XPM_LIBS) -libXaw3d_la_CPPFLAGS = \ - -I${top_srcdir}/include \ - -I${top_srcdir}/include/X11/Xaw3d \ - $(XAW3D_CFLAGS) \ - $(X11_CFLAGS) $(XPM_CFLAGS) - libXaw3d_la_LDFLAGS = -version-info 8:0:0 -no-undefined EXTRA_DIST = laygram.h sharedlib.c Template.c |