diff options
-rw-r--r-- | sal/prj/d.lst | 1 | ||||
-rw-r--r-- | sal/util/makefile.mk | 15 |
2 files changed, 14 insertions, 2 deletions
diff --git a/sal/prj/d.lst b/sal/prj/d.lst index b2f34dc34381..23ffad7323d4 100644 --- a/sal/prj/d.lst +++ b/sal/prj/d.lst @@ -38,6 +38,7 @@ mkdir: %_DEST%\inc%_EXT%\systools\unx ..\%__SRC%\misc\*.hid %_DEST%\bin%_EXT%\*.hid ..\%__SRC%\bin\*.res %_DEST%\bin%_EXT%\*.res +..\%__SRC%\inc\udkversion.h %_DEST%\inc%_EXT%\sal\udkversion.h ..\%__SRC%\lib\lib*static*.dylib %_DEST%\lib%_EXT%\lib*static*.dylib ..\%__SRC%\misc\*staticdatamembers.cxx %_DEST%\inc%_EXT%\*staticdatamembers.cxx diff --git a/sal/util/makefile.mk b/sal/util/makefile.mk index a29a92759e69..1713120c1f8c 100644 --- a/sal/util/makefile.mk +++ b/sal/util/makefile.mk @@ -2,9 +2,9 @@ # # $RCSfile: makefile.mk,v $ # -# $Revision: 1.8 $ +# $Revision: 1.9 $ # -# last change: $Author: tra $ $Date: 2001-05-10 16:04:28 $ +# last change: $Author: kr $ $Date: 2001-05-14 09:25:48 $ # # The Contents of this file are made available subject to the terms of # either of the following licenses @@ -180,6 +180,8 @@ SHL1OBJS= \ .ENDIF .ENDIF +$(SHL1TARGET): $(OUT)/inc/udkversion.h + SHL1DEPN= SHL1DEF= $(MISC)$/$(SHL1TARGET).def @@ -262,3 +264,12 @@ SHL2DEPN=makefile.mk .INCLUDE : target.mk +$(OUT)/inc/udkversion.h: + echo '#ifndef _SAL_UDKVERSION_H_' > $@ + echo '#define _SAL_UDKVERSION_H_' >> $@ + echo '' >> $@ + echo '#define SAL_UDK_MAJOR "$(UDK_MAJOR)"' >> $@ + echo '#define SAL_UDK_MINOR "$(UDK_MINOR)"' >> $@ + echo '#define SAL_UDK_MICRO "$(UDK_MICRO)"' >> $@ + echo '' >> $@ + echo '#endif' >> $@ |