From dc03ee95bc990e22094360c3b0c801ae2fdeed8e Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Wed, 24 Aug 2011 23:19:06 -0500 Subject: 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 Reviewed-by: Gaetan Nadon --- src/Makefile.am | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/Makefile.am') 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 -- cgit v1.2.3