summaryrefslogtreecommitdiff
path: root/src/Makefile.am
AgeCommit message (Collapse)Author
2011-09-08Add LayYY.h header for common definitions of lex/yacc created functionsAlan Coopersmith
Ensures all sources use consistent types and provides central place to add _X_HIDDEN tags to avoid exporting these as part of the API/ABI. Also fixes: "laygram.c", line 1363: warning: implicit function declaration: LayYYlex "laygram.c", line 1777: warning: implicit function declaration: LayYYerror Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
2011-09-08Fix distcheck by changing doc_DATA to dist_doc_DATAAlan Coopersmith
Oops. Helps to include the docs in the tarball if you want to install them. Reported-by: Gaetan Nadon <memsize@videotron.ca> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
2011-09-07Distribute & install src/README.XAW3DAlan Coopersmith
The previous maintainer strongly recommended providing this file with the library as the authoritative documentation for the libXaw3d API. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
2011-09-07Use -p instead of %parser for compatibility with older bison & yaccAlan Coopersmith
The %name-prefix "prefix" syntax was introduced in bison 2.3b and is not supported in older bison and yacc parsers. Without this fix, bison 2.3 (older than 2.3b) gives the cryptic error: .../src/laygram.y:1.14-20: syntax error, unexpected string, expecting = Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Tested-by: Gaetan Nadon <memsize@videotron.ca>
2011-09-01Include Xaw3dP.h using #include <X11/Xaw3d/Xaw3dP.h>Gaetan Nadon
All published Xaw3d header file are included this way. The -I directive to include/X11/Xaw3d is removed which will alert developers not to include header files with quotes unless they are in the /src directory. Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-09-01Rename XAW3D_CFLAGS to XAW3D_CPPFLAGS as it contains preprocessor options onlyGaetan Nadon
This will also prevent confusion as it is not obtained from PKG_CHECK_MODULES but follows its naming convention. Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-09-01Move compiler flags from AM_CPPFLAGS to AM_CFLAGSGaetan Nadon
AM_CPPFLAGS should only contain preprocessor directives like -I -D. The various *_CFLAGS may contain compiler flags as they are obtained from pkg-config Cflags variable. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-09-01Use AM_YFLAGS and BUILT_SOURCES rather than EXTRA_DISTGaetan Nadon
Automake will handle the distribution of laygram.h http://www.gnu.org/software/automake/manual/automake.html#Yacc-and-Lex http://cgit.freedesktop.org/xorg/app/twm/tree/src/Makefile.am http://cgit.freedesktop.org/xorg/app/xgc/tree/Makefile.am Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-08-24Remove AM_PROG_CC_C_OYaakov Selkowitz
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>
2011-08-24Remove unused PROJECT_ROOT defineYaakov Selkowitz
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Acked-by: Gaetan Nadon <memsize@videotron.ca>
2011-08-24Fix make distcheckYaakov Selkowitz
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Acked-by: Gaetan Nadon <memsize@videotron.ca>
2011-08-03use four build time definesRafał Mużyło
Signed-off-by: Rafał Mużyło <galtgendo@o2.pl> Signed-off-by: Matt Turner <mattst88@gmail.com>
2011-08-03Actually link with the libs we check forRafał Mużyło
Signed-off-by: Rafał Mużyło <galtgendo@o2.pl> Signed-off-by: Matt Turner <mattst88@gmail.com>
2011-08-03Remove uneeded files from build/installRafał Mużyło
Signed-off-by: Rafał Mużyło <galtgendo@o2.pl> Signed-off-by: Matt Turner <mattst88@gmail.com>
2011-08-03Readd requred flex/bison stuff and fix it for autotoolsRafał Mużyło
Signed-off-by: Rafał Mużyło <galtgendo@o2.pl> Signed-off-by: Matt Turner <mattst88@gmail.com>
2011-08-03Remove unneeded libtool hacksRafał Mużyło
Signed-off-by: Rafał Mużyło <galtgendo@o2.pl> Signed-off-by: Matt Turner <mattst88@gmail.com>
2011-08-01Replace Imake with autotools build system.Matt Turner
Partially based on the work of David Leverton <levertond@googlemail.com> Rafał Mużyło <galtgendo@o2.pl> https://bugs.gentoo.org/show_bug.cgi?id=290410 Signed-off-by: Matt Turner <mattst88@gmail.com>