diff options
author | Rafał Mużyło <galtgendo@o2.pl> | 2011-08-03 17:05:14 +0200 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2011-08-03 17:15:28 -0400 |
commit | d5fc71efc7cb10728b1cfbadc16afef22b2ca12f (patch) | |
tree | c1527607fb653018de1554b92be88f26e81584cd /src | |
parent | d651581036e9ee0048c6c25b37fb0f7b9e87789b (diff) |
use four build time defines
Signed-off-by: Rafał Mużyło <galtgendo@o2.pl>
Signed-off-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index a559632..88f01d9 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -8,6 +8,10 @@ lib_LTLIBRARIES = libXaw3d.la # # SHAREDLIB_SOURCES = sharedlib.c +if XAW_INTERNATIONALIZATION +I18N_SRCS = MultiSrc.c MultiSink.c XawIm.c XawI18n.c XawI18n.h +endif + libXaw3d_la_SOURCES = \ AllWidgets.c \ AsciiSink.c \ @@ -22,8 +26,6 @@ libXaw3d_la_SOURCES = \ Layout.c \ List.c \ MenuButton.c \ - MultiSink.c \ - MultiSrc.c \ Paned.c \ Panner.c \ Porthole.c \ @@ -49,21 +51,22 @@ libXaw3d_la_SOURCES = \ Vendor.c \ Viewport.c \ Xaw3dP.c \ - XawI18n.c \ - XawIm.c \ XawInit.c \ laygram.y \ - laylex.l + laylex.l \ + $(I18N_SRCS) libXaw3d_la_CFLAGS = \ - $(CWARNFLAGS) $(X11_CFLAGS) + $(CWARNFLAGS) libXaw3d_la_LIBADD = \ - $(X11_LIBS) + $(X11_LIBS) $(XPM_LIBS) libXaw3d_la_CPPFLAGS = \ -I${top_srcdir}/include \ -I${top_srcdir}/include/X11/Xaw3d \ + $(XAW3D_CFLAGS) \ + $(X11_CFLAGS) $(XPM_CFLAGS) \ -DPROJECT_ROOT=\"$(prefix)\" libXaw3d_la_LDFLAGS = -version-info 8:0:0 -no-undefined |