aboutsummaryrefslogtreecommitdiffstats
path: root/wlp/Makefile.C
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2015-01-05 09:03:05 +0100
committerMatěj Cepl <mcepl@cepl.eu>2015-01-05 12:59:40 +0100
commitd17b009ffec3077bf8db6e6902a7456ec90e9c38 (patch)
tree2a5ee305bd8c8a39faf7c2db342d399c689ae432 /wlp/Makefile.C
parenta9e311030533ac6c175e2289e8928e4aae98b6c3 (diff)
downloadpyg-d17b009ffec3077bf8db6e6902a7456ec90e9c38.tar.gz
First draft of the pure Python parser done, we should be noarch.
Fixes #2
Diffstat (limited to 'wlp/Makefile.C')
-rw-r--r--wlp/Makefile.C61
1 files changed, 0 insertions, 61 deletions
diff --git a/wlp/Makefile.C b/wlp/Makefile.C
deleted file mode 100644
index 0c962e6..0000000
--- a/wlp/Makefile.C
+++ /dev/null
@@ -1,61 +0,0 @@
-DESTDIR=
-LIBDIR=/usr/lib64
-BINDIR=/usr/bin
-PYGLIBDIR=$(DESTDIR)/$(LIBDIR)/pyg
-PYGBINDIR=$(DESTDIR)/$(BINDIR)
-
-CC=gcc
-AR=ar
-FLEX=flex
-YACC=bison
-
-CCOPTS=-Wall -ansi
-CCSHARED=-fPIC
-AROPTS=-rs
-FLEXOPTS=
-YACCOPTS=-d
-
-#CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
-CPPFLAGS:=
-# Add more -I and -D options here
-## CFLAGS=$(OPT) -I$(INCLUDEPY) -I$(EXECINCLUDEPY) $(DEFS) $(shell dpkg-buildflags --get CFLAGS)
-OPTFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4
-OPTFLAGS+=-grecord-gcc-switches -m64 -mtune=generic
-CFLAGS=$(OPTFLAGS)
-CXXFLAGS:=$(OPTFLAGS)
-OPTLDFLAGS=-Wl,-z,relro
-#LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
-LDFLAGS:=$(OPTLDFLAGS)
-
-SRCDIR=.
-BINDIR=.
-
-OBJFILE=structs.o commands.tab.o lex.yy.o
-
-all: archive bin
-
-# archive file for python module
-archive: structs bison flex macro.h structs.h commands.tab.h
- mkdir -p $(PYGLIBDIR)
- $(AR) $(AROPTS) $(PYGLIBDIR)/wlp.a $(OBJFILE)
-
-# binary (executable) file for testing
-executable: bin
-
-bin: structs bison flex macro.h structs.h commands.tab.h
- $(CC) $(CCSHARED) $(CCOPTS) $(OBJFILE) \
- yytest.c $(PYGLIBDIR)/libfl.a -o ./yytest
-
-flex:
- $(FLEX) $(FLEXOPTS) commands.l
- $(CC) $(CCSHARED) -c lex.yy.c -o lex.yy.o
-
-bison:
- $(YACC) $(YACCOPTS) -d commands.y -b commands
- $(CC) $(CCSHARED) -c commands.tab.c -o commands.tab.o
-
-structs:
- $(CC) $(CCSHARED) $(CCOPTS) -c structs.c -o structs.o
-
-clean:
- rm -f $(OBJFILE) lex.yy.c commands.tab.h commands.tab.c wlp.a yytest