]> git.tdb.fi Git - ext/sigc++-2.0.git/blob - MSVC_NMake/Makefile.vc
Adjust the name of the library to match upstream
[ext/sigc++-2.0.git] / MSVC_NMake / Makefile.vc
1 # NMake Makefile for building libsigc++ on Windows using Visual Studio
2
3 # The items below this line should not be changed, unless one is maintaining
4 # the NMake Makefiles.  Customizations can be done in the following NMake Makefile
5 # portions (please see comments in the these files to see what can be customized):
6 #
7 # detectenv-msvc.mak
8 # config-msvc.mak
9
10 !include detectenv-msvc.mak
11
12 # Include the Makefile portions with the source listings
13 !include ..\sigc++\filelist.am
14
15 # Include the Makefile portion that enables features based on user input
16 !include config-msvc.mak
17
18 !if "$(VALID_CFGSET)" == "TRUE"
19
20 # We need Visual Studio 2013 or later
21 !if $(VSVER) < 12
22 VALID_MSC = FALSE
23 !else
24 VALID_MSC = TRUE
25 !endif
26
27 !if "$(VALID_MSC)" == "TRUE"
28
29 !ifdef GENERATE_VERSIONED_FILES
30 !include pkg-ver.mak
31 DO_REAL_GEN = 1
32 !endif
33
34 all: $(LIBSIGC_LIB) examples all-build-info
35
36 # Include the Makefile portion to convert the source and header lists
37 # into the lists we need for compilation and introspection
38 !include create-lists-msvc.mak
39
40 examples: $(libsigc_examples)
41
42 tests: $(libsigc_tests) all-build-info
43
44 benchmark: all $(libsigc_benchmark) all-build-info
45
46 # Include the build rules for sources, DLLs and executables
47 !include generate-msvc.mak
48 !include build-rules-msvc.mak
49
50 !include install.mak
51
52 !else # "$(VALID_MSC)" == "TRUE"
53 all:
54         @echo You need Visual Studio 2013 or later.
55
56 !endif # "$(VALID_MSC)" == "TRUE"
57
58 !else # "$(VALID_CFGSET)" == "TRUE"
59 all: help
60         @echo You need to specify a valid configuration, via
61         @echo CFG=release or CFG=debug
62 !endif # "$(VALID_CFGSET)" == "TRUE"
63
64 !include info-msvc.mak