From 9f801a88222af6aa07102414ae0d203dfca3812a Mon Sep 17 00:00:00 2001 From: Pekka Enberg Date: Sun, 29 Aug 2010 13:35:20 +0300 Subject: [PATCH] uemacs: Remove garbage from the tree This patch removes bunch of ancient Makefiles and VMS scripts from uemacs source tree. If somebody really needs them, they can always look them up from git repository history. Signed-off-by: Pekka Enberg Signed-off-by: Linus Torvalds --- dosmake.bat | 2 - makefile.dos | 22 --------- makefile.unx | 121 -------------------------------------------------- makefilepatch | 61 ------------------------- vmslink.com | 29 ------------ vmsmake.com | 28 ------------ 6 files changed, 263 deletions(-) delete mode 100644 dosmake.bat delete mode 100644 makefile.dos delete mode 100644 makefile.unx delete mode 100644 makefilepatch delete mode 100644 vmslink.com delete mode 100644 vmsmake.com diff --git a/dosmake.bat b/dosmake.bat deleted file mode 100644 index 3956635..0000000 --- a/dosmake.bat +++ /dev/null @@ -1,2 +0,0 @@ -cl -AL -Ot -Gs -c *.c -link @emacs.lnk diff --git a/makefile.dos b/makefile.dos deleted file mode 100644 index ba9969a..0000000 --- a/makefile.dos +++ /dev/null @@ -1,22 +0,0 @@ -CFLAGS= -AL -ot -Gs - -OFILES= ansi.obj basic.obj bind.obj buffer.obj crypt.obj \ - display.obj eval.obj exec.obj file.obj fileio.obj \ - ibmpc.obj input.obj isearch.obj line.obj \ - lock.obj main.obj random.obj region.obj search.obj spawn.obj \ - tcap.obj termio.obj vmsvt.obj vt52.obj \ - window.obj word.obj pklock.obj - -CFILES= ansi.c basic.c bind.c buffer.c crypt.c \ - display.c eval.c exec.c file.c fileio.c \ - ibmpc.c input.c isearch.c line.c \ - lock.c main.c random.c region.c search.c spawn.c \ - tcap.c termio.c vmsvt.c vt52.c \ - window.c word.c pklock.c - -HFILES= estruct.h edef.h efunc.h epath.h ebind.h evar.h - -emacs.exe: $(OFILES) - link @emacso.lnk - -$(OFILES): $(HFILES) diff --git a/makefile.unx b/makefile.unx deleted file mode 100644 index 4c17816..0000000 --- a/makefile.unx +++ /dev/null @@ -1,121 +0,0 @@ -# -# makefile for uEmacs/PK 4.0 -# - -SRC=ansi.c basic.c bind.c buffer.c crypt.c display.c eval.c exec.c file.c \ - fileio.c ibmpc.c input.c isearch.c line.c lock.c main.c pklock.c \ - random.c region.c search.c spawn.c tcap.c termio.c vmsvt.c vt52.c \ - window.c word.c -OBJ=ansi.o basic.o bind.o buffer.o crypt.o display.o eval.o exec.o file.o \ - fileio.o ibmpc.o input.o isearch.o line.o lock.o main.o pklock.o \ - random.o region.o search.o spawn.o tcap.o termio.o vmsvt.o vt52.o \ - window.o word.o -HDR=ebind.h edef.h efunc.h epath.h estruct.h evar.h - -# DO NOT ADD OR MODIFY ANY LINES ABOVE THIS -- make source creates them - -CC=gcc -CFLAGS=-O -#CC=c89 +O3 # HP -#CFLAGS= -D_HPUX_SOURCE -DSYSV -#CFLAGS=-O4 # Sun -#CFLAGS=-O -qchars=signed # RS/6000 -DEFINES=-DAUTOCONF -LIBS=-ltermcap # BSD -#LIBS=-lcurses # SYSV -LFLAGS=-hbx -BINDIR=/usr/local/bin -LIBDIR=/usr/local/lib - -emacs: ${OBJ} - ${CC} ${DEFINES} -o emacs ${OBJ} ${LIBS} - -clean: - rm -f core lintout makeout tags makefile.bak *.o - -install: emacs - strip emacs - cp emacs ${BINDIR} - cp emacs.hlp ${LIBDIR} - cp emacs.rc ${LIBDIR}/.emacsrc - chmod 755 ${BINDIR}/emacs - chmod 644 ${LIBDIR}/emacs.hlp ${LIBDIR}/.emacsrc - -lint: ${SRC} - @rm -f lintout - lint ${LFLAGS} ${SRC} >lintout - cat lintout - -errs: - @rm -f makeout - make emacs >makeout - -tags: ${SRC} - @rm -f tags - ctags ${SRC} - -source: - @mv makefile makefile.bak - @echo "# makefile for emacs, updated `date`" >makefile - @echo '' >>makefile - @echo SRC=`ls *.c` >>makefile - @echo OBJ=`ls *.c | sed s/c$$/o/` >>makefile - @echo HDR=`ls *.h` >>makefile - @echo '' >>makefile - @sed -n -e '/^# DO NOT ADD OR MODIFY/,$$p' >makefile - -depend: ${SRC} - @for i in ${SRC}; do\ - cc ${DEFINES} -M $$i | sed -e 's, \./, ,' | grep -v '/usr/include' | \ - awk '{ if ($$1 != prev) { if (rec != "") print rec; \ - rec = $$0; prev = $$1; } \ - else { if (length(rec $$2) > 78) { print rec; rec = $$0; } \ - else rec = rec " " $$2 } } \ - END { print rec }'; done >makedep - @echo '/^# DO NOT DELETE THIS LINE/+2,$$d' >eddep - @echo '$$r ./makedep' >>eddep - @echo 'w' >>eddep - @cp makefile makefile.bak - @ed - makefile >makefile - @echo '# DEPENDENCIES MUST END AT END OF FILE' >>makefile - @echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >>makefile - @echo '# see make depend above' >>makefile - -.c.o: - ${CC} ${CFLAGS} ${DEFINES} -c $*.c - -# DO NOT DELETE THIS LINE -- make depend uses it - -ansi.o: ansi.c estruct.h edef.h -basic.o: basic.c estruct.h edef.h -bind.o: bind.c estruct.h edef.h epath.h -buffer.o: buffer.c estruct.h edef.h -crypt.o: crypt.c estruct.h edef.h -display.o: display.c estruct.h edef.h -eval.o: eval.c estruct.h edef.h evar.h -exec.o: exec.c estruct.h edef.h -file.o: file.c estruct.h edef.h -fileio.o: fileio.c estruct.h edef.h -ibmpc.o: ibmpc.c estruct.h edef.h -input.o: input.c estruct.h edef.h -isearch.o: isearch.c estruct.h edef.h -line.o: line.c estruct.h edef.h -lock.o: lock.c estruct.h edef.h -main.o: main.c estruct.h efunc.h edef.h ebind.h -pklock.o: pklock.c estruct.h -random.o: random.c estruct.h edef.h -region.o: region.c estruct.h edef.h -search.o: search.c estruct.h edef.h -spawn.o: spawn.c estruct.h edef.h -tcap.o: tcap.c estruct.h edef.h -termio.o: termio.c estruct.h edef.h -vmsvt.o: vmsvt.c estruct.h edef.h -vt52.o: vt52.c estruct.h edef.h -window.o: window.c estruct.h edef.h -word.o: word.c estruct.h edef.h - -# DEPENDENCIES MUST END AT END OF FILE -# IF YOU PUT STUFF HERE IT WILL GO AWAY -# see make depend above diff --git a/makefilepatch b/makefilepatch deleted file mode 100644 index afda676..0000000 --- a/makefilepatch +++ /dev/null @@ -1,61 +0,0 @@ -*************** -*** 1,29 **** -- # -- # makefile for uEmacs/PK 4.0 -- # - -- SRC=ansi.c basic.c bind.c buffer.c crypt.c display.c eval.c exec.c file.c \ -- fileio.c ibmpc.c input.c isearch.c line.c lock.c main.c pklock.c \ -- random.c region.c search.c spawn.c tcap.c termio.c vmsvt.c vt52.c \ -- window.c word.c -- OBJ=ansi.o basic.o bind.o buffer.o crypt.o display.o eval.o exec.o file.o \ -- fileio.o ibmpc.o input.o isearch.o line.o lock.o main.o pklock.o \ -- random.o region.o search.o spawn.o tcap.o termio.o vmsvt.o vt52.o \ -- window.o word.o - HDR=ebind.h edef.h efunc.h epath.h estruct.h evar.h - - # DO NOT ADD OR MODIFY ANY LINES ABOVE THIS -- make source creates them - -- CC=cc -- CFLAGS=-O - #CC=c89 +O3 # HP - #CFLAGS= -D_HPUX_SOURCE -DSYSV -- CFLAGS=-O4 -DSVR4 # Sun - #CFLAGS=-O -qchars=signed # RS/6000 -- DEFINES=-DAUTOCONF -- #LIBS=-ltermcap # BSD - #LIBS=-lcurses # SYSV -- LIBS=-ltermlib - LFLAGS=-hbx - BINDIR=/usr/local/bin - LIBDIR=/usr/local/lib ---- 1,29 ---- -+ # makefile for emacs, updated Sun Apr 28 17:59:07 EET DST 1996 -+ -+ SRC=ansi.c basic.c bind.c buffer.c crypt.c display.c eval.c exec.c \ -+ file.c fileio.c ibmpc.c input.c isearch.c line.c lock.c main.c \ -+ pklock.c posix.c random.c region.c search.c spawn.c tcap.c \ -+ termio.c vmsvt.c vt52.c window.c word.c -+ -+ OBJ=ansi.o basic.o bind.o buffer.o crypt.o display.o eval.o exec.o \ -+ file.o fileio.o ibmpc.o input.o isearch.o line.o lock.o main.o \ -+ pklock.o posix.o random.o region.o search.o spawn.o tcap.o \ -+ termio.o vmsvt.o vt52.o window.o word.o - - HDR=ebind.h edef.h efunc.h epath.h estruct.h evar.h - - # DO NOT ADD OR MODIFY ANY LINES ABOVE THIS -- make source creates them - -+ CC=gcc -+ CFLAGS=-O4 - #CC=c89 +O3 # HP - #CFLAGS= -D_HPUX_SOURCE -DSYSV -+ #CFLAGS=-O4 -DSVR4 # Sun - #CFLAGS=-O -qchars=signed # RS/6000 -+ DEFINES=-DAUTOCONF -DPOSIX -DUSG -+ LIBS=-ltermcap # BSD - #LIBS=-lcurses # SYSV -+ #LIBS=-ltermlib - LFLAGS=-hbx - BINDIR=/usr/local/bin - LIBDIR=/usr/local/lib diff --git a/vmslink.com b/vmslink.com deleted file mode 100644 index 1da8fa6..0000000 --- a/vmslink.com +++ /dev/null @@ -1,29 +0,0 @@ -$ define lnk$library sys$library:vaxcrtl -$ link /exec=emacs.exe - -ANSI.OBJ+ - -BASIC.OBJ+ - -BIND.OBJ+ - -BUFFER.OBJ+ - -CRYPT.OBJ+ - -DISPLAY.OBJ+ - -EVAL.OBJ+ - -EXEC.OBJ+ - -FILE.OBJ+ - -FILEIO.OBJ+ - -IBMPC.OBJ+ - -INPUT.OBJ+ - -ISEARCH.OBJ+ - -LINE.OBJ+ - -LOCK.OBJ+ - -MAIN.OBJ+ - -RANDOM.OBJ+ - -REGION.OBJ+ - -SEARCH.OBJ+ - -SPAWN.OBJ+ - -TCAP.OBJ+ - -TERMIO.OBJ+ - -VMSVT.OBJ+ - -VT52.OBJ+ - -WINDOW.OBJ+ - -WORD.OBJ+ - -PKLOCK.OBJ diff --git a/vmsmake.com b/vmsmake.com deleted file mode 100644 index e07a087..0000000 --- a/vmsmake.com +++ /dev/null @@ -1,28 +0,0 @@ -$ cc /define=(AUTOCONF) ANSI.c -$ cc /define=(AUTOCONF) BASIC.c -$ cc /define=(AUTOCONF) BIND.c -$ cc /define=(AUTOCONF) BUFFER.c -$ cc /define=(AUTOCONF) CRYPT.c -$ cc /define=(AUTOCONF) DISPLAY.c -$ cc /define=(AUTOCONF) EVAL.c -$ cc /define=(AUTOCONF) EXEC.c -$ cc /define=(AUTOCONF) FILE.c -$ cc /define=(AUTOCONF) FILEIO.c -$ cc /define=(AUTOCONF) IBMPC.c -$ cc /define=(AUTOCONF) INPUT.c -$ cc /define=(AUTOCONF) ISEARCH.c -$ cc /define=(AUTOCONF) LINE.c -$ cc /define=(AUTOCONF) LOCK.c -$ cc /define=(AUTOCONF) MAIN.c -$ cc /define=(AUTOCONF) RANDOM.c -$ cc /define=(AUTOCONF) REGION.c -$ cc /define=(AUTOCONF) SEARCH.c -$ cc /define=(AUTOCONF) SPAWN.c -$ cc /define=(AUTOCONF) TCAP.c -$ cc /define=(AUTOCONF) TERMIO.c -$ cc /define=(AUTOCONF) VMSVT.c -$ cc /define=(AUTOCONF) VT52.c -$ cc /define=(AUTOCONF) WINDOW.c -$ cc /define=(AUTOCONF) WORD.c -$ cc /define=(AUTOCONF) PKLOCK.c -$ @vmslink