More contrib compilation fixes & makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
1a464ed91d
commit
d0af5538d6
17
contrib/samples/gizmos/editlbox/makefile.b32
Normal file
17
contrib/samples/gizmos/editlbox/makefile.b32
Normal file
@ -0,0 +1,17 @@
|
||||
#
|
||||
# File: makefile.b32
|
||||
# Author: Julian Smart
|
||||
# Created: 1999
|
||||
# Updated:
|
||||
# Copyright:
|
||||
#
|
||||
# Makefile : Builds sample for 32-bit BC++
|
||||
|
||||
WXDIR = $(WXWIN)
|
||||
|
||||
TARGET=test
|
||||
OBJECTS = $(TARGET).obj
|
||||
EXTRALIBS=$(WXDIR)\lib\gizmos.lib
|
||||
|
||||
!include $(WXDIR)\src\makeprog.b32
|
||||
|
11
contrib/samples/gizmos/editlbox/makefile.g95
Normal file
11
contrib/samples/gizmos/editlbox/makefile.g95
Normal file
@ -0,0 +1,11 @@
|
||||
# Purpose: makefile for multicell example (Cygwin/Mingw32)
|
||||
# Created 2000-07-28
|
||||
|
||||
WXDIR = ../../../..
|
||||
|
||||
TARGET=test
|
||||
OBJECTS = $(TARGET).o
|
||||
EXTRALIBS=$(WXDIR)/lib/libgizmos.a
|
||||
|
||||
include $(WXDIR)/src/makeprog.g95
|
||||
|
@ -5,7 +5,7 @@ WXDIR = ../../../..
|
||||
|
||||
TARGET=mtest
|
||||
OBJECTS = $(TARGET).o
|
||||
EXTRALIBS=$(WXDIR)/lib/libgizmos.lib
|
||||
EXTRALIBS=$(WXDIR)/lib/libgizmos.a
|
||||
|
||||
include $(WXDIR)/src/makeprog.g95
|
||||
|
||||
|
@ -7,10 +7,11 @@
|
||||
#
|
||||
# Makefile for wxWindows sample (Cygwin/Mingw32).
|
||||
|
||||
WXDIR = ../..
|
||||
WXDIR = ../../../..
|
||||
|
||||
TARGET=minimal
|
||||
TARGET=tree
|
||||
OBJECTS = $(TARGET).o
|
||||
EXTRALIBS=$(WXDIR)/lib/libgizmos.a
|
||||
|
||||
include $(WXDIR)/src/makeprog.g95
|
||||
|
||||
|
@ -8,6 +8,7 @@ WXDIR = ../../..
|
||||
TARGET = plot
|
||||
OBJECTS = $(TARGET).o
|
||||
EXTRAINC = -I$(WXDIR)/contrib/include
|
||||
RCEXTRAINC = --include-dir $(WXDIR)/contrib/include
|
||||
EXTRALIBS = -lplot
|
||||
|
||||
include $(WXDIR)/src/makeprog.g95
|
||||
|
@ -35,6 +35,11 @@
|
||||
#include "wx/wx.h"
|
||||
#endif
|
||||
|
||||
#ifdef __WXMSW__
|
||||
#include <windows.h>
|
||||
#include "wx/msw/winundef.h"
|
||||
#endif
|
||||
|
||||
#include "wx/generic/treectlg.h"
|
||||
|
||||
#include "wx/gizmos/splittree.h"
|
||||
|
@ -18,7 +18,7 @@
|
||||
#include "wx/wx.h"
|
||||
#endif
|
||||
|
||||
#ifdef __WINDOWS__
|
||||
#if defined(__WINDOWS__) && !defined(__GNUWIN32__)
|
||||
|
||||
#ifdef __BORLANDC__
|
||||
#pragma hdrstop
|
||||
|
@ -10,7 +10,6 @@ S=$(SCINTILLA)/src
|
||||
EXTRAINC=-D__WX__ -DSCI_LEXER -I$(SCINTILLA)/include -I$(S) -I. -I$(WXDIR)/contrib/include
|
||||
|
||||
OBJECTS = \
|
||||
$(S)/Accessor.$(OBJSUFF) \
|
||||
$(S)/AutoComplete.$(OBJSUFF) \
|
||||
$(S)/CallTip.$(OBJSUFF) \
|
||||
$(S)/CellBuffer.$(OBJSUFF) \
|
||||
@ -41,6 +40,6 @@ OBJECTS = \
|
||||
ScintillaWX.$(OBJSUFF) \
|
||||
stc.$(OBJSUFF)
|
||||
|
||||
LIBTARGET = $(WXDIR)/contrib/lib/libstc.a
|
||||
LIBTARGET = $(WXDIR)/lib/libstc.a
|
||||
|
||||
include $(WXDIR)/src/makelib.g95
|
@ -83,7 +83,7 @@ RCDEFSWITCH=--define
|
||||
|
||||
# Don't make this too long (e.g. by adding contrib/include/wx) because it will
|
||||
# truncate the command line
|
||||
RESFLAGS=$(RCPREPROCESSOR) $(RCINCSWITCH) $(WXDIR)/include $(RCDEFSWITCH) __WIN32__ $(RCDEFSWITCH) __WIN95__ $(RCDEFSWITCH) __GNUWIN32__
|
||||
RESFLAGS=$(RCPREPROCESSOR) $(RCINCSWITCH) $(WXDIR)/include $(RCEXTRAINC) $(RCDEFSWITCH) __WIN32__ $(RCDEFSWITCH) __WIN95__ $(RCDEFSWITCH) __GNUWIN32__
|
||||
|
||||
# Needed to build a DLL if your linker does not support --shared option.
|
||||
AS = $(CROSS)as
|
||||
|
@ -10,7 +10,6 @@ S=$(SCINTILLA)/src
|
||||
EXTRAINC=-D__WX__ -DSCI_LEXER -I$(SCINTILLA)/include -I$(S) -I. -I$(WXDIR)/contrib/include
|
||||
|
||||
OBJECTS = \
|
||||
$(S)/Accessor.$(OBJSUFF) \
|
||||
$(S)/AutoComplete.$(OBJSUFF) \
|
||||
$(S)/CallTip.$(OBJSUFF) \
|
||||
$(S)/CellBuffer.$(OBJSUFF) \
|
||||
@ -41,6 +40,6 @@ OBJECTS = \
|
||||
ScintillaWX.$(OBJSUFF) \
|
||||
stc.$(OBJSUFF)
|
||||
|
||||
LIBTARGET = $(WXDIR)/contrib/lib/libstc.a
|
||||
LIBTARGET = $(WXDIR)/lib/libstc.a
|
||||
|
||||
include $(WXDIR)/src/makelib.g95
|
Loading…
Reference in New Issue
Block a user