]>
Commit | Line | Data |
---|---|---|
5d1000e7 VS |
1 | <?xml version="1.0" ?> |
2 | <!-- $Id$ --> | |
3 | ||
4 | <makefile> | |
5 | ||
6 | <!-- | |
7 | Generate build.cfg file on Windows, with settings used to build | |
8 | the library. | |
9 | --> | |
10 | ||
712593b0 WS |
11 | <if cond="FORMAT not in ['autoconf','msvc6prj','msevc4prj','cbuilderx'] and |
12 | TOOLKIT in ['PM','MSW','MGL','MOTIF']"> | |
5d1000e7 | 13 | |
16840c7f VS |
14 | <set var="BUILD_CFG_FILE" make_var="1"> |
15 | $(SETUPHDIR)$(DIRSEP)build.cfg | |
16 | </set> | |
61639efb | 17 | |
5d1000e7 | 18 | <action id="build_cfg_file"> |
e884cfe2 | 19 | <is-phony>1</is-phony> |
5d1000e7 | 20 | <dependency-of>all</dependency-of> |
16840c7f | 21 | <depends>libdir_setup</depends> |
5d1000e7 VS |
22 | <command> |
23 | @echo WXVER_MAJOR=$(WXVER_MAJOR) >$(BUILD_CFG_FILE) | |
24 | @echo WXVER_MINOR=$(WXVER_MINOR) >>$(BUILD_CFG_FILE) | |
25 | @echo WXVER_RELEASE=$(WXVER_RELEASE) >>$(BUILD_CFG_FILE) | |
26 | @echo BUILD=$(BUILD) >>$(BUILD_CFG_FILE) | |
27 | @echo MONOLITHIC=$(MONOLITHIC) >>$(BUILD_CFG_FILE) | |
28 | @echo SHARED=$(SHARED) >>$(BUILD_CFG_FILE) | |
29 | @echo UNICODE=$(UNICODE) >>$(BUILD_CFG_FILE) | |
30 | @echo WXUNIV=$(WXUNIV) >>$(BUILD_CFG_FILE) | |
31 | @echo CFG=$(CFG) >>$(BUILD_CFG_FILE) | |
32 | @echo VENDOR=$(VENDOR) >>$(BUILD_CFG_FILE) | |
33 | @echo OFFICIAL_BUILD=$(OFFICIAL_BUILD) >>$(BUILD_CFG_FILE) | |
34 | @echo DEBUG_FLAG=$(DEBUG_FLAG) >>$(BUILD_CFG_FILE) | |
35 | @echo DEBUG_INFO=$(DEBUG_INFO) >>$(BUILD_CFG_FILE) | |
36 | @echo RUNTIME_LIBS=$(RUNTIME_LIBS) >>$(BUILD_CFG_FILE) | |
37 | @echo MSLU=$(MSLU) >>$(BUILD_CFG_FILE) | |
38 | @echo USE_EXCEPTIONS=$(USE_EXCEPTIONS) >>$(BUILD_CFG_FILE) | |
d1e5aa07 | 39 | @echo USE_THREADS=$(USE_THREADS) >>$(BUILD_CFG_FILE) |
5d1000e7 VS |
40 | @echo USE_GUI=$(USE_GUI) >>$(BUILD_CFG_FILE) |
41 | @echo USE_HTML=$(USE_HTML) >>$(BUILD_CFG_FILE) | |
42 | @echo USE_ODBC=$(USE_ODBC) >>$(BUILD_CFG_FILE) | |
43 | @echo USE_OPENGL=$(USE_OPENGL) >>$(BUILD_CFG_FILE) | |
61639efb | 44 | @echo USE_QA=$(USE_QA) >>$(BUILD_CFG_FILE) |
5d1000e7 VS |
45 | @echo COMPILER=$(COMPILER) >>$(BUILD_CFG_FILE) |
46 | @echo CC=$(CC) >>$(BUILD_CFG_FILE) | |
47 | @echo CXX=$(CXX) >>$(BUILD_CFG_FILE) | |
48 | @echo CFLAGS=$(CFLAGS) >>$(BUILD_CFG_FILE) | |
49 | @echo CPPFLAGS=$(CPPFLAGS) >>$(BUILD_CFG_FILE) | |
50 | @echo CXXFLAGS=$(CXXFLAGS) >>$(BUILD_CFG_FILE) | |
61639efb | 51 | @echo LDFLAGS=$(LDFLAGS) >>$(BUILD_CFG_FILE) |
5d1000e7 VS |
52 | </command> |
53 | </action> | |
54 | ||
55 | </if> | |
56 | ||
57 | </makefile> |