summaryrefslogtreecommitdiff
path: root/usr.bin/pcc/cc
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2007-09-15 21:42:09 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2007-09-15 21:42:09 +0000
commit4401f1296736cb22b591548a4e2c7b8749af99ee (patch)
treec4ffae8266b5a813c8d18494af65a3b4daf8af9f /usr.bin/pcc/cc
parentc81969905f379bbab7dd4c8fa511b0d246b34767 (diff)
more files we do not need anymore
Diffstat (limited to 'usr.bin/pcc/cc')
-rw-r--r--usr.bin/pcc/cc/Makefile.in38
-rw-r--r--usr.bin/pcc/cc/cc/Makefile.in44
-rw-r--r--usr.bin/pcc/cc/ccom/Makefile.in107
-rw-r--r--usr.bin/pcc/cc/cpp/Makefile.in79
4 files changed, 0 insertions, 268 deletions
diff --git a/usr.bin/pcc/cc/Makefile.in b/usr.bin/pcc/cc/Makefile.in
deleted file mode 100644
index f457e761f53..00000000000
--- a/usr.bin/pcc/cc/Makefile.in
+++ /dev/null
@@ -1,38 +0,0 @@
-# $Id: Makefile.in,v 1.1 2007/09/15 18:12:31 otto Exp $
-#
-# Makefile.in for top-level of pcc.
-#
-
-@SET_MAKE@
-CC=@CC@
-CFLAGS=@CFLAGS@
-LDFLAGS=@LDFLAGS@
-CPPFLAGS=@CPPFLAGS@
-YACC=@YACC@
-LEX=@LEX@
-
-SUBDIR=cc cpp ccom
-
-all: ${SUBDIR}
-
-install:
- cd cc && ${MAKE} install
- cd cpp && ${MAKE} install
- cd ccom && ${MAKE} install
-
-clean:
- cd cc && ${MAKE} clean
- cd cpp && ${MAKE} clean
- cd ccom && ${MAKE} clean
-
-distclean:
- cd cc && ${MAKE} distclean
- cd cpp && ${MAKE} distclean
- cd ccom && ${MAKE} distclean
- /bin/rm -rf Makefile config.log stamp-h1 config.status \
- configure.lineno config.h autom4te.cache
-
-${SUBDIR}: nonexistant
- cd $@; $(MAKE) all $(MFLAGS)
-
-nonexistant:
diff --git a/usr.bin/pcc/cc/cc/Makefile.in b/usr.bin/pcc/cc/cc/Makefile.in
deleted file mode 100644
index 11efe29fbbb..00000000000
--- a/usr.bin/pcc/cc/cc/Makefile.in
+++ /dev/null
@@ -1,44 +0,0 @@
-# $Id: Makefile.in,v 1.1 2007/09/15 18:12:31 otto Exp $
-#
-# Makefile.in for the cc part of pcc.
-#
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-bindir = @bindir@
-libexecdir = @libexecdir@
-includedir = @includedir@
-strip = @strip@
-CC = @CC@
-TARGOS = @targos@
-TARGMACH = @targmach@
-CFLAGS = @CFLAGS@ -DLIBEXECDIR=\"${libexecdir}\" -DINCLUDEDIR=\"${includedir}\"
-CPPFLAGS = @CPPFLAGS@ -I../../os/${TARGOS} -Dmach_${TARGMACH} -Dos_${TARGOS}
-LIBS = @LIBS@
-LDFLAGS = @LDFLAGS@
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-
-OBJS=cc.o
-DEST=pcc
-
-all: ${DEST}
-
-${DEST}: $(OBJS)
- $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o $@
-
-.c.o:
- $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) -c $<
-
-install:
- test -z "${DESTDIR}$(bindir)" || mkdir -p "${DESTDIR}$(bindir)"
- ${INSTALL_PROGRAM} ${DEST} ${DESTDIR}${bindir}
- @if [ ${strip} = yes ]; then \
- strip ${DESTDIR}${bindir}/${DEST} ; \
- echo strip ${DESTDIR}${bindir}/${DEST} ; \
- fi
-
-clean:
- /bin/rm -f $(OBJS) ${DEST}
-
-distclean: clean
- /bin/rm -f Makefile
diff --git a/usr.bin/pcc/cc/ccom/Makefile.in b/usr.bin/pcc/cc/ccom/Makefile.in
deleted file mode 100644
index 0cc29c5a565..00000000000
--- a/usr.bin/pcc/cc/ccom/Makefile.in
+++ /dev/null
@@ -1,107 +0,0 @@
-# $Id: Makefile.in,v 1.1 2007/09/15 18:12:32 otto Exp $
-#
-# Makefile.in for ccom
-#
-XFL=-DPCC_DEBUG -DGCC_COMPAT \
- -Wall -Wmissing-prototypes -Wstrict-prototypes -Werror
-
-CC = @CC@
-CFLAGS = @CFLAGS@ $(XFL) -I. -I${MIPDIR} -I$(MDIR) -Dmach_${TARGMACH} \
- -I../../os/${TARGOS}
-CPPFLAGS = @CPPFLAGS@
-LIBS = @LIBS@
-LDFLAGS = @LDFLAGS@
-LEX = @LEX@
-YACC = @YACC@
-TARGOS = @targos@
-TARGMACH = @targmach@
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-libexecdir = @libexecdir@
-strip = @strip@
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-
-MDIR=../../arch/$(TARGMACH)
-MIPDIR=../../mip
-
-OBJS1=optim.o pftn.o scan.o trees.o cgram.o inline.o symtabs.o \
- gcc_compat.o init.o local.o code.o stabs.o
-
-OBJS2=match.o reader.o optim2.o regs.o local2.o order.o table.o
-
-OBJS=$(OBJS1) $(OBJS2) common.o main.o external.o
-
-DEST=ccom
-
-all: ${DEST}
-
-${DEST}: $(OBJS)
- $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o $@
-
-.c.o:
- $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<
-
-local.o: $(MDIR)/local.c
- $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) -c -o $@ $(MDIR)/local.c
-
-local2.o: $(MDIR)/local2.c
- $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) -c -o $@ $(MDIR)/local2.c
-
-code.o: $(MDIR)/code.c
- $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) -c -o $@ $(MDIR)/code.c
-
-order.o: $(MDIR)/order.c
- $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) -c -o $@ $(MDIR)/order.c
-
-table.o: $(MDIR)/table.c
- $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) -c -o $@ $(MDIR)/table.c
-
-match.o: $(MIPDIR)/match.c
- $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) -c -o $@ $(MIPDIR)/match.c
-
-reader.o: $(MIPDIR)/reader.c
- $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) -c -o $@ $(MIPDIR)/reader.c
-
-optim2.o: $(MIPDIR)/optim2.c
- $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) -c -o $@ $(MIPDIR)/optim2.c
-
-regs.o: $(MIPDIR)/regs.c
- $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) -c -o $@ $(MIPDIR)/regs.c
-
-common.o: $(MIPDIR)/common.c
- $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) -c -o $@ $(MIPDIR)/common.c
-
-external.h external.c: ${MIPDIR}/mkext.c $(MDIR)/table.c
- $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) -DMKEXT -o mkext ${MIPDIR}/mkext.c \
- $(MDIR)/table.c ${MIPDIR}/common.c
- ./mkext
-
-trees.c: pass2.h
-
-pass2.h: external.h
-
-cgram.c: cgram.y
- $(YACC) $(YFLAGS) -d $<
- mv y.tab.c cgram.c
- mv y.tab.h cgram.h
-
-scan.c: scan.l cgram.c
- $(LEX) $(LFLAGS) $<
- mv lex.yy.c scan.c
-
-optim2.o reader.o: external.h
-
-install:
- test -z "${DESTDIR}$(libexecdir)" || mkdir -p "${DESTDIR}$(libexecdir)"
- ${INSTALL_PROGRAM} ${DEST} ${DESTDIR}${libexecdir}
- @if [ ${strip} = yes ]; then \
- strip ${DESTDIR}${libexecdir}/${DEST} ; \
- echo strip ${DESTDIR}${libexecdir}/${DEST} ; \
- fi
-
-clean:
- /bin/rm -f $(OBJS) ccom scan.c cgram.[ch] mkext external.[ch]
-
-distclean: clean
- /bin/rm -f Makefile
diff --git a/usr.bin/pcc/cc/cpp/Makefile.in b/usr.bin/pcc/cc/cpp/Makefile.in
deleted file mode 100644
index c293478a71a..00000000000
--- a/usr.bin/pcc/cc/cpp/Makefile.in
+++ /dev/null
@@ -1,79 +0,0 @@
-# $Id: Makefile.in,v 1.1 2007/09/15 18:12:32 otto Exp $
-#
-# Makefile.in for cpp
-#
-XFL=-DCPP_DEBUG -Wall -Wmissing-prototypes -Wstrict-prototypes -Werror
-
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-bindir = @bindir@
-libexecdir = @libexecdir@
-strip = @strip@
-CC = @CC@
-CFLAGS = @CFLAGS@ $(XFL)
-CPPFLAGS = @CPPFLAGS@
-LIBS = @LIBS@
-LDFLAGS = @LDFLAGS@
-LEX = @LEX@
-YACC = @YACC@
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-
-OBJS=cpp.o cpy.o scanner.o
-HEADERS=cpp.h
-DEST=cpp
-
-all: ${DEST}
-
-${DEST}: $(OBJS) $(HEADERS)
- $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o $@
-
-.c.o:
- $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) -c $<
-
-.l.o:
- $(LEX) $(LFLAGS) $<
- $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) -c -o $@ lex.yy.c
-
-.y.o:
- $(YACC) -d $(YFLAGS) $<
- $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) -c -o $@ y.tab.c
-
-$(OBJS): $(HEADERS)
-
-cpp.o: cpy.o
-
-test:
- ./cpp < tests/test1 > tests/run1
- cmp tests/run1 tests/res1
- ./cpp < tests/test2 > tests/run2
- cmp tests/run2 tests/res2
- ./cpp < tests/test3 > tests/run3
- cmp tests/run3 tests/res3
- ./cpp < tests/test4 > tests/run4
- cmp tests/run4 tests/res4
- ./cpp < tests/test5 > tests/run5
- cmp tests/run5 tests/res5
- ./cpp < tests/test6 > tests/run6
- cmp tests/run6 tests/res6
- ./cpp < tests/test7 > tests/run7
- cmp tests/run7 tests/res7
- ./cpp < tests/test8 > tests/run8
- cmp tests/run8 tests/res8
- ./cpp < tests/test9 > tests/run9
- cmp tests/run9 tests/res9
-
-
-install:
- test -z "${DESTDIR}$(libexecdir)" || mkdir -p "${DESTDIR}$(libexecdir)"
- ${INSTALL_PROGRAM} ${DEST} ${DESTDIR}${libexecdir}
- @if [ ${strip} = yes ]; then \
- strip ${DESTDIR}${libexecdir}/${DEST} ; \
- echo strip ${DESTDIR}${libexecdir}/${DEST} ; \
- fi
-
-clean:
- /bin/rm -f $(OBJS) cpp lex.yy.c y.tab.[ch] tests/run*
-
-distclean: clean
- /bin/rm -f Makefile