a build with an existing configuration use "o". Finally "t" runs the\r
"quicktest" part of the test suite (other tests are not yet supported).\r
\r
+If you experience problems with the automatic configuration file creation\r
+from within Makefile.os2 you may alternatively call makeos2.cmd with the\r
+`-o' option and use the existing config.inc file (assuming that you use\r
+IBMC, else edit it by hand). In that case you may also want to edit the\r
+local_constants.h and herald.h files from this directory to have it match \r
+your setup.\r
+\r
Please, be aware that you need the flex library in order to build lclint.\r
As far as I remember the OS/2 version of flex comes with this library for\r
the emx/gcc compiler. If not, you will easily be able to compile it \r
--- /dev/null
+CC=icc -q -W2 -Dunlink=unlink -O+ -G5 -Gf+ -Gi+ -Gs+ \r
+CFLAGS=\r
+CPPFLAGS=-I.\Headers -DSTDC_HEADERS=1 -DOS2 \r
+BISON=\r
+FLEX=flex\r
+YFLAGS=-v -t -d\r
+LFLAGS=\r
+SYSTEM_LIBDIR="\\usr\\include"\r
+DEFAULT_LCLIMPORTDIR="\\usr\\lib\\lclint\\imports"\r
+DEFAULT_LARCHPATH=".;\\usr\\lib\\lclint\\lib"\r
+DEFAULT_CPPCMD="cpp "\r
+LINKFLAGS=-B/noe setargv.obj fl.lib lclint.def\r
+O=.obj\r
+E=.exe\r
+OFLAG=-felclint.exe\r
+CAT=type\r
+MV=mv\r
+CP=cp\r
+ECHO="echo.exe"\r
--- /dev/null
+/* herald.h - created automatically from herald.os2 and Makefile.os2 */\r
+/*@constant observer char *LCL_VERSION;@*/\r
+# define LCL_VERSION "LCLint 3.0.0.15 --- Sep 11 2001"\r
+/*@constant observer char *LCL_PARSE_VERSION;@*/\r
+# define LCL_PARSE_VERSION "LCLint 3.0.0.15"\r
+/*@constant observer char *LCL_COMPILE;@*/\r
+# define LCL_COMPILE "Compiled using icc -q -W2 -Dunlink=unlink -O+ -G5 -Gf+ -Gi+ -Gs+ \n on OS/2 Tue Sep 11 16:55:42 CET 2001 i586 by herbert,\n OS/2 specific subversion is 2"\r
--- /dev/null
+/* local_constants.h - created automatically by gmake localconstants */\r
+/*@constant observer char *DEFAULT_CPPCMD;@*/\r
+# define DEFAULT_CPPCMD "cpp "\r
+/*@constant observer char *SYSTEM_LIBDIR;@*/\r
+# define SYSTEM_LIBDIR "\\usr\\include"\r
+/*@constant observer char *DEFAULT_LARCHPATH;@*/\r
+# define DEFAULT_LARCHPATH ".;\\usr\\lib\\lclint\\lib"\r
+/*@constant observer char *DEFAULT_LCLIMPORTDIR;@*/\r
+# define DEFAULT_LCLIMPORTDIR "\\usr\\lib\\lclint\\imports"\r
goto end\r
\r
:oldconf\r
+if not exist %base%\src\Headers\local_constants.h copy local_constants.h %base%\src\Headers\local_constants.h\r
+if not exist %base%\src\Headers\heral.h copy local_constants.h %base%\src\Headers\herald.h\r
make -f Makefile.os2 --directory=../src --warn-undefined-variables %2 %3 %4 %5 %6 %7 %8 %9 \r
if errorlevel 0 mv ..\src\lclint.exe ..\bin\r
goto end\r