build and distrib things
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -9,11 +9,37 @@ SOURCES = ['oglhelpers.cpp']
|
||||
OTHERCFLAGS = '-I$(WXWIN)/contrib/include'
|
||||
|
||||
if sys.platform == 'win32':
|
||||
OTHERCFLAGS = '-I$(WXWIN)/contrib/include'
|
||||
OTHERLIBS = '$(WXWIN)/contrib/lib/ogl$(LIBEXT).lib'
|
||||
else:
|
||||
OTHERLIBS = '-logl'
|
||||
OTHERCFLAGS = '-Icontrib/include'
|
||||
SOURCES = SOURCES + [
|
||||
'contrib/src/ogl/basic.cpp',
|
||||
'contrib/src/ogl/bmpshape.cpp',
|
||||
'contrib/src/ogl/composit.cpp',
|
||||
'contrib/src/ogl/divided.cpp',
|
||||
'contrib/src/ogl/lines.cpp',
|
||||
'contrib/src/ogl/misc.cpp',
|
||||
'contrib/src/ogl/basic2.cpp',
|
||||
'contrib/src/ogl/canvas.cpp',
|
||||
'contrib/src/ogl/constrnt.cpp',
|
||||
'contrib/src/ogl/drawn.cpp',
|
||||
'contrib/src/ogl/mfutils.cpp',
|
||||
'contrib/src/ogl/ogldiag.cpp',
|
||||
]
|
||||
DEFAULTRULE = 'default: contrib $(GENCODEDIR) $(TARGET)'
|
||||
|
||||
|
||||
OTHERRULES = """
|
||||
%.o : contrib/src/ogl/%.cpp
|
||||
$(CCC) $(CCSHARED) $(CFLAGS) $(OTHERCFLAGS) -c $<
|
||||
|
||||
contrib :
|
||||
ln -s $(WXWIN)/contrib contrib
|
||||
|
||||
"""
|
||||
|
||||
|
||||
#OTHERSWIGFLAGS = '-stat'
|
||||
SWIGDEPS = '_ogldefs.i'
|
||||
OTHERDEPS = 'oglhelpers.h $(WXPSRCDIR)/helpers.h'
|
||||
|
||||
|
Reference in New Issue
Block a user