summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac3
-rw-r--r--src/Makefile.am18
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