]> git.saurik.com Git - wxWidgets.git/blob - utils/configtool/src/makeprog.env
Removed rules for copying the Mac resource file since they are no
[wxWidgets.git] / utils / configtool / src / makeprog.env
1 # THIS IS JUST A DUMMY FILE for allowing the makefile
2 # to work before there a real makeprog.env has been
3 # created by configure.
4
5 # Make environment for making samples on Unix
6
7 # The binary program extension, if any, including dots (e.g. '.exe')
8 PROGRAM_EXT =
9 BIN_PROGRAM = $(PROGRAM)$(PROGRAM_EXT)
10 RES_PROGRAM_OBJ =
11 BUNDLE = $(BIN_PROGRAM).app/Contents
12
13 # NB: see remark in Makefile.in as to why we don't use %.foo: %.bar rules
14 .SUFFIXES: .o .c .cpp .cxx .rc _resources.o
15
16 .c.o:
17 $(CC) -c $(CFLAGS) $(APPEXTRADEFS) -o $@ $<
18
19 .cpp.o:
20 $(CXX) -c $(CXXFLAGS) $(APPEXTRADEFS) -o $@ $<
21
22 .cxx.o:
23 $(CXX) -c $(CXXFLAGS) $(APPEXTRADEFS) -o $@ $<
24
25 .rc_resources.o:
26 $(RESCOMP) -i $< -o $@ $(RESFLAGS)
27
28
29 # the comment at the end of the next line is needed because otherwise autoconf
30 # would remove this line completely - it contains a built-in hack to remove
31 # any VPATH assignment not containing ':'
32 VPATH = :$(top_srcdir)/$(program_dir) # ':' for autoconf
33
34 #
35 # File: make.env
36 # Author: Julian Smart, Robert Roebling, Vadim Zeitlin, Ron Lee
37 # Created: 1993
38 # Updated: 2001
39 # Copyright:(c) 1993, AIAI, University of Edinburgh,
40 # Copyright:(c) 1999, Vadim Zeitlin
41 # Copyright:(c) 1999, Robert Roebling
42 # Copyright:(c) 2001, Ron Lee
43 #
44
45 ####################### GENERAL SETTINGS ############################
46
47 # see comment near LDFLAGS at the end of file
48 EXTRALIBS = -framework Carbon -framework System -lz -lm -lpthread
49 OPENGLLIBS =
50 LDLIBS = ${APPEXTRALIBS} ${top_builddir}/lib/libwx_macd-2.3.a ${EXTRALIBS}
51
52 TOOLKIT = MAC
53 TOOLKITDIR = mac
54
55 WXLIB = libwx_macd-2.3.a
56 WXSHLIB = libwx_macd-2.3.dylib.2.0.0
57
58 ########################### VERSION #################################
59
60 WX_MAJOR_VERSION_NUMBER = 2
61 WX_MINOR_VERSION_NUMBER = 3
62 WX_RELEASE_NUMBER = 3
63
64 ########################### Programs #################################
65
66 CXX = c++
67 CC = gcc
68
69 # Compiler for lex/yacc .c programs
70 CCLEX = gcc
71
72 LEX = flex
73 YACC = bison -y
74 AR = ar
75 AS =
76 NM =
77 LN_S = ln -s
78 STRIP = strip
79 AROPTIONS = rcu
80 RANLIB = ranlib
81 LD =
82 MAKEINFO =
83 RM = rm -f
84
85 SHARED_LD =
86
87 RESFLAGS =
88 RESCOMP = /Developer/Tools/Rez
89
90 DEREZ = /Developer/Tools/DeRez
91
92 DLLTOOL =
93
94 INSTALL = /usr/bin/install -c
95 INSTALL_PROGRAM = cp -fp
96 INSTALL_DATA = cp -fp
97 INSTALL_SCRIPT = /usr/bin/install -c
98
99 ########################### Flags #################################
100
101 CPPFLAGS = ${APPEXTRACPPFLAGS} -no-cpp-precomp -I/Developer/Headers/FlatCarbon -I${top_srcdir}/src/mac/morefile $(EXTRADEFS) $(APPEXTRADEFS) -D__WXMAC__ -D__WXDEBUG__
102 CFLAGS = ${APPEXTRACFLAGS} ${CPPFLAGS} -MMD -fpascal-strings -g -I${top_builddir}/lib/wx/include/macd-2.3 -I${top_srcdir}/include -I${top_srcdir}/src/png -I${top_srcdir}/src/tiff -Wall
103 CXXFLAGS = ${APPEXTRACXXFLAGS} ${CPPFLAGS} -MMD -fpascal-strings -g -I${top_builddir}/lib/wx/include/macd-2.3 -I${top_srcdir}/include -I${top_srcdir}/src/png -I${top_srcdir}/src/tiff -Wall
104 PICFLAGS =
105
106 # taking into account how SHARED_LD is defined, appending LDFLAGS to it
107 # doesn't work, so we put them in the end of the linker command line in
108 # EXTRALIBS instead (see above)
109 # LDFLAGS = -framework Carbon -framework System
110
111 # specific linker flags for when building executables since there
112 # Mac OS X requires specific linker flags for executables linked
113 # against dynamic shared libraries
114 LDFLAGS_EXE =
115