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 /src | |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 18 |
1 files changed, 9 insertions, 9 deletions
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 |