summaryrefslogtreecommitdiff
path: root/sal/systools/win32/uwinapi
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@novell.com>2011-01-16 21:57:00 +0200
committerTor Lillqvist <tlillqvist@novell.com>2011-01-16 21:57:00 +0200
commit7e86fc3fe72f67b0d9240b4afad28c66dc482c80 (patch)
treec1bfce666bd075311fcfadb6fd690d48b671a870 /sal/systools/win32/uwinapi
parent9eda1ec830413271cce82a3115b66d05ea00c91f (diff)
Initial hacks for 64-bit Windows build
Diffstat (limited to 'sal/systools/win32/uwinapi')
-rw-r--r--[-rwxr-xr-x]sal/systools/win32/uwinapi/makefile.mk21
1 files changed, 11 insertions, 10 deletions
diff --git a/sal/systools/win32/uwinapi/makefile.mk b/sal/systools/win32/uwinapi/makefile.mk
index 57faa5cf7d58..b086228b68d9 100755..100644
--- a/sal/systools/win32/uwinapi/makefile.mk
+++ b/sal/systools/win32/uwinapi/makefile.mk
@@ -47,14 +47,11 @@ CXXFLAGS+= $(LFS_CFLAGS)
CFLAGSCXX+=-Wno-unused-parameter -Wno-return-type
.ENDIF
-.IF "$(COMEX)"=="9"
-.IF "$(PSDK_HOME)"!=""
-# Since the 02/2003 PSDK the "new" linker is needed here.
-LINK=$(WRAPCMD) "$(PSDK_HOME)$/Bin$/Win64$/LINK.EXE"
-.ENDIF
-.ENDIF
+SLOFILES=
+
+.IF "$(CPU)"=="I"
-SLOFILES=\
+SLOFILES+=\
$(SLO)$/CheckTokenMembership.obj\
$(SLO)$/CommandLineToArgvW.obj\
$(SLO)$/CopyFileExA.obj\
@@ -79,8 +76,6 @@ SLOFILES=\
$(SLO)$/DllMain.obj\
$(SLO)$/ResolveThunk.obj\
$(SLO)$/ResolveUnicows.obj\
- $(SLO)$/snprintf.obj\
- $(SLO)$/snwprintf.obj\
$(SLO)$/FindFirstVolumeA.obj\
$(SLO)$/FindFirstVolumeW.obj\
$(SLO)$/FindNextVolumeA.obj\
@@ -111,7 +106,13 @@ SLOFILES=\
$(SLO)$/PathSetDlgItemPathW.obj\
$(SLO)$/PathStripToRootW.obj\
$(SLO)$/SHCreateItemFromParsingName.obj
-
+
+.ENDIF
+
+SLOFILES+=\
+ $(SLO)$/snprintf.obj\
+ $(SLO)$/snwprintf.obj
+
SHL1TARGET=$(TARGET)
SHL1IMPLIB=$(SHL1TARGET)
SHL1DEF=$(MISC)/$(SHL1TARGET).def