RPA Toolkit
Reworked the build system for linux.
authorMartin Stoilov <martin@sigmadrone.org>
Mon, 10 Feb 2020 02:07:40 +0000 (18:07 -0800)
committerMartin Stoilov <martin@sigmadrone.org>
Mon, 10 Feb 2020 02:07:40 +0000 (18:07 -0800)
30 files changed:
build/unix/arm/Makefile [deleted file]
build/unix/build.mk [deleted file]
build/unix/config.mk [deleted file]
build/unix/i386/Makefile [deleted file]
build/unix/x86_64/Makefile [deleted file]
rex/build/unix/arm/Makefile [deleted file]
rex/build/unix/i386/Makefile [deleted file]
rex/build/unix/rex.mk [deleted file]
rex/build/unix/x86_64/Makefile [deleted file]
rexcc/build/unix/arm/Makefile [deleted file]
rexcc/build/unix/i386/Makefile [deleted file]
rexcc/build/unix/rexcc.mk [deleted file]
rexcc/build/unix/x86_64/Makefile [deleted file]
rexgrep/build/unix/arm/Makefile [deleted file]
rexgrep/build/unix/i386/Makefile [deleted file]
rexgrep/build/unix/regexgen.sh [deleted file]
rexgrep/build/unix/rexgrep.mk [deleted file]
rexgrep/build/unix/x86_64/Makefile [deleted file]
rjs/build/unix/arm/Makefile [deleted file]
rjs/build/unix/i386/Makefile [deleted file]
rjs/build/unix/rjs.mk [deleted file]
rjs/build/unix/x86_64/Makefile [deleted file]
rpa/build/unix/arm/Makefile [deleted file]
rpa/build/unix/i386/Makefile [deleted file]
rpa/build/unix/rpa.mk [deleted file]
rpa/build/unix/x86_64/Makefile [deleted file]
rpagrep/build/unix/arm/Makefile [deleted file]
rpagrep/build/unix/i386/Makefile [deleted file]
rpagrep/build/unix/rgrep.mk [deleted file]
rpagrep/build/unix/x86_64/Makefile [deleted file]

diff --git a/build/unix/arm/Makefile b/build/unix/arm/Makefile
deleted file mode 100644 (file)
index 3608ebc..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-include ../x86_64/Makefile
-
diff --git a/build/unix/build.mk b/build/unix/build.mk
deleted file mode 100644 (file)
index 97fafec..0000000
+++ /dev/null
@@ -1,94 +0,0 @@
-all:
-       +make -C $(ROOT_DIR)/rlib/build/unix/$(ARCHDIR) all
-       +make -C $(ROOT_DIR)/rpa/build/unix/$(ARCHDIR) all
-       +make -C $(ROOT_DIR)/rvm/build/unix/$(ARCHDIR) all
-       +make -C $(ROOT_DIR)/rex/build/unix/$(ARCHDIR) all
-       +make -C $(ROOT_DIR)/rpagrep/build/unix/$(ARCHDIR) all
-       +make -C $(ROOT_DIR)/rexgrep/build/unix/$(ARCHDIR) all
-       +make -C $(ROOT_DIR)/rexcc/build/unix/$(ARCHDIR) all
-       +make -C $(ROOT_DIR)/tests/testmisc/build/unix/$(ARCHDIR) all
-       +make -C $(ROOT_DIR)/tests/testrpa/build/unix/$(ARCHDIR) all
-       +make -C $(ROOT_DIR)/tests/testrex/build/unix/$(ARCHDIR) all
-       +make -C $(ROOT_DIR)/rjs/build/unix/$(ARCHDIR) all
-ifeq ($(OS), linux)
-       +make -C $(ROOT_DIR)/tests/testrjs/build/unix/$(ARCHDIR) all
-       +make -C $(ROOT_DIR)/tests2 all
-endif
-
-distclean: clean
-       +make -C $(ROOT_DIR)/rlib/build/unix/$(ARCHDIR) distclean
-       +make -C $(ROOT_DIR)/rpa/build/unix/$(ARCHDIR) distclean
-       +make -C $(ROOT_DIR)/rvm/build/unix/$(ARCHDIR) distclean
-       +make -C $(ROOT_DIR)/rex/build/unix/$(ARCHDIR) distclean
-       +make -C $(ROOT_DIR)/rjs/build/unix/$(ARCHDIR) distclean
-       +make -C $(ROOT_DIR)/tests/testmisc/build/unix/$(ARCHDIR) distclean
-       +make -C $(ROOT_DIR)/tests/testrpa/build/unix/$(ARCHDIR) distclean
-       +make -C $(ROOT_DIR)/tests/testrex/build/unix/$(ARCHDIR) distclean
-       +make -C $(ROOT_DIR)/tests/testrjs/build/unix/$(ARCHDIR) distclean
-       +make -C $(ROOT_DIR)/rpagrep/build/unix/$(ARCHDIR) distclean
-       +make -C $(ROOT_DIR)/rexgrep/build/unix/$(ARCHDIR) distclean
-       +make -C $(ROOT_DIR)/rexcc/build/unix/$(ARCHDIR) distclean
-       +make -C $(ROOT_DIR)/rjs/build/unix/$(ARCHDIR) distclean
-       +make -C $(ROOT_DIR)/tests2 distclean
-
-clean:
-       +make -C $(ROOT_DIR)/rlib/build/unix/$(ARCHDIR) clean
-       +make -C $(ROOT_DIR)/rpa/build/unix/$(ARCHDIR) clean
-       +make -C $(ROOT_DIR)/rvm/build/unix/$(ARCHDIR) clean
-       +make -C $(ROOT_DIR)/rex/build/unix/$(ARCHDIR) clean
-       +make -C $(ROOT_DIR)/tests/testmisc/build/unix/$(ARCHDIR) clean
-       +make -C $(ROOT_DIR)/tests/testrpa/build/unix/$(ARCHDIR) clean
-       +make -C $(ROOT_DIR)/tests/testrex/build/unix/$(ARCHDIR) clean
-       +make -C $(ROOT_DIR)/tests/testrjs/build/unix/$(ARCHDIR) clean
-       +make -C $(ROOT_DIR)/rpagrep/build/unix/$(ARCHDIR) clean
-       +make -C $(ROOT_DIR)/rexgrep/build/unix/$(ARCHDIR) clean
-       +make -C $(ROOT_DIR)/rexcc/build/unix/$(ARCHDIR) clean
-       +make -C $(ROOT_DIR)/rjs/build/unix/$(ARCHDIR) clean
-       +make -C $(ROOT_DIR)/tests2 clean
-
-$(RPATK_BIN_INSTALL) :
-       mkdir -p $(RPATK_BIN_INSTALL)
-
-$(RPATK_LIB_INSTALL) :
-       mkdir -p $(RPATK_LIB_INSTALL)
-
-$(RPATK_INC_INSTALL) :
-       mkdir -p $(RPATK_INC_INSTALL)
-
-$(RPATK_INC_INSTALL)/rlib :
-       mkdir -p $(RPATK_INC_INSTALL)/rlib
-
-$(RPATK_INC_INSTALL)/rvm :
-       mkdir -p $(RPATK_INC_INSTALL)/rvm
-
-$(RPATK_INC_INSTALL)/rpa :
-       mkdir -p $(RPATK_INC_INSTALL)/rpa
-
-$(RPATK_INC_INSTALL)/rex :
-       mkdir -p $(RPATK_INC_INSTALL)/rex
-
-install: $(RPATK_INC_INSTALL) $(RPATK_BIN_INSTALL) $(RPATK_LIB_INSTALL) $(RPATK_INC_INSTALL)/rlib $(RPATK_INC_INSTALL)/rvm $(RPATK_INC_INSTALL)/rpa $(RPATK_INC_INSTALL)/rex
-       cp $(ROOT_DIR)/arch/unix/$(ARCHDIR)/rtypes.h $(RPATK_INC_INSTALL)
-       +make -C $(ROOT_DIR)/rlib/build/unix/$(ARCHDIR) install
-       +make -C $(ROOT_DIR)/rpa/build/unix/$(ARCHDIR) install
-       +make -C $(ROOT_DIR)/rvm/build/unix/$(ARCHDIR) install
-       +make -C $(ROOT_DIR)/rex/build/unix/$(ARCHDIR) install
-       +make -C $(ROOT_DIR)/rpagrep/build/unix/$(ARCHDIR) install
-       +make -C $(ROOT_DIR)/rexgrep/build/unix/$(ARCHDIR) install
-       +make -C $(ROOT_DIR)/rexcc/build/unix/$(ARCHDIR) install
-ifeq ($(RPATK_LDCONFIG), 1)
-       ldconfig -n $(RPATK_LIB_INSTALL)
-endif
-
-uninstall:
-       +make -C $(ROOT_DIR)/rlib/build/unix/$(ARCHDIR) uninstall
-       +make -C $(ROOT_DIR)/rpa/build/unix/$(ARCHDIR) uninstall
-       +make -C $(ROOT_DIR)/rvm/build/unix/$(ARCHDIR) uninstall
-       +make -C $(ROOT_DIR)/rpagrep/build/unix/$(ARCHDIR) uninstall
-       +make -C $(ROOT_DIR)/rexgrep/build/unix/$(ARCHDIR) uninstall
-       +make -C $(ROOT_DIR)/rexcc/build/unix/$(ARCHDIR) uninstall
-       -rm -rf $(RPATK_INC_INSTALL)/rlib
-       -rm -rf $(RPATK_INC_INSTALL)/rvm
-       -rm -rf $(RPATK_INC_INSTALL)/rpa
-       -rm -rf $(RPATK_INC_INSTALL)/rex
-       -rm -rf $(RPATK_INC_INSTALL)
diff --git a/build/unix/config.mk b/build/unix/config.mk
deleted file mode 100644 (file)
index 523c41f..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-ifndef RPATK_BIN_INSTALL
-RPATK_BIN_INSTALL = ${RPATK_INSTALL_PREFIX}/usr/bin
-endif 
-
-ifndef RPATK_LIB_INSTALL
-RPATK_LIB_INSTALL = ${RPATK_INSTALL_PREFIX}/usr/lib
-endif
-
-ifndef RPATK_INC_INSTALL
-RPATK_INC_INSTALL = ${RPATK_INSTALL_PREFIX}/usr/include/rpatk
-endif
-
-ARCHDIR = $(shell basename $(shell pwd))
-OS = $(shell uname | tr "[:upper:]" "[:lower:]")
-
-ifndef CC
-CC = gcc
-endif
-
-ifndef LD
-LD = ld
-endif
-
-ifndef AR
-AR = ar
-endif
-
-ifndef CPP
-CPP = g++
-endif
-
-ifndef OBJCOPY
-OBJCOPY = objcopy
-endif
diff --git a/build/unix/i386/Makefile b/build/unix/i386/Makefile
deleted file mode 100644 (file)
index 3608ebc..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-include ../x86_64/Makefile
-
diff --git a/build/unix/x86_64/Makefile b/build/unix/x86_64/Makefile
deleted file mode 100644 (file)
index 4d8bebc..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-ROOT_DIR = ../../..
-
-include ../config.mk
-include ../build.mk
diff --git a/rex/build/unix/arm/Makefile b/rex/build/unix/arm/Makefile
deleted file mode 100644 (file)
index 5a3df57..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-ROOT_DIR = ../../../..
-include $(ROOT_DIR)/build/unix/config.mk
-
-INCLUDE = -I$(ROOT_DIR)/arch/unix/$(ARCHDIR)
-OUTDIR = out
-
-
-CFLAGS := $(MACH)
-ifeq ($(BLDCFG), release)
-CFLAGS += -fPIC -O2
-else
-CFLAGS += -fPIC -O0 -g -Wall
-endif
-
-ifeq ($(CCBLD), yes)
-CFLAGS += -fprofile-arcs -ftest-coverage
-endif
-
-CFLAGS += $(INCLUDE)
-LDFLAGS := $(MACH)
-
-include ../rex.mk
diff --git a/rex/build/unix/i386/Makefile b/rex/build/unix/i386/Makefile
deleted file mode 100644 (file)
index 7bdba31..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-ROOT_DIR = ../../../..
-include $(ROOT_DIR)/build/unix/config.mk
-
-INCLUDE = -I$(ROOT_DIR)/arch/unix/$(ARCHDIR)
-OUTDIR = out
-MACH = -m32
-
-CFLAGS := $(MACH)
-ifeq ($(BLDCFG), release)
-CFLAGS += -fPIC -O2
-else
-CFLAGS += -fPIC -O0 -g -Wall
-endif
-
-ifeq ($(CCBLD), yes)
-CFLAGS += -fprofile-arcs -ftest-coverage
-endif
-
-CFLAGS += $(INCLUDE)
-LDFLAGS := $(MACH)
-
-include ../rex.mk
diff --git a/rex/build/unix/rex.mk b/rex/build/unix/rex.mk
deleted file mode 100644 (file)
index 223e871..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-REX_SRCDIR = $(ROOT_DIR)/rex
-RLIB_SRCDIR = $(ROOT_DIR)/rlib
-RVM_SRCDIR = $(ROOT_DIR)/rvm
-RPA_SRCDIR = $(ROOT_DIR)/rpa
-REX_LIB = librex.a
-REX_SO_VERSION = 2.0
-REX_SO_NAME = librex.so
-REX_SO = $(REX_SO_NAME).$(REX_SO_VERSION)
-TARGET_REX_LIB = $(OUTDIR)/$(REX_LIB)
-TARGET_REX_SO = $(OUTDIR)/$(REX_SO)
-CFLAGS += -I$(ROOT_DIR)
-
-LIBS = -L$(RLIB_SRCDIR)/build/unix/$(ARCHDIR)/out 
-LIBS += -L$(RVM_SRCDIR)/build/unix/$(ARCHDIR)/out 
-LIBS += -L$(RPA_SRCDIR)/build/unix/$(ARCHDIR)/out 
-LIBS += -L$(REX_SRCDIR)/build/unix/$(ARCHDIR)/out 
-LIBS += -lrex -lrpa -lrvm -lrlib -lpthread -lm
-LDFLAGS += $(LIBS)
-
-
-REX_OBJECTS =  \
-       $(OUTDIR)/rexdb.o \
-       $(OUTDIR)/rexregex.o \
-       $(OUTDIR)/rexcompiler.o \
-       $(OUTDIR)/rexfragment.o \
-       $(OUTDIR)/rexnfasimulator.o \
-       $(OUTDIR)/rexdfasimulator.o \
-       $(OUTDIR)/rexdfaconv.o \
-       $(OUTDIR)/rextransition.o \
-       $(OUTDIR)/rexdfa.o \
-       $(OUTDIR)/rexstate.o
-
-
-ifeq ($(OS), linux)
-all: $(OUTDIR) $(TARGET_REX_LIB) $(TARGET_REX_SO)
-else
-all: $(OUTDIR) $(TARGET_REX_LIB)
-endif
-
-
-$(OUTDIR)/%.o: $(REX_SRCDIR)/%.c
-       $(CC) $(CFLAGS) -o $(OUTDIR)/$*.o -c $(REX_SRCDIR)/$*.c
-
-$(TARGET_REX_LIB): $(REX_OBJECTS)
-       $(AR) -cr $@ $^
-
-$(TARGET_REX_SO): $(REX_OBJECTS)
-       $(CC) $(LDFLAGS) -shared -Wl,-soname,$(REX_SO_NAME) -o $@ $^
-
-$(OUTDIR):
-       @mkdir $(OUTDIR)
-
-distclean: clean
-       -rm -f .depend
-       -rm -rf $(OUTDIR)
-
-clean:
-       -rm -f $(TARGET_REX_LIB)
-       -rm -f $(TARGET_REX_SO)
-       -rm -f $(REX_OBJECTS)
-       -rm -f *~
-       -rm -f $(ROOT_DIR)/*~
-
-install:
-       cp $(TARGET_REX_SO) $(RPATK_LIB_INSTALL)
-       cp $(TARGET_REX_LIB) $(RPATK_LIB_INSTALL)
-       cp $(REX_SRCDIR)/*.h $(RPATK_INC_INSTALL)/rex
-
-uninstall:
-       -rm -f $(RPATK_LIB_INSTALL)/$(REX_LIB)
-       -rm -f $(RPATK_LIB_INSTALL)/$(REX_SO_NAME)*
-       -rm -f $(RPATK_INC_INSTALL)/rex/*
diff --git a/rex/build/unix/x86_64/Makefile b/rex/build/unix/x86_64/Makefile
deleted file mode 100644 (file)
index f4a2bdf..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-include $(ROOT_DIR)/unix/config.mk
-
-INCLUDE = -I$(ROOT_DIR)/arch/unix/$(ARCHDIR)
-OUTDIR = out
-MACH = -m64
-
-CFLAGS := $(MACH)
-ifeq ($(BLDCFG), release)
-CFLAGS += -fPIC -O2
-else
-CFLAGS += -fPIC -O0 -g -Wall
-endif
-
-ifeq ($(CCBLD), yes)
-CFLAGS += -fprofile-arcs -ftest-coverage
-endif
-
-CFLAGS += $(INCLUDE)
-LDFLAGS := $(MACH)
-
-include ../rex.mk
diff --git a/rexcc/build/unix/arm/Makefile b/rexcc/build/unix/arm/Makefile
deleted file mode 100644 (file)
index fef535c..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-ARCHDIR = $(shell basename $(shell pwd))
-OUTDIR = out
-OS = $(shell uname | tr "[:upper:]" "[:lower:]")
-ROOT_DIR = ../../../..
-
-include $(ROOT_DIR)/build/unix/config.mk
-
-CFLAGS = $(MACH)
-ifeq ($(BLDCFG), release)
-CFLAGS += -O2
-else
-ifeq ($(BLDCFG), profile)
-CFLAGS += -O0 -pg
-else
-CFLAGS += -g -O0 -Wall 
-endif
-endif
-
-ifeq ($(CCBLD), yes)
-CFLAGS += -fprofile-arcs -ftest-coverage
-endif
-
-CFLAGS += $(INCLUDE)
-LDFLAGS = $(MACH)
-
-
-include ../rexcc.mk
diff --git a/rexcc/build/unix/i386/Makefile b/rexcc/build/unix/i386/Makefile
deleted file mode 100644 (file)
index 033da00..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-ARCHDIR = $(shell basename $(shell pwd))
-OUTDIR = out
-OS = $(shell uname | tr "[:upper:]" "[:lower:]")
-ROOT_DIR = ../../../..
-MACH = -m32
-
-include $(ROOT_DIR)/build/unix/config.mk
-
-CFLAGS = $(MACH)
-ifeq ($(BLDCFG), release)
-CFLAGS += -O2
-else
-ifeq ($(BLDCFG), profile)
-CFLAGS += -O0 -pg
-else
-CFLAGS += -g -O0 -Wall 
-endif
-endif
-
-ifeq ($(CCBLD), yes)
-CFLAGS += -fprofile-arcs -ftest-coverage
-endif
-
-CFLAGS += $(INCLUDE)
-LDFLAGS = $(MACH)
-
-
-include ../rexcc.mk
diff --git a/rexcc/build/unix/rexcc.mk b/rexcc/build/unix/rexcc.mk
deleted file mode 100644 (file)
index 16fca19..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-REXCC_BIN_INSTALL = ${RPATK_BIN_INSTALL}
-RLIB_SRCDIR = $(ROOT_DIR)/rlib
-RVM_SRCDIR = $(ROOT_DIR)/rvm
-RPA_SRCDIR = $(ROOT_DIR)/rpa
-REX_SRCDIR = $(ROOT_DIR)/rex
-REXCC_SRCDIR = $(ROOT_DIR)/rexcc
-INCLUDE = -I$(ROOT_DIR) -I$(ROOT_DIR)/arch/unix/$(ARCHDIR) -I$(REXCC_SRCDIR) -I$(REXCC_SRCDIR)/unix
-ifeq ($(OS), linux)
-LDFLAGS += --static
-endif
-
-
-LIBS = -L$(RLIB_SRCDIR)/build/unix/$(ARCHDIR)/out 
-LIBS += -L$(RVM_SRCDIR)/build/unix/$(ARCHDIR)/out 
-LIBS += -L$(RPA_SRCDIR)/build/unix/$(ARCHDIR)/out 
-LIBS += -L$(REX_SRCDIR)/build/unix/$(ARCHDIR)/out
-LIBS += -lrpa -lrvm -lrex -lrlib -lpthread -lm
-
-OBJECTS        = $(OUTDIR)/rexcc.o \
-       $(OUTDIR)/rexccdep.o \
-       $(OUTDIR)/main.o
-
-REXCC  = rexcc
-
-
-all : $(OUTDIR) $(OUTDIR)/$(REXCC)
-
-$(OUTDIR)/$(REXCC) : $(OBJECTS)
-       $(CC) -o $@ $^ $(LIBS) $(LDFLAGS)
-
-
-$(OUTDIR)/%.o: $(REXCC_SRCDIR)/%.c
-       + $(CC) $(CFLAGS) -o $(OUTDIR)/$*.o -c $(REXCC_SRCDIR)/$*.c $(INCLUDE)
-
-$(OUTDIR)/%.o: $(REXCC_SRCDIR)/unix/%.c
-       + $(CC) $(CFLAGS) -o $(OUTDIR)/$*.o -c $(REXCC_SRCDIR)/unix/$*.c $(INCLUDE)
-
-
-$(OUTDIR):
-       @mkdir $(OUTDIR)
-
-distclean: clean
-       -rm -f .depend
-       -rm -rf $(OUTDIR)
-
-clean:
-       -rm -f $(TESTS)
-       -rm -f *~
-       -rm -f $(ROOT_DIR)/*~
-       -rm -f $(OBJECTS)
-       -rm -f $(OUTDIR)/$(REXCC)
-
-install:
-       cp $(OUTDIR)/$(REXCC) $(REXCC_BIN_INSTALL)
-
-uninstall:
-       -rm -f $(REXCC_BIN_INSTALL)/$(REXCC)
-
-
diff --git a/rexcc/build/unix/x86_64/Makefile b/rexcc/build/unix/x86_64/Makefile
deleted file mode 100644 (file)
index e8cc701..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-ARCHDIR = $(shell basename $(shell pwd))
-OUTDIR = out
-OS = $(shell uname | tr "[:upper:]" "[:lower:]")
-ROOT_DIR = ../../../..
-MACH = -m64
-
-include $(ROOT_DIR)/build/unix/config.mk
-
-CFLAGS = $(MACH)
-ifeq ($(BLDCFG), release)
-CFLAGS += -O2
-else
-ifeq ($(BLDCFG), profile)
-CFLAGS += -O0 -pg
-else
-CFLAGS += -g -O0 -Wall 
-endif
-endif
-
-ifeq ($(CCBLD), yes)
-CFLAGS += -fprofile-arcs -ftest-coverage
-endif
-
-CFLAGS += $(INCLUDE)
-LDFLAGS = $(MACH)
-
-
-include ../rexcc.mk
diff --git a/rexgrep/build/unix/arm/Makefile b/rexgrep/build/unix/arm/Makefile
deleted file mode 100644 (file)
index e2b6f28..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-ARCHDIR = $(shell basename $(shell pwd))
-OUTDIR = out
-OS = $(shell uname | tr "[:upper:]" "[:lower:]")
-ROOT_DIR = ../../../..
-
-include $(ROOT_DIR)/build/unix/config.mk
-
-CFLAGS = $(MACH)
-ifeq ($(BLDCFG), release)
-CFLAGS += -O2
-else
-ifeq ($(BLDCFG), profile)
-CFLAGS += -O0 -pg
-else
-CFLAGS += -g -O0 -Wall 
-endif
-endif
-
-ifeq ($(CCBLD), yes)
-CFLAGS += -fprofile-arcs -ftest-coverage
-endif
-
-CFLAGS += $(INCLUDE)
-LDFLAGS = $(MACH)
-
-
-include ../rexgrep.mk
diff --git a/rexgrep/build/unix/i386/Makefile b/rexgrep/build/unix/i386/Makefile
deleted file mode 100644 (file)
index b1ebfb1..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-ARCHDIR = $(shell basename $(shell pwd))
-OUTDIR = out
-OS = $(shell uname | tr "[:upper:]" "[:lower:]")
-ROOT_DIR = ../../../..
-MACH = -m32
-
-include $(ROOT_DIR)/build/unix/config.mk
-
-CFLAGS = $(MACH)
-ifeq ($(BLDCFG), release)
-CFLAGS += -O2
-else
-ifeq ($(BLDCFG), profile)
-CFLAGS += -O0 -pg
-else
-CFLAGS += -g -O0 -Wall 
-endif
-endif
-
-ifeq ($(CCBLD), yes)
-CFLAGS += -fprofile-arcs -ftest-coverage
-endif
-
-CFLAGS += $(INCLUDE)
-LDFLAGS = $(MACH)
-
-
-include ../rexgrep.mk
diff --git a/rexgrep/build/unix/regexgen.sh b/rexgrep/build/unix/regexgen.sh
deleted file mode 100755 (executable)
index a905b01..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/bash
-for i in {a..z} {A..Z} {0..9}; do 
-    for j in {a..z} {A..Z} {0..9}; do 
-       for k in {U..X}; do
-           echo "${i}${j}O\!P\%\@AP\[4\\\\PZX54\(P\\^\\)7CC\\)7\}\\\$E[I-J]CAR-[S-V]TANDARD-[A-E]NTIVIR${k}S-TEST-FILE\\!\\\$H\\+H\\* | "
-       done
-    done
-done
-echo -n "[mn]a[qr]t[i-j]*n[ ]*[r-t]to[i-j]l[m-p][v-w]|"
-echo "theregexend"; 
diff --git a/rexgrep/build/unix/rexgrep.mk b/rexgrep/build/unix/rexgrep.mk
deleted file mode 100644 (file)
index 777c46a..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-REXGREP_BIN_INSTALL = ${RPATK_BIN_INSTALL}
-RLIB_SRCDIR = $(ROOT_DIR)/rlib
-RVM_SRCDIR = $(ROOT_DIR)/rvm
-RPA_SRCDIR = $(ROOT_DIR)/rpa
-REX_SRCDIR = $(ROOT_DIR)/rex
-REXGREP_SRCDIR = $(ROOT_DIR)/rexgrep
-INCLUDE = -I$(ROOT_DIR) -I$(ROOT_DIR)/arch/unix/$(ARCHDIR) -I$(REXGREP_SRCDIR) -I$(REXGREP_SRCDIR)/unix
-ifeq ($(OS), linux)
-LDFLAGS += --static
-endif
-
-
-LIBS = -L$(RLIB_SRCDIR)/build/unix/$(ARCHDIR)/out 
-LIBS += -L$(RVM_SRCDIR)/build/unix/$(ARCHDIR)/out 
-LIBS += -L$(RPA_SRCDIR)/build/unix/$(ARCHDIR)/out 
-LIBS += -L$(REX_SRCDIR)/build/unix/$(ARCHDIR)/out
-LIBS += -lrpa -lrvm -lrex -lrlib -lm
-
-OBJECTS        = $(OUTDIR)/rexgrep.o \
-       $(OUTDIR)/main.o \
-       $(OUTDIR)/fsenum.o \
-       $(OUTDIR)/rexgrepdep.o
-
-REXGREP        = rexgrep
-
-
-all : $(OUTDIR) $(OUTDIR)/$(REXGREP)
-
-$(OUTDIR)/$(REXGREP) : $(OBJECTS)
-       $(CC) -o $@ $^ $(LIBS) $(LDFLAGS)
-
-
-$(OUTDIR)/%.o: $(REXGREP_SRCDIR)/%.c
-       + $(CC) $(CFLAGS) -o $(OUTDIR)/$*.o -c $(REXGREP_SRCDIR)/$*.c $(INCLUDE)
-
-$(OUTDIR)/%.o: $(REXGREP_SRCDIR)/unix/%.c
-       + $(CC) $(CFLAGS) -o $(OUTDIR)/$*.o -c $(REXGREP_SRCDIR)/unix/$*.c $(INCLUDE)
-
-
-$(OUTDIR):
-       @mkdir $(OUTDIR)
-
-distclean: clean
-       -rm -f .depend
-       -rm -rf $(OUTDIR)
-
-clean:
-       -rm -f $(TESTS)
-       -rm -f *~
-       -rm -f $(ROOT_DIR)/*~
-       -rm -f $(OBJECTS)
-       -rm -f $(OUTDIR)/$(REXGREP)
-
-install:
-       cp $(OUTDIR)/$(REXGREP) $(REXGREP_BIN_INSTALL)
-
-uninstall:
-       -rm -f $(REXGREP_BIN_INSTALL)/$(REXGREP)
-
-
diff --git a/rexgrep/build/unix/x86_64/Makefile b/rexgrep/build/unix/x86_64/Makefile
deleted file mode 100644 (file)
index ec947bd..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-ARCHDIR = $(shell basename $(shell pwd))
-OUTDIR = out
-OS = $(shell uname | tr "[:upper:]" "[:lower:]")
-ROOT_DIR = ../../../..
-MACH = -m64
-
-include $(ROOT_DIR)/build/unix/config.mk
-
-CFLAGS = $(MACH)
-ifeq ($(BLDCFG), release)
-CFLAGS += -O2
-else
-ifeq ($(BLDCFG), profile)
-CFLAGS += -O0 -pg
-else
-CFLAGS += -g -O0 -Wall 
-endif
-endif
-
-ifeq ($(CCBLD), yes)
-CFLAGS += -fprofile-arcs -ftest-coverage
-endif
-
-CFLAGS += $(INCLUDE)
-LDFLAGS = $(MACH)
-
-
-include ../rexgrep.mk
diff --git a/rjs/build/unix/arm/Makefile b/rjs/build/unix/arm/Makefile
deleted file mode 100644 (file)
index 12b04b3..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-ROOT_DIR = ../../../..
-ARCHDIR = $(shell basename $(shell pwd))
-OUTDIR = out
-OS = $(shell uname | tr "[:upper:]" "[:lower:]")
-INCLUDE = -I$(ROOT_DIR)/arch/unix/$(ARCHDIR)
-ELFARCH = elf32-littlearm
-BINARCH = arm
-OCFLAGS_TXT = --input binary --output $(ELFARCH) --binary-architecture $(BINARCH)
-
-include $(ROOT_DIR)/build/unix/config.mk
-
-ifeq ($(BLDCFG), release)
-CFLAGS := $(MACH) -fPIC -O2
-else
-CFLAGS := $(MACH) -fPIC -O0 -g -Wall 
-endif
-
-ifeq ($(CCBLD), yes)
-CFLAGS += -fprofile-arcs -ftest-coverage
-endif
-
-CFLAGS += $(INCLUDE)
-LDFLAGS := $(MACH)
-
-
-include ../rjs.mk
diff --git a/rjs/build/unix/i386/Makefile b/rjs/build/unix/i386/Makefile
deleted file mode 100644 (file)
index b25c75a..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-ROOT_DIR = ../../../..
-ARCHDIR = $(shell basename $(shell pwd))
-OUTDIR = out
-OS = $(shell uname | tr "[:upper:]" "[:lower:]")
-INCLUDE = -I$(ROOT_DIR)/arch/unix/$(ARCHDIR)
-MACH = -m32
-ELFARCH = elf32-i386
-BINARCH = i386
-OCFLAGS_TXT = --input binary --output $(ELFARCH) --binary-architecture $(BINARCH)
-
-include $(ROOT_DIR)/build/unix/config.mk
-
-ifeq ($(BLDCFG), release)
-CFLAGS := $(MACH) -fPIC -O2
-else
-CFLAGS := $(MACH) -fPIC -O0 -g -Wall 
-endif
-
-ifeq ($(CCBLD), yes)
-CFLAGS += -fprofile-arcs -ftest-coverage
-endif
-
-CFLAGS += $(INCLUDE)
-LDFLAGS := $(MACH)
-
-
-include ../rjs.mk
diff --git a/rjs/build/unix/rjs.mk b/rjs/build/unix/rjs.mk
deleted file mode 100644 (file)
index aa78bc3..0000000
+++ /dev/null
@@ -1,115 +0,0 @@
-RLIB_SRCDIR = $(ROOT_DIR)/rlib
-RVM_SRCDIR = $(ROOT_DIR)/rvm
-RPA_SRCDIR = $(ROOT_DIR)/rpa
-RJS_SRCDIR = $(ROOT_DIR)/rjs
-RJS_LIB = $(OUTDIR)/librjs.a
-RJS_SO = $(OUTDIR)/librjs.so.1.0
-RJS_EXEC = $(OUTDIR)/rjsexec
-LDFLAGS_RJSEXEC = $(LDFLAGS)
-ifeq ($(OS), linux)
-LDFLAGS_RJSEXEC += --static
-endif
-
-ifeq ($(OS), darwin)
-ECMA262_SECTION = -sectcreate rpa ecma262 $(RJS_SRCDIR)/ecma262.rpa
-endif
-
-CFLAGS += -I$(ROOT_DIR)
-
-LIBS = -L$(RLIB_SRCDIR)/build/unix/$(ARCHDIR)/out 
-LIBS += -L$(RVM_SRCDIR)/build/unix/$(ARCHDIR)/out 
-LIBS += -L$(RPA_SRCDIR)/build/unix/$(ARCHDIR)/out 
-LIBS += -L$(RJS_SRCDIR)/build/unix/$(ARCHDIR)/out 
-LIBS += -lrjs -lrpa -lrvm -lrlib -lpthread -lm
-
-RJS_OBJECTS += $(OUTDIR)/rjs.o
-RJS_OBJECTS += $(OUTDIR)/rjsparser.o
-RJS_OBJECTS += $(OUTDIR)/rjscompiler.o
-RJS_OBJECTS += $(OUTDIR)/rjsrules.o
-RJS_OBJECTS += $(OUTDIR)/rjsfile.o
-RJS_OBJECTS += $(OUTDIR)/rvmoperator.o
-RJS_OBJECTS += $(OUTDIR)/rvmoperatorbin.o
-RJS_OBJECTS += $(OUTDIR)/rvmoperatoradd.o
-RJS_OBJECTS += $(OUTDIR)/rvmoperatorand.o
-RJS_OBJECTS += $(OUTDIR)/rvmoperatoreq.o
-RJS_OBJECTS += $(OUTDIR)/rvmoperatornoteq.o
-RJS_OBJECTS += $(OUTDIR)/rvmoperatorlogicor.o
-RJS_OBJECTS += $(OUTDIR)/rvmoperatorlogicand.o
-RJS_OBJECTS += $(OUTDIR)/rvmoperatorlogicnot.o
-RJS_OBJECTS += $(OUTDIR)/rvmoperatorless.o
-RJS_OBJECTS += $(OUTDIR)/rvmoperatorlesseq.o
-RJS_OBJECTS += $(OUTDIR)/rvmoperatorgreater.o
-RJS_OBJECTS += $(OUTDIR)/rvmoperatorgreatereq.o
-RJS_OBJECTS += $(OUTDIR)/rvmoperatorxor.o
-RJS_OBJECTS += $(OUTDIR)/rvmoperatoror.o
-RJS_OBJECTS += $(OUTDIR)/rvmoperatorcmp.o
-RJS_OBJECTS += $(OUTDIR)/rvmoperatorcmn.o
-RJS_OBJECTS += $(OUTDIR)/rvmoperatorlsl.o
-RJS_OBJECTS += $(OUTDIR)/rvmoperatorlsr.o
-RJS_OBJECTS += $(OUTDIR)/rvmoperatorlsru.o
-RJS_OBJECTS += $(OUTDIR)/rvmoperatorcast.o
-RJS_OBJECTS += $(OUTDIR)/rvmoperatorcat.o
-RJS_OBJECTS += $(OUTDIR)/rvmoperatorsub.o
-RJS_OBJECTS += $(OUTDIR)/rvmoperatormul.o
-RJS_OBJECTS += $(OUTDIR)/rvmoperatordiv.o
-RJS_OBJECTS += $(OUTDIR)/rvmoperatormod.o
-RJS_OBJECTS += $(OUTDIR)/rvmoperatornot.o
-
-
-ifeq ($(OS), linux)
-RJS_OBJECTS += $(OUTDIR)/ecma262.o
-endif
-
-RJSEXEC_OBJECTS =      \
-       $(OUTDIR)/rjsexec.o \
-
-
-
-ifeq ($(OS), linux)
-all: $(OUTDIR) $(RJS_LIB) $(RJS_SO) $(RJS_EXEC)
-else
-all: $(OUTDIR) $(RJS_LIB) $(RJS_EXEC)
-endif
-
-$(RJS_EXEC) : $(RJSEXEC_OBJECTS) $(RJS_LIB) $(RJS_OBJECTS)
-       $(CC) -o $@ $< $(LIBS) $(LDFLAGS_RJSEXEC) $(ECMA262_SECTION)
-
-$(OUTDIR)/%.o: $(RJS_SRCDIR)/%.c
-       $(CC) $(CFLAGS) -o $(OUTDIR)/$*.o -c $(RJS_SRCDIR)/$*.c
-
-ifeq ($(OS), darwin)
-$(OUTDIR)/%.o: $(RJS_SRCDIR)/darwin/%.c
-       $(CC) $(CFLAGS) -o $(OUTDIR)/$*.o -c $(RJS_SRCDIR)/darwin/$*.c
-endif
-
-$(OUTDIR)/%.o: $(RJS_SRCDIR)/unix/%.c
-       $(CC) $(CFLAGS) -o $(OUTDIR)/$*.o -c $(RJS_SRCDIR)/unix/$*.c
-
-$(OUTDIR)/%.o: $(RJS_SRCDIR)/exec/%.c
-       $(CC) $(CFLAGS) -o $(OUTDIR)/$*.o -c $<
-
-
-$(RJS_LIB): $(RJS_OBJECTS)
-       $(AR) -cr $@ $^
-
-$(RJS_SO): $(RJS_OBJECTS)
-       $(CC) $(LDFLAGS) -shared -Wl,-soname,librjs.so -o $@ $^
-
-$(OUTDIR)/%.o: $(RJS_SRCDIR)/%.rpa
-       $(OBJCOPY) $(OCFLAGS_TXT)  $(RJS_SRCDIR)/$*.rpa $(OUTDIR)/$*.o
-
-$(OUTDIR):
-       @mkdir $(OUTDIR)
-
-distclean: clean
-       -rm -f .depend
-       -rm -rf $(OUTDIR)
-
-clean:
-       -rm -f $(RJS_LIB)
-       -rm -f $(RJS_SO)
-       -rm -f $(RJS_OBJECTS)
-       -rm -f $(RJS_EXEC)
-       -rm -f *~
-       -rm -f $(ROOT_DIR)/*~
-
diff --git a/rjs/build/unix/x86_64/Makefile b/rjs/build/unix/x86_64/Makefile
deleted file mode 100644 (file)
index 65d79bd..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-ROOT_DIR = ../../../..
-ARCHDIR = $(shell basename $(shell pwd))
-OUTDIR = out
-OS = $(shell uname | tr "[:upper:]" "[:lower:]")
-INCLUDE = -I$(ROOT_DIR)/arch/unix/$(ARCHDIR)
-MACH = -m64
-ELFARCH = elf64-x86-64
-BINARCH = i386:x86-64
-OCFLAGS_TXT = --input binary --output $(ELFARCH) --binary-architecture $(BINARCH)
-
-include $(ROOT_DIR)/build/unix/config.mk
-
-ifeq ($(BLDCFG), release)
-CFLAGS := $(MACH) -fPIC -O2
-else
-CFLAGS := $(MACH) -fPIC -O0 -g -Wall 
-endif
-
-ifeq ($(CCBLD), yes)
-CFLAGS += -fprofile-arcs -ftest-coverage
-endif
-
-CFLAGS += $(INCLUDE)
-LDFLAGS := $(MACH)
-
-
-include ../rjs.mk
diff --git a/rpa/build/unix/arm/Makefile b/rpa/build/unix/arm/Makefile
deleted file mode 100644 (file)
index 3f2f043..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-ROOT_DIR = ../../../..
-include $(ROOT_DIR)/build/unix/config.mk
-INCLUDE = -I$(ROOT_DIR)/arch/unix/$(ARCHDIR)
-OUTDIR = out
-
-CFLAGS := $(MACH)
-ifeq ($(BLDCFG), release)
-CFLAGS += -fPIC -O2
-else
-CFLAGS += -fPIC -O0 -g -Wall 
-endif
-
-ifeq ($(CCBLD), yes)
-CFLAGS += -fprofile-arcs -ftest-coverage
-endif
-
-CFLAGS += $(INCLUDE)
-LDFLAGS := $(MACH)
-
-include ../rpa.mk
diff --git a/rpa/build/unix/i386/Makefile b/rpa/build/unix/i386/Makefile
deleted file mode 100644 (file)
index 2198c1b..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-ROOT_DIR = ../../../..
-include $(ROOT_DIR)/build/unix/config.mk
-INCLUDE = -I$(ROOT_DIR)/arch/unix/$(ARCHDIR)
-OUTDIR = out
-MACH = -m32
-
-CFLAGS := $(MACH)
-ifeq ($(BLDCFG), release)
-CFLAGS += -fPIC -O2
-else
-CFLAGS += -fPIC -O0 -g -Wall 
-endif
-
-ifeq ($(CCBLD), yes)
-CFLAGS += -fprofile-arcs -ftest-coverage
-endif
-
-CFLAGS += $(INCLUDE)
-LDFLAGS := $(MACH)
-
-include ../rpa.mk
diff --git a/rpa/build/unix/rpa.mk b/rpa/build/unix/rpa.mk
deleted file mode 100644 (file)
index 4c4311a..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-RPA_SRCDIR = $(ROOT_DIR)/rpa
-RPA_LIB = librpa.a
-RPA_SO_VERSION = 2.0
-RPA_SO_NAME = librpa.so
-RPA_SO = $(RPA_SO_NAME).$(RPA_SO_VERSION)
-TARGET_RPA_LIB = $(OUTDIR)/$(RPA_LIB)
-TARGET_RPA_SO = $(OUTDIR)/$(RPA_SO)
-CFLAGS += -I$(ROOT_DIR)
-
-RPA_OBJECTS += $(OUTDIR)/rpacache.o
-RPA_OBJECTS += $(OUTDIR)/rpadbex.o
-RPA_OBJECTS += $(OUTDIR)/rpastat.o
-RPA_OBJECTS += $(OUTDIR)/rparecord.o
-RPA_OBJECTS += $(OUTDIR)/rpavm.o
-RPA_OBJECTS += $(OUTDIR)/rpacompiler.o
-RPA_OBJECTS += $(OUTDIR)/rpaparser.o
-RPA_OBJECTS += $(OUTDIR)/rpaoptimization.o
-RPA_OBJECTS += $(OUTDIR)/rpabitmap.o
-
-
-ifeq ($(OS), linux)
-all: $(OUTDIR) $(TARGET_RPA_LIB) $(TARGET_RPA_SO)
-else
-all: $(OUTDIR) $(TARGET_RPA_LIB)
-endif
-
-
-$(OUTDIR)/%.o: $(RPA_SRCDIR)/%.c
-       $(CC) $(CFLAGS) -o $(OUTDIR)/$*.o -c $(RPA_SRCDIR)/$*.c
-
-$(TARGET_RPA_LIB): $(RPA_OBJECTS)
-       $(AR) -cr $@ $^
-
-$(TARGET_RPA_SO): $(RPA_OBJECTS)
-       $(CC) $(LDFLAGS) -shared -Wl,-soname,$(RPA_SO_NAME) -o $@ $^
-
-$(OUTDIR):
-       @mkdir $(OUTDIR)
-
-distclean: clean
-       -rm -f .depend
-       -rm -rf $(OUTDIR)
-
-clean:
-       -rm -f $(TARGET_RPA_LIB)
-       -rm -f $(TARGET_RPA_SO)
-       -rm -f $(RPA_OBJECTS)
-       -rm -f *~
-       -rm -f $(ROOT_DIR)/*~
-
-install:
-       cp $(TARGET_RPA_SO) $(RPATK_LIB_INSTALL)
-       cp $(TARGET_RPA_LIB) $(RPATK_LIB_INSTALL)
-       cp $(RPA_SRCDIR)/*.h $(RPATK_INC_INSTALL)/rpa
-
-uninstall:
-       -rm -f $(RPATK_LIB_INSTALL)/$(RPA_LIB)
-       -rm -f $(RPATK_LIB_INSTALL)/$(RPA_SO_NAME)*
-       -rm -f $(RPATK_INC_INSTALL)/rpa/*
diff --git a/rpa/build/unix/x86_64/Makefile b/rpa/build/unix/x86_64/Makefile
deleted file mode 100644 (file)
index 1289949..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-ROOT_DIR = ../../../..
-include $(ROOT_DIR)/build/unix/config.mk
-
-INCLUDE = -I$(ROOT_DIR)/arch/unix/$(ARCHDIR)
-OUTDIR = out
-MACH = -m64
-
-CFLAGS := $(MACH)
-ifeq ($(BLDCFG), release)
-CFLAGS += -fPIC -O2
-else
-CFLAGS += -fPIC -O0 -g -Wall 
-endif
-
-ifeq ($(CCBLD), yes)
-CFLAGS += -fprofile-arcs -ftest-coverage
-endif
-
-CFLAGS += $(INCLUDE)
-LDFLAGS := $(MACH)
-
-include ../rpa.mk
diff --git a/rpagrep/build/unix/arm/Makefile b/rpagrep/build/unix/arm/Makefile
deleted file mode 100644 (file)
index a1a5504..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-ARCHDIR = $(shell basename $(shell pwd))
-OUTDIR = out
-OS = $(shell uname | tr "[:upper:]" "[:lower:]")
-ROOT_DIR = ../../../..
-
-include $(ROOT_DIR)/build/unix/config.mk
-
-CFLAGS = $(MACH)
-ifeq ($(BLDCFG), release)
-CFLAGS += -O2
-else
-ifeq ($(BLDCFG), profile)
-CFLAGS += -O0 -pg
-else
-CFLAGS += -g -O0 -Wall 
-endif
-endif
-
-ifeq ($(CCBLD), yes)
-CFLAGS += -fprofile-arcs -ftest-coverage
-endif
-
-CFLAGS += $(INCLUDE)
-LDFLAGS = $(MACH)
-
-
-include ../rgrep.mk
diff --git a/rpagrep/build/unix/i386/Makefile b/rpagrep/build/unix/i386/Makefile
deleted file mode 100644 (file)
index 87746e9..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-ARCHDIR = $(shell basename $(shell pwd))
-OUTDIR = out
-OS = $(shell uname | tr "[:upper:]" "[:lower:]")
-ROOT_DIR = ../../../..
-MACH = -m32
-
-include $(ROOT_DIR)/build/unix/config.mk
-
-CFLAGS = $(MACH)
-ifeq ($(BLDCFG), release)
-CFLAGS += -O2
-else
-ifeq ($(BLDCFG), profile)
-CFLAGS += -O0 -pg
-else
-CFLAGS += -g -O0 -Wall 
-endif
-endif
-
-ifeq ($(CCBLD), yes)
-CFLAGS += -fprofile-arcs -ftest-coverage
-endif
-
-CFLAGS += $(INCLUDE)
-LDFLAGS = $(MACH)
-
-
-include ../rgrep.mk
diff --git a/rpagrep/build/unix/rgrep.mk b/rpagrep/build/unix/rgrep.mk
deleted file mode 100644 (file)
index f3dc2c4..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-RPAGREP_BIN_INSTALL = ${RPATK_BIN_INSTALL}
-RLIB_SRCDIR = $(ROOT_DIR)/rlib
-RVM_SRCDIR = $(ROOT_DIR)/rvm
-RPA_SRCDIR = $(ROOT_DIR)/rpa
-RGREP_SRCDIR = $(ROOT_DIR)/rpagrep
-INCLUDE = -I$(ROOT_DIR) -I$(ROOT_DIR)/arch/unix/$(ARCHDIR) -I$(RGREP_SRCDIR) -I$(RGREP_SRCDIR)/unix
-ifeq ($(OS), linux)
-LDFLAGS += --static
-endif
-
-
-LIBS = -L$(RLIB_SRCDIR)/build/unix/$(ARCHDIR)/out 
-LIBS += -L$(RVM_SRCDIR)/build/unix/$(ARCHDIR)/out 
-LIBS += -L$(RPA_SRCDIR)/build/unix/$(ARCHDIR)/out 
-LIBS += -lrpa -lrvm -lrlib -lpthread -lm
-
-OBJECTS        = $(OUTDIR)/rpagrep.o $(OUTDIR)/main.o $(OUTDIR)/fsenum.o $(OUTDIR)/rpagrepdep.o $(OUTDIR)/rpagreputf.o
-RPAGREP        = rpagrep
-
-
-all : $(OUTDIR) $(OUTDIR)/$(RPAGREP)
-
-$(OUTDIR)/$(RPAGREP) : $(OBJECTS)
-       $(CC) -o $@ $^ $(LIBS) $(LDFLAGS)
-
-
-$(OUTDIR)/%.o: $(RGREP_SRCDIR)/%.c
-       + $(CC) $(CFLAGS) -o $(OUTDIR)/$*.o -c $(RGREP_SRCDIR)/$*.c $(INCLUDE)
-
-$(OUTDIR)/%.o: $(RGREP_SRCDIR)/unix/%.c
-       + $(CC) $(CFLAGS) -o $(OUTDIR)/$*.o -c $(RGREP_SRCDIR)/unix/$*.c $(INCLUDE)
-
-
-$(OUTDIR):
-       @mkdir $(OUTDIR)
-
-distclean: clean
-       -rm -f .depend
-       -rm -rf $(OUTDIR)
-
-clean:
-       -rm -f $(TESTS)
-       -rm -f *~
-       -rm -f $(ROOT_DIR)/*~
-       -rm -f $(OBJECTS)
-       -rm -f $(OUTDIR)/$(RPAGREP)
-
-install:
-       cp $(OUTDIR)/$(RPAGREP) $(RPAGREP_BIN_INSTALL)
-
-uninstall:
-       -rm -f $(RPAGREP_BIN_INSTALL)/$(RPAGREP)
-
-
diff --git a/rpagrep/build/unix/x86_64/Makefile b/rpagrep/build/unix/x86_64/Makefile
deleted file mode 100644 (file)
index 633e835..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-ARCHDIR = $(shell basename $(shell pwd))
-OUTDIR = out
-OS = $(shell uname | tr "[:upper:]" "[:lower:]")
-ROOT_DIR = ../../../..
-MACH = -m64
-
-include $(ROOT_DIR)/build/unix/config.mk
-
-CFLAGS = $(MACH)
-ifeq ($(BLDCFG), release)
-CFLAGS += -O2
-else
-ifeq ($(BLDCFG), profile)
-CFLAGS += -O0 -pg
-else
-CFLAGS += -g -O0 -Wall 
-endif
-endif
-
-ifeq ($(CCBLD), yes)
-CFLAGS += -fprofile-arcs -ftest-coverage
-endif
-
-CFLAGS += $(INCLUDE)
-LDFLAGS = $(MACH)
-
-
-include ../rgrep.mk