]> git.saurik.com Git - wxWidgets.git/blame - samples/notebook/makefile.gcc
Added headers that didn't get installed.
[wxWidgets.git] / samples / notebook / makefile.gcc
CommitLineData
3b20263d
VS
1
2# =========================================================================
3# This makefile was generated by
4# Bakefile 0.1.1 (http://bakefile.sourceforge.net)
5# Do not modify, all changes will be overwritten!
6# =========================================================================
7
8
9# -------------------------------------------------------------------------
10# These are configurable options:
11# -------------------------------------------------------------------------
12
13# Type of compiled binaries [debug,release]
14BUILD = release
15# Name of your custom configuration. This affects directory
16# where object files are stored as well as the location of
17# compiled .lib files and setup.h under the lib/ toplevel directory.
18CFG =
19# Standard preprocessor flags (common for CC and CXX)
20CPPFLAGS =
21# C++ compiler
22CXX = g++
23# Standard flags for C++
24CXXFLAGS =
25# Set the version of your Mingw installation here.
26# "3" ...... this is for Mingw 2.0 or newer that cames with gcc3
27# "2.95" ... for Mingw 1.1 or any of the older versions [3,2.95]
28GCC_VERSION = 3
29# Standard linker flags
30LDFLAGS =
31# Multiple libraries or single huge monolithic one? [0,1]
32MONOLITHIC = 1
33# Is this official build by wxWindows developers? [0,1]
34OFFICIAL_BUILD = 0
35# What type of library to build? [0,1]
36SHARED = 1
37# Compile Unicode build of wxWindows? [0,1]
38UNICODE = 0
39# Build GUI libraries? [0,1]
40USE_GUI = 1
41# Build wxUniversal instead of native port? [0,1]
42WXUNIV = 0
43
44# -------------------------------------------------------------------------
45# Do not modify the rest of this file!
46# -------------------------------------------------------------------------
47
48### Variables: ###
49
50OBJS = gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
51NOTEBOOK_CXXFLAGS = $(CPPFLAGS) -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -I./../../include -I./../../lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) -I./../../src/tiff -I./../../src/jpeg -I./../../src/png -I./../../src/zlib -I./../../src/regex -I. $(__DLLFLAG_p) $(CXXFLAGS)
52
53### Conditionally set variables: ###
54
55ifeq ($(USE_GUI),0)
56PORTNAME = base
57endif
58ifeq ($(USE_GUI),1)
59PORTNAME = msw
60endif
61ifeq ($(BUILD),debug)
62WXDEBUGFLAG = d
63endif
64ifeq ($(SHARED),1)
65WXDLLFLAG = dll
66endif
67ifeq ($(UNICODE),1)
68WXUNICODEFLAG = u
69endif
70ifeq ($(WXUNIV),1)
71WXUNIVNAME = univ
72endif
73ifeq ($(BUILD),debug)
74__DEBUG_DEFINE_p = -D__WXDEBUG__
75endif
76ifeq ($(BUILD),debug)
77__DEBUG_DEFINE_p_1 = --define __WXDEBUG__
78endif
79ifeq ($(SHARED),1)
80__DLLFLAG_p = -DWXUSINGDLL
81endif
82ifeq ($(SHARED),1)
83__DLLFLAG_p_1 = --define WXUSINGDLL
84endif
85ifeq ($(UNICODE),1)
86__UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
87endif
88ifeq ($(UNICODE),1)
89__UNICODE_DEFINE_p_1 = --define wxUSE_UNICODE=1
90endif
91ifeq ($(MONOLITHIC),0)
92__WXLIB_BASE_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
93endif
94ifeq ($(MONOLITHIC),0)
95__WXLIB_CORE_p = -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core
96endif
97ifeq ($(MONOLITHIC),1)
98__WXLIB_MONO_p = -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
99endif
100ifeq ($(WXUNIV),1)
101__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
102endif
103ifeq ($(WXUNIV),1)
104__WXUNIV_DEFINE_p_1 = --define __WXUNIVERSAL__
105endif
106
107
108all: $(OBJS)
109$(OBJS):
110 -if not exist $(OBJS) mkdir $(OBJS)
111
112### Targets: ###
113
114all: $(OBJS)\notebook.exe
115
116$(OBJS)\notebook_notebook.o: .\notebook.cpp
117 $(CXX) -c -o $@ $(NOTEBOOK_CXXFLAGS) $<
118
119$(OBJS)\notebook_notebook_rc.o: .\notebook.rc
120 windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) --include-dir ./../../include --include-dir ./../../lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) --include-dir ./../../src/tiff --include-dir ./../../src/jpeg --include-dir ./../../src/png --include-dir ./../../src/zlib --include-dir ./../../src/regex --include-dir . $(__DLLFLAG_p_1)
121
122clean:
123 -if exist $(OBJS)\*.o del $(OBJS)\*.o
124 -if exist $(OBJS)\notebook.exe del $(OBJS)\notebook.exe
125
126install: all
127
128$(OBJS)\notebook.exe: $(OBJS)\notebook_notebook.o $(OBJS)\notebook_notebook_rc.o
129 $(CXX) -o $@ $(OBJS)\notebook_notebook.o $(OBJS)\notebook_notebook_rc.o $(LDFLAGS) -L.\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) -Wl,--subsystem,windows -mwindows $(__WXLIB_MONO_p) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) -lwxtiff$(WXDEBUGFLAG) -lwxjpeg$(WXDEBUGFLAG) -lwxpng$(WXDEBUGFLAG) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXDEBUGFLAG) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lodbc32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32
130
131uninstall:
132
133.PHONY: all