2002-11-06 13:58:45 +01:00
|
|
|
# The contents of this file are subject to the Interbase Public
|
|
|
|
# License Version 1.0 (the "License"); you may not use this file
|
|
|
|
# except in compliance with the License. You may obtain a copy
|
|
|
|
# of the License at http://www.Inprise.com/IPL.html
|
|
|
|
#
|
|
|
|
# Software distributed under the License is distributed on an
|
|
|
|
# "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express
|
|
|
|
# or implied. See the License for the specific language governing
|
|
|
|
# rights and limitations under the License.
|
|
|
|
#
|
|
|
|
# The Original Code was created by Inprise Corporation
|
|
|
|
# and its predecessors. Portions created by Inprise Corporation are
|
|
|
|
# Copyright (C) Inprise Corporation.
|
|
|
|
#
|
|
|
|
# All Rights Reserved.
|
|
|
|
# Contributor(s): ______________________________________.
|
|
|
|
# Start of file prefix.win32: $(VERSION) $(PLATFORM)
|
|
|
|
|
2003-08-19 11:25:21 +02:00
|
|
|
PROD_FLAGS=-O2 -march=@CPU_TYPE@ -mcpu=@CPU_TYPE@ -DMINGW -mno-cygwin -mthreads -Wall -Wno-unused-variable -Wno-unknown-pragmas -Wno-parentheses -Wno-switch -fmessage-length=0 -DIPSERVER -Dlint -DMAXPATHLEN=255 -DWIN32_LEAN_AND_MEAN -MMD
|
|
|
|
DEV_FLAGS=-ggdb -march=@CPU_TYPE@ -mcpu=@CPU_TYPE@ -DMINGW -mno-cygwin -mthreads -Wall -Wno-unused-variable -Wno-unknown-pragmas -Wno-parentheses -Wno-switch -fmessage-length=0 -DIPSERVER -Dlint -DMAXPATHLEN=255 -DDEBUG_GDS_ALLOC -DWIN32_LEAN_AND_MEAN -MMD
|
2002-11-12 15:06:07 +01:00
|
|
|
|
|
|
|
PLATFORM_PATH=jrd/os/win32
|
2002-12-12 13:08:51 +01:00
|
|
|
|
|
|
|
JRDBOOT_Extra_Files=isc_sync.cpp thd.cpp
|
|
|
|
|
2003-03-05 16:45:25 +01:00
|
|
|
OS_SPECIFIC_Files=thd_priority.cpp
|
|
|
|
|
2003-07-15 01:29:45 +02:00
|
|
|
OS_ServerFiles= os/win32/srvr_w32 os/win32/window.cpp os/win32/chop.cpp os/win32/property.cpp os/win32/ibconfig.cpp os/win32/cntl.cpp
|
2003-03-05 16:45:25 +01:00
|
|
|
|
2003-03-31 12:29:16 +02:00
|
|
|
LIB_LINK_OPTIONS:=-shared -Wl,--add-stdcall-alias
|
2002-12-05 17:15:05 +01:00
|
|
|
LIB_LINK_RPATH:=-Wl,-rpath,
|
|
|
|
LIB_LINK_SONAME:=-Wl,-soname,
|
2003-03-21 12:53:48 +01:00
|
|
|
LIB_GUI:= -mwindows -lcomctl32 -lgdi32
|
2003-09-08 22:23:46 +02:00
|
|
|
EMBED_UTIL_TARGETS:=gstat gsec nbackup fb_lock_print
|
|
|
|
CLIENT_UTIL_TARGETS:=gstat gsec ibguard instsvc instreg nbackup fb_lock_print
|
2003-03-05 16:45:25 +01:00
|
|
|
WIN_IPSERVER_Files:=ipserver.cpp alli.cpp
|
2003-02-11 06:13:36 +01:00
|
|
|
|
2003-07-14 13:23:04 +02:00
|
|
|
Physical_IO_Module=os/win32/winnt.cpp
|
2003-03-28 12:29:18 +01:00
|
|
|
|
|
|
|
# Add resources to some files
|
|
|
|
FilesToAddVersionInfo=$(LIBFBEMBED_SO) $(LIBFBCLIENT_SO) $(LIBFBINTL_SO) \
|
|
|
|
$(GSTAT) $(GSEC) $(GFIX) $(QLI) $(ISQL) $(GBAK) $(GPRE)
|
|
|
|
# TODO: guardians also must be here
|
|
|
|
FilesToAddDialog=$(FB_SUPER_SERVER) $(FB_CLASSIC_SERVER)
|
2003-03-31 12:29:16 +02:00
|
|
|
|
|
|
|
# Override library names to suppress 'lib'-prefix
|
|
|
|
LIBFBINTL_SO := $(patsubst %libfbintl.dll,%fbintl.dll,$(LIBFBINTL_SO))
|
|
|
|
ClientLibraryName := $(patsubst lib%,%,$(ClientLibraryName))
|
|
|
|
|
|
|
|
# Override library names to suppress version suffix
|
|
|
|
ClientLibraryNameFull := $(ClientLibraryName)
|
|
|
|
ClientLibraryNameMajor := $(ClientLibraryName)
|