[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Antiright-devel] antiright configure gtkshell/Makefile
From: |
Jeffrey Bedard |
Subject: |
[Antiright-devel] antiright configure gtkshell/Makefile |
Date: |
Fri, 24 Oct 2008 05:50:36 +0000 |
CVSROOT: /sources/antiright
Module name: antiright
Changes by: Jeffrey Bedard <jefbed> 08/10/24 05:50:36
Modified files:
. : configure
gtkshell : Makefile
Log message:
Now compiles under MingW.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/antiright/configure?cvsroot=antiright&r1=1.114&r2=1.115
http://cvs.savannah.gnu.org/viewcvs/antiright/gtkshell/Makefile?cvsroot=antiright&r1=1.54&r2=1.55
Patches:
Index: configure
===================================================================
RCS file: /sources/antiright/antiright/configure,v
retrieving revision 1.114
retrieving revision 1.115
diff -u -b -r1.114 -r1.115
--- configure 20 Oct 2008 19:28:54 -0000 1.114
+++ configure 24 Oct 2008 05:50:35 -0000 1.115
@@ -138,9 +138,14 @@
echo WIN32
WINDOWS="TRUE"
DEFS="$DEFS -DWIN32"
- CFLAGS="$CFLAGS -mms-bitfields"
- CC=mingw32-gcc
- AS=mingw32-as
+ CFLAGS="$CFLAGS -mms-bitfields -mno-cygwin"
+ # CC=mingw32-gcc
+ # AS=mingw32-as
+fi
+
+LEX="$(which flex)"
+if [ "$LEX" = "" ]; then
+ LEX=lex
fi
INCLUDE="$INCLUDE -I/usr/pkg/include -I/usr/local/include -I/usr/X11R6/include"
@@ -161,6 +166,7 @@
echo "CFLAGS=$CFLAGS" >> config.mk
echo "CC=$CC" >> config.mk
echo "LDFLAGS=$LDFLAGS" >> config.mk
+echo "LEX=$LEX" >> config.mk
echo "AS=$AS" >> config.mk
if [ "$WINDOWS" = "TRUE" ]; then
Index: gtkshell/Makefile
===================================================================
RCS file: /sources/antiright/antiright/gtkshell/Makefile,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -b -r1.54 -r1.55
--- gtkshell/Makefile 16 Jan 2008 21:33:07 -0000 1.54
+++ gtkshell/Makefile 24 Oct 2008 05:50:36 -0000 1.55
@@ -49,7 +49,7 @@
cc -o gtkshell $(program) $(GTKFLAGS)
lex.yy.c: guidl.lex
- lex guidl.lex
+ $(LEX) -l -nounistd guidl.lex
y.tab.h: lex.yy.c guidl.y
yacc -d guidl.y
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Antiright-devel] antiright configure gtkshell/Makefile,
Jeffrey Bedard <=