1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
11 # $Revision: 1.17.38.1 $
13 # This file is part of OpenOffice.org.
15 # OpenOffice.org is free software: you can redistribute it and/or modify
16 # it under the terms of the GNU Lesser General Public License version 3
17 # only, as published by the Free Software Foundation.
19 # OpenOffice.org is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 # GNU Lesser General Public License version 3 for more details
23 # (a copy is included in the LICENSE file that accompanied this code).
25 # You should have received a copy of the GNU Lesser General Public License
26 # version 3 along with OpenOffice.org. If not, see
27 # <http://www.openoffice.org/license.html>
28 # for a copy of the LGPLv3 License.
30 #*************************************************************************
39 # --- Settings ----------------------------------
41 .INCLUDE
: settings.mk
43 CFLAGS
+= $(LFS_CFLAGS
)
44 CXXFLAGS
+= $(LFS_CFLAGS
)
46 # --- Targets ----------------------------------
51 CFLAGSCXX
+=-Wno-unused-parameter
-Wno-return-type
55 .IF
"$(PSDK_HOME)"!=""
56 # Since the 02/2003 PSDK the "new" linker is needed here.
57 LINK
=$(WRAPCMD
) "$(PSDK_HOME)$/Bin$/Win64$/LINK.EXE"
62 $(SLO
)$/CheckTokenMembership.obj\
63 $(SLO
)$/CommandLineToArgvW.obj\
64 $(SLO
)$/CopyFileExA.obj\
65 $(SLO
)$/CopyFileExW.obj\
66 $(SLO
)$/DrawStateW.obj\
67 $(SLO
)$/EnumProcesses.obj\
68 $(SLO
)$/GetLogicalDriveStringsW.obj\
69 $(SLO
)$/GetLongPathNameA.obj\
70 $(SLO
)$/GetLongPathNameW.obj\
71 $(SLO
)$/GetModuleFileNameExA.obj\
72 $(SLO
)$/GetModuleFileNameExW.obj\
73 $(SLO
)$/GetProcessId.obj\
74 $(SLO
)$/GetUserDefaultUILanguage.obj\
75 $(SLO
)$/GetUserDomainA.obj\
76 $(SLO
)$/GetUserDomainW.obj\
77 $(SLO
)$/GetDiskFreeSpaceExA.obj\
78 $(SLO
)$/GetDiskFreeSpaceExW.obj\
79 $(SLO
)$/MoveFileExA.obj\
80 $(SLO
)$/MoveFileExW.obj\
82 $(SLO
)$/DllGetVersion.obj\
84 $(SLO
)$/ResolveThunk.obj\
85 $(SLO
)$/ResolveUnicows.obj\
87 $(SLO
)$/snwprintf.obj\
88 $(SLO
)$/FindFirstVolumeA.obj\
89 $(SLO
)$/FindFirstVolumeW.obj\
90 $(SLO
)$/FindNextVolumeA.obj\
91 $(SLO
)$/FindNextVolumeW.obj\
92 $(SLO
)$/FindVolumeClose.obj\
93 $(SLO
)$/FindFirstVolumeMountPointA.obj\
94 $(SLO
)$/FindFirstVolumeMountPointW.obj\
95 $(SLO
)$/FindNextVolumeMountPointA.obj\
96 $(SLO
)$/FindNextVolumeMountPointW.obj\
97 $(SLO
)$/FindVolumeMountPointClose.obj\
98 $(SLO
)$/GetVolumeNameForVolumeMountPointA.obj\
99 $(SLO
)$/GetVolumeNameForVolumeMountPointW.obj\
100 $(SLO
)$/DeleteVolumeMountPointA.obj\
101 $(SLO
)$/DeleteVolumeMountPointW.obj\
102 $(SLO
)$/GetVolumePathNameA.obj\
103 $(SLO
)$/GetVolumePathNameW.obj\
104 $(SLO
)$/SetVolumeMountPointA.obj\
105 $(SLO
)$/SetVolumeMountPointW.obj\
106 $(SLO
)$/PathAddBackslashW.obj\
107 $(SLO
)$/PathCompactPathExW.obj\
108 $(SLO
)$/PathFileExistsW.obj\
109 $(SLO
)$/PathFindExtensionW.obj\
110 $(SLO
)$/PathFindFileNameW.obj\
111 $(SLO
)$/PathIsFileSpecW.obj\
112 $(SLO
)$/PathIsUNCW.obj\
113 $(SLO
)$/PathRemoveExtensionW.obj\
114 $(SLO
)$/PathRemoveFileSpecW.obj\
115 $(SLO
)$/PathSetDlgItemPathW.obj\
116 $(SLO
)$/PathStripToRootW.obj\
117 $(SLO
)$/SHCreateItemFromParsingName.obj
120 SHL1IMPLIB
=$(SHL1TARGET
)
121 SHL1DEF
=$(MISC
)/$(SHL1TARGET
).def
122 DEF1NAME
=$(SHL1TARGET
)
125 $(SHL1TARGET
)_mingw.dxp\
136 #SHL1VERINFO=$(SHL1TARGET).rc
139 #No default libraries
165 ALL
: ALLTAR
$(LB
)$/libuwinapi.a
167 $(LB
)$/libuwinapi.a
: $(MISC
)$/uwinapi.def
168 dlltool
--dllname uwinapi.dll
--input-def
=$(MISC
)$/uwinapi.def
--kill-at
--output-lib
=$(LB
)$/libuwinapi.a