X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/acbd13a365fe2bd7ed6bafd19dc26775a256d499..77c43587434e453fc1f34b564f3192ec5301d291:/src/makeenvs/solaris.env diff --git a/src/makeenvs/solaris.env b/src/makeenvs/solaris.env index fa4a6fde53..3cf01d57be 100644 --- a/src/makeenvs/solaris.env +++ b/src/makeenvs/solaris.env @@ -1,5 +1,5 @@ -# generic.env -# Linux/generic +# solaris.env +# Solaris # # Common makefile settings for wxWindows programs # This file is included by all the other makefiles, thus changes @@ -22,6 +22,8 @@ CCLEX = $(CCC) LEX = lex YACC = yacc +# Note: if using bison, use -y option for yacc compatibility +# YACC = bison -y MAKE = make AROPTIONS = ruv RANLIB = ranlib @@ -30,7 +32,7 @@ RANLIB = ranlib # Debug/trace mode. 1 or more for debugging. DEBUG = 0 -GUI = -D__MOTIF__ -D__LINUX__ -D__UNIX__ +GUI = -D__MOTIF__ -D__SOLARIS__ -D__UNIX__ GUISUFFIX = _motif ########################## Compiler flags ############################# @@ -75,8 +77,8 @@ INC = -I$(WXINC) -I$(WXDIR)/src/png -I$(WXDIR)/src/zlib $(COMPPATHS) # Directory for object files OBJDIR = objects$(GUISUFFIX) -CPPFLAGS = $(EXTRACPPFLAGS) $(XINCLUDE) $(INC) $(OPTIONS) $(GUI) $(DEBUGFLAGS) $(WARN) $(OPT) -CFLAGS = $(EXTRACFLAGS) $(XINCLUDE) $(INC) $(COPTIONS) $(GUI) $(DEBUGFLAGS) $(CWARN) $(OPT) +CPPFLAGS = $(EXTRACPPFLAGS) $(INC) $(XINCLUDE) $(OPTIONS) $(GUI) $(DEBUGFLAGS) $(WARN) $(OPT) +CFLAGS = $(EXTRACFLAGS) $(INC) $(XINCLUDE) $(COPTIONS) $(GUI) $(DEBUGFLAGS) $(CWARN) $(OPT) LDFLAGS = $(EXTRALDFLAGS) $(XLIB) -L$(WXDIR)/lib LDLIBS = $(EXTRALDLIBS) $(GUILDLIBS)