]> andersk Git - splint.git/blobdiff - os2/Makefile.os2
Removed obsolete OS/2 test makefiles.
[splint.git] / os2 / Makefile.os2
index bad7920da351d03074980b0fa2193c1f195c55ea..3c1252a11ad62946ea6ff71da8c68997b41312f9 100644 (file)
@@ -79,23 +79,11 @@ FLEX      = flex
 YFLAGS    = -v -t -d\r
 LFLAGS    =\r
 \r
-###\r
-### file-related commands (I use emx GNUish utilities)\r
-###\r
-CP = cp\r
-MV = mv\r
-CAT = cat\r
-RM = rm\r
-INSTALL = cp\r
-INSTALLFLAGS =           \r
-ECHO = echo\r
-SED = sed\r
-\r
 ###\r
 ### Set automatically: splint version and date etc.\r
 ###\r
 \r
-LCL_VERSION := $(shell grep "^VERSION" ../configure | $(SED) "s/VERSION *= *//")\r
+LCL_VERSION := $(shell grep "^VERSION" ../configure | sed "s/VERSION *= *//")\r
 LCL_DATE := $(shell date +"%d %b %Y")\r
 BUILD_DATE := $(shell date +"%c")\r
 ME := $(shell whoami)\r
@@ -106,6 +94,22 @@ LCL_PARSE_VERSION = Splint $(LCL_VERSION)
 SPLINT_VERSION = $(LCL_PARSE_VERSION) -- $(LCL_DATE)\r
 \r
 \r
+###\r
+### Then, run:\r
+###\r
+###    make\r
+###\r
+###\r
+\r
+### file-related commands (I use emx GNUish utilities)\r
+CP = cp\r
+MV = mv\r
+CAT = cat\r
+RM = rm\r
+INSTALL = cp\r
+INSTALLFLAGS =           \r
+ECHO = echo\r
+\r
 ###\r
 ### compiler --- gcc is recommended, but splint has been compiled\r
 ###              without changes using cc on several platforms.\r
@@ -178,10 +182,9 @@ make.vars:
        echo "INSTALL = $(INSTALL)" >>make.vars\r
        echo "INSTALLFLAGS = $(INSTALLFLAGS)" >>make.vars\r
        echo "ECHO = $(ECHO)" >>make.vars\r
-       echo "SED = $(SED)" >>make.vars\r
 \r
 ../config.h: os2config.h.in\r
-       $(SED) -e 's|@DEFAULT_LARCHPATH@|$(DEFAULT_LARCHPATH)|' \\r
+       sed -e 's|@DEFAULT_LARCHPATH@|$(DEFAULT_LARCHPATH)|' \\r
        -e 's|@DEFAULT_LCLIMPORTDIR@|$(DEFAULT_LCLIMPORTDIR)|' \\r
        -e 's|@GCC_INCLUDE_DIR@|$(GCC_INCLUDE_DIR)|' \\r
        -e 's|@GCC_INCLUDE_DIR2@|$(GCC_INCLUDE_DIR2)|' \\r
@@ -194,9 +197,9 @@ make.vars:
        os2config.h.in >../config.h\r
 \r
 setenv.cmd: setenv.cmd.in\r
-       $(SED) -e 's|@LCL_VERSION@|$(LCL_VERSION)|' \\r
+       sed -e 's|@LCL_VERSION@|$(LCL_VERSION)|' \\r
        -e 's|@BASEDIR@|$(BASEDIR)|' \\r
-       setenv.cmd.in | tr '/' '\\\\' >setenv.cmd\r
+       setenv.cmd.in | tr '/' '\\\\\\' >setenv.cmd\r
 \r
 config: make.vars ../config.h setenv.cmd\r
 \r
This page took 0.036447 seconds and 4 git commands to generate.