diff options
| author | nyamatongwe <unknown> | 2003-03-28 09:54:12 +0000 |
|---|---|---|
| committer | nyamatongwe <unknown> | 2003-03-28 09:54:12 +0000 |
| commit | b5ba668e82bfddfbe3934f8f87d1ad1c3c01b17c (patch) | |
| tree | c55618ac5c530218e678edc3e16911c2cbcdf523 /gtk/makefile | |
| parent | fdf91cc177914e1eae1335214c89c581416dc675 (diff) | |
| download | scintilla-mirror-b5ba668e82bfddfbe3934f8f87d1ad1c3c01b17c.tar.gz | |
Patch from Stephan to allow building without threads and on GTK+ 1.x.
Diffstat (limited to 'gtk/makefile')
| -rw-r--r-- | gtk/makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/gtk/makefile b/gtk/makefile index 19e64ca9e..2cd2d5262 100644 --- a/gtk/makefile +++ b/gtk/makefile @@ -24,10 +24,16 @@ vpath %.cxx ../src INCLUDEDIRS=-I ../include -I ../src CXXBASEFLAGS=-W -Wall -DGTK -DSCI_LEXER $(INCLUDEDIRS) +ifdef NOTHREADS +THREADFLAGS=-DG_THREADS_IMPL_NONE +else +THREADFLAGS= +endif + ifdef DEBUG -CXXFLAGS=-DDEBUG -g $(CXXBASEFLAGS) +CXXFLAGS=-DDEBUG -g $(CXXBASEFLAGS) $(THREADFLAGS) else -CXXFLAGS=-DNDEBUG -Os $(CXXBASEFLAGS) +CXXFLAGS=-DNDEBUG -Os $(CXXBASEFLAGS) $(THREADFLAGS) endif ifdef GTK2 @@ -45,7 +51,7 @@ LEXOBJS=\ LexAda.o LexAsm.o LexAVE.o LexBaan.o LexBullant.o LexConf.o LexCPP.o \ LexCrontab.o LexCSS.o LexEiffel.o LexFortran.o LexHTML.o LexLisp.o LexLua.o \ LexMatlab.o LexOthers.o LexPascal.o LexPerl.o LexPOV.o LexPython.o LexRuby.o \ -LexSQL.o LexVB.o +LexSQL.o LexVB.o #--Autogenerated -- end of automatically generated section # The LEXOBJS have to be treated specially as the functions in them are not called from external code |
