Kaydet (Commit) 9e3bf671 authored tarafından Yuri Dario's avatar Yuri Dario

i118923 - OS/2 port: minor fixes to build system.

üst 410cf845
...@@ -183,9 +183,8 @@ gb_Library_FILENAMES := $(patsubst rdf:rdf%,rdf:librdf%,$(gb_Library_FILENAMES)) ...@@ -183,9 +183,8 @@ gb_Library_FILENAMES := $(patsubst rdf:rdf%,rdf:librdf%,$(gb_Library_FILENAMES))
gb_Library_FILENAMES := $(patsubst tl:itl%,tl:tl%,$(gb_Library_FILENAMES)) gb_Library_FILENAMES := $(patsubst tl:itl%,tl:tl%,$(gb_Library_FILENAMES))
gb_Library_FILENAMES := $(patsubst sal:sal%,sal:sal3%,$(gb_Library_FILENAMES)) gb_Library_FILENAMES := $(patsubst sal:sal%,sal:sal3%,$(gb_Library_FILENAMES))
gb_Library_FILENAMES := $(patsubst salhelper:salhelper%,salhelper:salhelp3%,$(gb_Library_FILENAMES)) gb_Library_FILENAMES := $(patsubst salhelper:salhelper%,salhelper:salhelp3%,$(gb_Library_FILENAMES))
gb_Library_FILENAMES := $(patsubst sb:isb%,sb:basic%,$(gb_Library_FILENAMES)) gb_Library_FILENAMES := $(patsubst sb:sb%,sb:basic%,$(gb_Library_FILENAMES))
gb_Library_FILENAMES := $(patsubst sfx:isfx%,sfx:sfx%,$(gb_Library_FILENAMES)) gb_Library_FILENAMES := $(patsubst sfx:isfx%,sfx:sfx%,$(gb_Library_FILENAMES))
#gb_Library_FILENAMES := $(patsubst sot:sot%,sot:isot%,$(gb_Library_FILENAMES))
gb_Library_FILENAMES := $(patsubst svl:isvl%,svl:svl%,$(gb_Library_FILENAMES)) gb_Library_FILENAMES := $(patsubst svl:isvl%,svl:svl%,$(gb_Library_FILENAMES))
gb_Library_FILENAMES := $(patsubst svt:isvt%,svt:svtool%,$(gb_Library_FILENAMES)) gb_Library_FILENAMES := $(patsubst svt:isvt%,svt:svtool%,$(gb_Library_FILENAMES))
gb_Library_FILENAMES := $(patsubst vbahelper:ivbahelper%,vbahelper:vbahelper%,$(gb_Library_FILENAMES)) gb_Library_FILENAMES := $(patsubst vbahelper:ivbahelper%,vbahelper:vbahelper%,$(gb_Library_FILENAMES))
......
...@@ -66,11 +66,7 @@ $(COMMONBIN)$/images_brand.zip: ...@@ -66,11 +66,7 @@ $(COMMONBIN)$/images_brand.zip:
# generate the HiContrast icon set # generate the HiContrast icon set
$(MISC)$/hicontrast.flag .PHONY : $(MISC)$/hicontrast.flag .PHONY :
.IF "$(GUI)"=="OS2"
touch $(MISC)$/hicontrast.flag
.ELSE
$(PERL) $(SOLARENV)$/bin$/hicontrast-to-theme.pl $(SOLARSRC)$/default_images $(MISC)$/hicontrast && $(TOUCH) $@ $(PERL) $(SOLARENV)$/bin$/hicontrast-to-theme.pl $(SOLARSRC)$/default_images $(MISC)$/hicontrast && $(TOUCH) $@
.ENDIF
# unpack the classic icon set # unpack the classic icon set
$(MISC)$/classic.flag : $(CLASSIC_TARBALL) $(MISC)$/classic.flag : $(CLASSIC_TARBALL)
......
...@@ -108,6 +108,9 @@ sub copy_normalized { ...@@ -108,6 +108,9 @@ sub copy_normalized {
@from_stat = stat($file); @from_stat = stat($file);
@to_stat = stat($copy); @to_stat = stat($copy);
if ( $from_stat[9] > $to_stat[9] ) { if ( $from_stat[9] > $to_stat[9] ) {
if ( $^O eq 'os2' ) {
$rc = unlink($copy);
}
copy( $file, $copy ) || die $!; copy( $file, $copy ) || die $!;
utime( $from_stat[9], $from_stat[9], $copy ); utime( $from_stat[9], $from_stat[9], $copy );
} }
......
...@@ -190,7 +190,11 @@ TKTLIB=-ltkt$(DLLPOSTFIX) ...@@ -190,7 +190,11 @@ TKTLIB=-ltkt$(DLLPOSTFIX)
SAXLIB=-lsax$(DLLPOSTFIX) SAXLIB=-lsax$(DLLPOSTFIX)
MAILLIB=-lmail MAILLIB=-lmail
DOCMGRLIB=-ldmg$(DLLPOSTFIX) DOCMGRLIB=-ldmg$(DLLPOSTFIX)
.IF "$(GUI)"=="OS2"
BASICLIB=-lbasic
.ELSE
BASICLIB=-lsb$(DLLPOSTFIX) BASICLIB=-lsb$(DLLPOSTFIX)
.ENDIF
VBAHELPERLIB=-lvbahelper$(DLLPOSTFIX) VBAHELPERLIB=-lvbahelper$(DLLPOSTFIX)
DBTOOLSLIB=-ldbtools$(DLLPOSTFIX) DBTOOLSLIB=-ldbtools$(DLLPOSTFIX)
HM2LIBSH=-lhmwrpdll HM2LIBSH=-lhmwrpdll
......
...@@ -144,6 +144,7 @@ LS=ls ...@@ -144,6 +144,7 @@ LS=ls
ECHON=echo -n ECHON=echo -n
ECHONL=echo ECHONL=echo
.ELIF "$(GUI)"=="OS2" .ELIF "$(GUI)"=="OS2"
GPERF*=gperf
SED*=sed SED*=sed
SORT*=sort SORT*=sort
PERL*=perl PERL*=perl
......
...@@ -198,7 +198,9 @@ MRESULT EXPENTRY SalSysObjChildWndProc( HWND hWnd, ULONG nMsg, ...@@ -198,7 +198,9 @@ MRESULT EXPENTRY SalSysObjChildWndProc( HWND hWnd, ULONG nMsg,
MRESULT nRet = 0; MRESULT nRet = 0;
int bDef = TRUE; int bDef = TRUE;
#if OSL_DEBUG_LEVEL>0
debug_printf( "SalSysObjChildWndProc hWnd 0x%x nMsg %d\n", hWnd, nMsg); debug_printf( "SalSysObjChildWndProc hWnd 0x%x nMsg %d\n", hWnd, nMsg);
#endif
switch( nMsg ) switch( nMsg )
{ {
...@@ -233,7 +235,9 @@ MRESULT EXPENTRY SalSysObjClipWndProc( HWND hWnd, ULONG nMsg, ...@@ -233,7 +235,9 @@ MRESULT EXPENTRY SalSysObjClipWndProc( HWND hWnd, ULONG nMsg,
MRESULT nRet = 0; MRESULT nRet = 0;
int bDef = TRUE; int bDef = TRUE;
#if OSL_DEBUG_LEVEL>0
debug_printf( "SalSysObjClipWndProc hWnd 0x%x nMsg %d\n", hWnd, nMsg); debug_printf( "SalSysObjClipWndProc hWnd 0x%x nMsg %d\n", hWnd, nMsg);
#endif
switch( nMsg ) switch( nMsg )
{ {
...@@ -360,8 +364,10 @@ SalObject* ImplSalCreateObject( Os2SalInstance* pInst, Os2SalFrame* pParent ) ...@@ -360,8 +364,10 @@ SalObject* ImplSalCreateObject( Os2SalInstance* pInst, Os2SalFrame* pParent )
if ( hWnd ) if ( hWnd )
{ {
#if OSL_DEBUG_LEVEL>0
debug_printf("ImplSalCreateObject hWndChild %x\n", hWndChild); debug_printf("ImplSalCreateObject hWndChild %x\n", hWndChild);
debug_printf("ImplSalCreateObject hWnd %x\n", hWnd); debug_printf("ImplSalCreateObject hWnd %x\n", hWnd);
#endif
pObject->mhWnd = hWnd; pObject->mhWnd = hWnd;
pObject->mhWndChild = hWndChild; pObject->mhWndChild = hWndChild;
pObject->maSysData.hWnd = hWndChild; pObject->maSysData.hWnd = hWndChild;
...@@ -474,7 +480,9 @@ void Os2SalObject::UnionClipRegion( long nX, long nY, long nWidth, long nHeight ...@@ -474,7 +480,9 @@ void Os2SalObject::UnionClipRegion( long nX, long nY, long nWidth, long nHeight
nX, mnHeight-(nY+nHeight), nWidth, nHeight, nX, mnHeight-(nY+nHeight), nWidth, nHeight,
mhWnd, mhLastClipWnd, mhWnd, mhLastClipWnd,
0, NULL, NULL ); 0, NULL, NULL );
#if OSL_DEBUG_LEVEL>0
debug_printf("Os2SalObject::UnionClipRegion hClipWnd %x\n", hClipWnd); debug_printf("Os2SalObject::UnionClipRegion hClipWnd %x\n", hClipWnd);
#endif
mhLastClipWnd = hClipWnd; mhLastClipWnd = hClipWnd;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment