Skip to content

Commit

Permalink
Removed pparse and pvm from tools, reenabled tools
Browse files Browse the repository at this point in the history
  • Loading branch information
phorward committed Dec 18, 2018
1 parent 7a5e2c2 commit 15fd13d
Show file tree
Hide file tree
Showing 12 changed files with 18 additions and 854 deletions.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
AUTOMAKE_OPTIONS = foreign

#SUBDIRS = src tools examples
SUBDIRS = src
SUBDIRS = src tools

phorwarddir = $(datadir)/phorward
dist_phorward_DATA = LICENSE README.md CHANGELOG.md doc/phorward.html doc/phorward.css doc/phorward.png doc/prism.css doc/prism.js examples/*.c
Expand Down
9 changes: 5 additions & 4 deletions Makefile.gnu
Original file line number Diff line number Diff line change
@@ -1,32 +1,33 @@
all:
cd src; make -f Makefile.gnu
cd tools; make -f Makefile.gnu
# cd examples; make -f Makefile.gnu
# cd DEMO; make -f Makefile.gnu

clean:
cd src; make -f Makefile.gnu clean
# cd tools; make -f Makefile.gnu clean
cd tools; make -f Makefile.gnu clean
# cd examples; make -f Makefile.gnu clean
# cd DEMO; make -f Makefile.gnu clean

make_install:
cp Makefile.gnu Makefile
cp src/Makefile.gnu src/Makefile
# cp tools/Makefile.gnu tools/Makefile
cp tools/Makefile.gnu tools/Makefile
# cp examples/Makefile.gnu examples/Makefile
# cp DEMO/Makefile.gnu DEMO/Makefile

make_update:
cp Makefile Makefile.gnu
cp src/Makefile src/Makefile.gnu
# cp tools/Makefile tools/Makefile.gnu
cp tools/Makefile tools/Makefile.gnu
# cp examples/Makefile examples/Makefile.gnu
# cp DEMO/Makefile DEMO/Makefile.gnu

make_uninstall:
-rm Makefile
-rm src/Makefile
# -rm tools/Makefile
-rm tools/Makefile
# -rm examples/Makefile
# -rm DEMO/Makefile

2 changes: 1 addition & 1 deletion Makefile.in

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Version
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
echo "0.23.0"
echo "0.24.0dev"

# When changing version number, remove src/version.h to regenerate it!
2 changes: 1 addition & 1 deletion src/phorward.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ typedef char pboolean;



#define LIBPHORWARD_VERSION "0.23.0"
#define LIBPHORWARD_VERSION "0.24.0dev"



Expand Down
2 changes: 1 addition & 1 deletion src/version.h
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#define LIBPHORWARD_VERSION "0.23.0"
#define LIBPHORWARD_VERSION "0.24.0dev"
10 changes: 1 addition & 9 deletions tools/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,19 +1,11 @@

bin_PROGRAMS = plex$(EXEEXT) pparse$(EXEEXT) pregex$(EXEEXT) pvm$(EXEEXT)
bin_PROGRAMS = plex$(EXEEXT) pregex$(EXEEXT)

plex_SOURCES = plex.c util.c
plex_LDADD = ../src/libphorward.la
plex_CFLAGS = -I$(top_srcdir)/src

pparse_SOURCES = pparse.c util.c
pparse_LDADD = ../src/libphorward.la
pparse_CFLAGS = -I$(top_srcdir)/src

pregex_SOURCES = pregex.c util.c
pregex_LDADD = ../src/libphorward.la
pregex_CFLAGS = -I$(top_srcdir)/src

pvm_SOURCES = pvm.c util.c
pvm_LDADD = ../src/libphorward.la
pvm_CFLAGS = -I$(top_srcdir)/src

17 changes: 2 additions & 15 deletions tools/Makefile.gnu
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,17 @@ CFLAGS += -g -DDEBUG -DUNICODE -DUTF8 -I../src
LIBPHORWARD = ../src/libphorward.a

PLEX = ../run/plex
PPARSE = ../run/pparse
PREGEX = ../run/pregex
PVM = ../run/pvm

all: $(PLEX) $(PPARSE) $(PREGEX) $(PVM)

clean:
-rm plex.o
-rm pparse.o
-rm pregex.o
-rm ppgram2c.o
-rm pvm.o
-rm util.o
-rm $(PLEX) $(PPARSE) $(PREGEX) $(PPGRAM2C) $(PVM)
-rm *.o
-rm $(PLEX) $(PREGEX)

$(PLEX): plex.o util.o $(LIBPHORWARD)
$(CC) -o $@ $+

$(PPARSE): pparse.o util.o $(LIBPHORWARD)
$(CC) -o $@ $+

$(PREGEX): pregex.o util.o $(LIBPHORWARD)
$(CC) -o $@ $+

$(PVM): pvm.o util.o $(LIBPHORWARD)
$(CC) -o $@ $+

108 changes: 5 additions & 103 deletions tools/Makefile.in

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 15fd13d

Please sign in to comment.