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.
5 # Make environment for making samples on Unix
7 # The binary program extension, if any, including dots (e.g. '.exe')
9 BIN_PROGRAM = $(PROGRAM)$(PROGRAM_EXT)
11 BUNDLE = $(BIN_PROGRAM).app/Contents
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
17 $(CC) -c $(CFLAGS) $(APPEXTRADEFS) -o $@ $<
20 $(CXX) -c $(CXXFLAGS) $(APPEXTRADEFS) -o $@ $<
23 $(CXX) -c $(CXXFLAGS) $(APPEXTRADEFS) -o $@ $<
26 $(RESCOMP) -i $< -o $@ $(RESFLAGS)
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
36 # Author: Julian Smart, Robert Roebling, Vadim Zeitlin, Ron Lee
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
45 ####################### GENERAL SETTINGS ############################
47 # see comment near LDFLAGS at the end of file
48 EXTRALIBS = -framework Carbon -framework System -lz -lm -lpthread
50 LDLIBS = ${APPEXTRALIBS} ${top_builddir}/lib/libwx_macd-2.3.a ${EXTRALIBS}
55 WXLIB = libwx_macd-2.3.a
56 WXSHLIB = libwx_macd-2.3.dylib.2.0.0
58 ########################### VERSION #################################
60 WX_MAJOR_VERSION_NUMBER = 2
61 WX_MINOR_VERSION_NUMBER = 3
64 ########################### Programs #################################
69 # Compiler for lex/yacc .c programs
88 RESCOMP = /Developer/Tools/Rez
90 DEREZ = /Developer/Tools/DeRez
94 INSTALL = /usr/bin/install -c
95 INSTALL_PROGRAM = cp -fp
97 INSTALL_SCRIPT = /usr/bin/install -c
99 ########################### Flags #################################
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
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
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