diff --git a/ase/awk/Makefile.bcc b/ase/awk/Makefile.bcc index c3d7e9cf..0054f49a 100644 --- a/ase/awk/Makefile.bcc +++ b/ase/awk/Makefile.bcc @@ -1,5 +1,4 @@ -SRCS = stx.c memory.c object.c symbol.c class.c dict.c misc.c array.c \ - name.c token.c parser.c bootstrp.c bytecode.c interp.c +SRCS = awk.c parse.c OBJS = $(SRCS:.c=.obj) OUT = xpawk.lib diff --git a/ase/configure b/ase/configure index 1cf493da..72568d74 100755 --- a/ase/configure +++ b/ase/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.ac Revision: 1.51 . +# From configure.ac Revision: 1.52 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.59 for xpkit deb-0.1.0. # @@ -10847,7 +10847,7 @@ then CFLAGS="$CFLAGS -D_REENTRANT -D_THREAD_SAFE" fi - ac_config_files="$ac_config_files Makefile utils/Makefile xp/Makefile xpp/Makefile xp/bas/Makefile xp/net/Makefile xp/utl/Makefile xp/stx/Makefile xp/sce/Makefile xp/lsp/Makefile xp/mp/Makefile xp/lnx/Makefile xp/test/bas/Makefile xp/test/net/Makefile xp/test/utl/Makefile xp/test/stx/Makefile xp/test/sce/Makefile xp/test/lsp/Makefile xp/test/lnx/Makefile xpp/bas/Makefile xpp/net/Makefile xpp/sys/Makefile xpp/utl/Makefile xpp/test/bas/Makefile xpp/test/net/Makefile xpp/test/sys/Makefile xpp/test/utl/Makefile xpo/bas/Makefile xpo/net/Makefile xpo/test/bas/Makefile xpo/test/net/Makefile" + ac_config_files="$ac_config_files Makefile utils/Makefile xp/Makefile xpp/Makefile xp/bas/Makefile xp/net/Makefile xp/utl/Makefile xp/stx/Makefile xp/awk/Makefile xp/lsp/Makefile xp/mp/Makefile xp/lnx/Makefile xp/test/bas/Makefile xp/test/net/Makefile xp/test/utl/Makefile xp/test/stx/Makefile xp/test/awk/Makefile xp/test/lsp/Makefile xp/test/lnx/Makefile xpp/bas/Makefile xpp/net/Makefile xpp/sys/Makefile xpp/utl/Makefile xpp/test/bas/Makefile xpp/test/net/Makefile xpp/test/sys/Makefile xpp/test/utl/Makefile xpo/bas/Makefile xpo/net/Makefile xpo/test/bas/Makefile xpo/test/net/Makefile" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure @@ -11381,7 +11381,7 @@ do "xp/net/Makefile" ) CONFIG_FILES="$CONFIG_FILES xp/net/Makefile" ;; "xp/utl/Makefile" ) CONFIG_FILES="$CONFIG_FILES xp/utl/Makefile" ;; "xp/stx/Makefile" ) CONFIG_FILES="$CONFIG_FILES xp/stx/Makefile" ;; - "xp/sce/Makefile" ) CONFIG_FILES="$CONFIG_FILES xp/sce/Makefile" ;; + "xp/awk/Makefile" ) CONFIG_FILES="$CONFIG_FILES xp/awk/Makefile" ;; "xp/lsp/Makefile" ) CONFIG_FILES="$CONFIG_FILES xp/lsp/Makefile" ;; "xp/mp/Makefile" ) CONFIG_FILES="$CONFIG_FILES xp/mp/Makefile" ;; "xp/lnx/Makefile" ) CONFIG_FILES="$CONFIG_FILES xp/lnx/Makefile" ;; @@ -11389,7 +11389,7 @@ do "xp/test/net/Makefile" ) CONFIG_FILES="$CONFIG_FILES xp/test/net/Makefile" ;; "xp/test/utl/Makefile" ) CONFIG_FILES="$CONFIG_FILES xp/test/utl/Makefile" ;; "xp/test/stx/Makefile" ) CONFIG_FILES="$CONFIG_FILES xp/test/stx/Makefile" ;; - "xp/test/sce/Makefile" ) CONFIG_FILES="$CONFIG_FILES xp/test/sce/Makefile" ;; + "xp/test/awk/Makefile" ) CONFIG_FILES="$CONFIG_FILES xp/test/awk/Makefile" ;; "xp/test/lsp/Makefile" ) CONFIG_FILES="$CONFIG_FILES xp/test/lsp/Makefile" ;; "xp/test/lnx/Makefile" ) CONFIG_FILES="$CONFIG_FILES xp/test/lnx/Makefile" ;; "xpp/bas/Makefile" ) CONFIG_FILES="$CONFIG_FILES xpp/bas/Makefile" ;; diff --git a/ase/configure.ac b/ase/configure.ac index 11b7fdcb..64dbb0d8 100644 --- a/ase/configure.ac +++ b/ase/configure.ac @@ -1,6 +1,6 @@ AC_PREREQ(2.53) AC_INIT([xpkit], [deb-0.1.0]) -AC_REVISION([$Revision: 1.52 $]) +AC_REVISION([$Revision: 1.53 $]) AC_CONFIG_HEADER([xp/config.h]) # Checks for programs. @@ -80,9 +80,9 @@ fi AC_CONFIG_FILES([ Makefile utils/Makefile xp/Makefile xpp/Makefile xp/bas/Makefile xp/net/Makefile xp/utl/Makefile xp/stx/Makefile - xp/sce/Makefile xp/lsp/Makefile xp/mp/Makefile xp/lnx/Makefile + xp/awk/Makefile xp/lsp/Makefile xp/mp/Makefile xp/lnx/Makefile xp/test/bas/Makefile xp/test/net/Makefile xp/test/utl/Makefile - xp/test/stx/Makefile xp/test/sce/Makefile xp/test/lsp/Makefile + xp/test/stx/Makefile xp/test/awk/Makefile xp/test/lsp/Makefile xp/test/lnx/Makefile xpp/bas/Makefile xpp/net/Makefile xpp/sys/Makefile xpp/utl/Makefile xpp/test/bas/Makefile xpp/test/net/Makefile diff --git a/ase/test/awk/Makefile.bcc b/ase/test/awk/Makefile.bcc new file mode 100644 index 00000000..80c24962 --- /dev/null +++ b/ase/test/awk/Makefile.bcc @@ -0,0 +1,18 @@ +CC = bcc32 +CFLAGS = -I..\..\.. +LDFLAGS = -L..\..\..\xp\bas -L..\..\..\xp\awk +LIBS = import32.lib cw32mt.lib xpbas.lib xpawk.lib +STARTUP = c0x32w.obj + +all: awk + +awk: awk.obj + ilink32 $(LDFLAGS) $(STARTUP) awk.obj,awk.exe,,$(LIBS),, + +clean: + del $(OBJS) *.obj $(OUT) + +.SUFFIXES: .c .obj +.c.obj: + $(CC) $(CFLAGS) -c $< + diff --git a/ase/test/awk/Makefile.cl b/ase/test/awk/Makefile.cl new file mode 100644 index 00000000..37d3f767 --- /dev/null +++ b/ase/test/awk/Makefile.cl @@ -0,0 +1,17 @@ +CC = cl +CFLAGS = /nologo /MT /GX /W3 /GR- /D_WIN32_WINNT=0x0400 -I..\..\.. +LDFLAGS = /libpath:..\..\bas /libpath:..\..\awk +LIBS = xpbas.lib xpawk.lib + +all: awk + +awk: awk.obj + link /nologo /out:awk.exe $(LDFLAGS) $(LIBS) awk.obj + +clean: + del $(OBJS) *.obj awk.exe + +.SUFFIXES: .c .obj +.c.obj: + $(CC) /c $(CFLAGS) $< + diff --git a/ase/test/awk/makefile.in b/ase/test/awk/makefile.in new file mode 100644 index 00000000..9ff4254f --- /dev/null +++ b/ase/test/awk/makefile.in @@ -0,0 +1,16 @@ +SRCS = awk.c +OUTS = $(SRCS:.c=.x) + +CC = @CC@ +CFLAGS = @CFLAGS@ -I@abs_top_builddir@ +LDFLAGS = @LDFLAGS@ -L@abs_top_builddir@/xp/bas -L@abs_top_builddir@/xp/awk +LIBS = @LIBS@ -lxpawk -lxpbas + +all: $(OUTS) + +clean: + rm -rf $(OUTS) *.o + +.SUFFIXES: .c .x +.c.x: + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS)