summaryrefslogtreecommitdiff
path: root/makefiles/nmake/platform.mk
blob: bdc9c2fd8a16cc138db8cb4ebff168ab79e3bc59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Sets Windows specific variables
#
# provides:
# - BOOST_LIBRARY_TAG: how libraries are auto-tagged, for example
#   libboost_log-vc90-mt-1_42
#
# author: Andreas Baumann, abaumann at yahoo dot com

!include $(TOPDIR)\makefiles\nmake\config.mk

# TODO: maybe we have to probe certain things like the version
# of the visual studio or the availability of certain addons
# like Windows Unix Services, MOSS stuff or SDKs

#PLATFORM =		$(shell $(TOPDIR)/makefiles/gmake/guess_env --platform $(CC))
#OS_MAJOR_VERSION =	$(shell $(TOPDIR)/makefiles/gmake/guess_env --os-major-version $(CC))
#OS_MINOR_VERSION =	$(shell $(TOPDIR)/makefiles/gmake/guess_env --os-minor-version $(CC))
#COMPILER =		$(shell $(TOPDIR)/makefiles/gmake/guess_env --compiler $(CC))

#PLATFORM_COMPILE_FLAGS = \
#			-D$(PLATFORM) \
#			-DOS_MAJOR_VERSION=$(OS_MAJOR_VERSION) \
#			-DOS_MINOR_VERSION=$(OS_MINOR_VERSION)

# Boost
#######

BOOST_LIBRARY_TAG=-$(BOOST_VC_VER)$(BOOST_MT)-$(BOOST_VERSION)