]> git.saurik.com Git - wxWidgets.git/blame_incremental - utils/configtool/src/makeprog.env
added except sample
[wxWidgets.git] / utils / configtool / src / makeprog.env
... / ...
CommitLineData
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')
8PROGRAM_EXT =
9BIN_PROGRAM = $(PROGRAM)$(PROGRAM_EXT)
10RES_PROGRAM_OBJ =
11BUNDLE = $(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 ':'
32VPATH = :$(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
48EXTRALIBS = -framework Carbon -framework System -lz -lm -lpthread
49OPENGLLIBS =
50LDLIBS = ${APPEXTRALIBS} ${top_builddir}/lib/libwx_macd-2.3.a ${EXTRALIBS}
51
52TOOLKIT = MAC
53TOOLKITDIR = mac
54
55WXLIB = libwx_macd-2.3.a
56WXSHLIB = libwx_macd-2.3.dylib.2.0.0
57
58########################### VERSION #################################
59
60WX_MAJOR_VERSION_NUMBER = 2
61WX_MINOR_VERSION_NUMBER = 3
62WX_RELEASE_NUMBER = 3
63
64########################### Programs #################################
65
66CXX = c++
67CC = gcc
68
69# Compiler for lex/yacc .c programs
70CCLEX = gcc
71
72LEX = flex
73YACC = bison -y
74AR = ar
75AS =
76NM =
77LN_S = ln -s
78STRIP = strip
79AROPTIONS = rcu
80RANLIB = ranlib
81LD =
82MAKEINFO =
83RM = rm -f
84
85SHARED_LD =
86
87RESFLAGS =
88RESCOMP = /Developer/Tools/Rez
89
90DEREZ = /Developer/Tools/DeRez
91
92DLLTOOL =
93
94INSTALL = /usr/bin/install -c
95INSTALL_PROGRAM = cp -fp
96INSTALL_DATA = cp -fp
97INSTALL_SCRIPT = /usr/bin/install -c
98
99########################### Flags #################################
100
101CPPFLAGS = ${APPEXTRACPPFLAGS} -no-cpp-precomp -I/Developer/Headers/FlatCarbon -I${top_srcdir}/src/mac/morefile $(EXTRADEFS) $(APPEXTRADEFS) -D__WXMAC__ -D__WXDEBUG__
102CFLAGS = ${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
103CXXFLAGS = ${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
104PICFLAGS =
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
114LDFLAGS_EXE =
115