Changeset 254
- Timestamp:
- Sep 20, 2007, 4:11:41 AM (18 years ago)
- Location:
- OCO/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
OCO/trunk/install/makefile
r238 r254 15 15 BASEINC = $(%UNIBASE16)\include 16 16 BUILDINC = $(%UNIBASE16)\bin 17 INSTALLINC = $(%UNIBASE16)\bin\install.lnk 17 18 18 19 PRODUCT_NAME = IBM Generic Audio … … 86 87 @%write $^@ Name $(RCDLL).DLL 87 88 @%write $^@ System os2v2 dll 88 @%write $^@ Option Description '$(PRODUCT_NAME) Installation Dll'89 # @%write $^@ Option Description '$(PRODUCT_NAME) Installation Dll' 89 90 @%write $^@ File $(RCOBJS) 90 91 @%write $^@ library clib3r.lib … … 92 93 93 94 $(RCDLL).dll: $(RCOBJS) $(RCRES).rc $(RCDLL).lrf 94 $(LINK) $(LFLAGS) @$(RCDLL).lrf 95 $(LINK) $(LFLAGS) @$(RCDLL).lrf @$(INSTALLINC) 95 96 $(RC) $(RFLAGS) $(RCRES).rc $(RCDLL).dll 96 97 @if exist $(%UNIBASE16)\release @copy $(RCDLL).dll $(%UNIBASE16)\release -
OCO/trunk/tools/mkversion.cmd
r238 r254 21 21 versConst = sAlsaBase'\mif\uniaud.inc' 22 22 versMak = sAlsaBase'\bin\version.lnk' 23 versInst = sAlsaBase'\bin\install.lnk' 23 24 versHdr = sAlsaBase'\bin\version.h' 24 25 … … 91 92 call lineout versMak 92 93 94 dummy = SysFileDelete(versInst) 95 call lineout versInst, "option description '@#"ProjVendor":"major"."minor"#@##1## "ProjString"::::"ProjVersion"::"Fixpack"@@Installer for "productname"'" 96 call lineout versInst 97 93 98 94 99 /* construct the vesion header … … 137 142 end 138 143 144 /* Patch control.scr to include correct version in ssversion lines */ 145 146 ctr = sAlsaBase'\install\control.scr' 147 tempctr = sAlsaBase'\install\control.TMP' 148 do while(LINES(ctr)) 149 tmpLine = LINEIN(ctr) 150 IF POS('ssversion=', tmpline) = 1 151 Then tmpline = 'ssversion="'projvers'"' 152 call lineout tempctr, tmpline 153 end 154 155 call stream ctr, 'c', 'close' 156 call stream tempctr, 'c', 'close' 157 '@copy' tempctr ctr '>nul' 158 '@del' tempctr '>nul' 159 160 139 161 exit 0; 140 162
Note:
See TracChangeset
for help on using the changeset viewer.