mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
d5ae87d0fa
Hope i got it right this time...
223 lines
5.1 KiB
Plaintext
223 lines
5.1 KiB
Plaintext
diff -c -N ../cpm.orig/Makefile.inc ./Makefile.inc
|
|
*** ../cpm.orig/Makefile.inc Thu Jan 1 01:00:00 1970
|
|
--- ./Makefile.inc Mon Dec 26 10:17:54 1994
|
|
***************
|
|
*** 0 ****
|
|
--- 1 ----
|
|
+ PREFIX ?= /usr/local
|
|
diff -c -r ../cpm.orig/Makefile ./Makefile
|
|
*** ../cpm.orig/Makefile Wed Jul 27 19:10:43 1983
|
|
--- ./Makefile Mon Dec 26 09:55:13 1994
|
|
***************
|
|
*** 1,13 ****
|
|
! # Makefile 4.2 83/07/27
|
|
! #
|
|
! DESTDIR=
|
|
|
|
! all:
|
|
! cd src; make ${MFLAGS}
|
|
!
|
|
! install: all
|
|
! cd src; make ${MFLAGS} DESTDIR=${DESTDIR} install
|
|
! cd man; make ${MFLAGS} DESTDIR=${DESTDIR} install
|
|
!
|
|
! clean:
|
|
! cd src; make ${MFLAGS} clean
|
|
--- 1,3 ----
|
|
! SUBDIR = src man
|
|
|
|
! .include <bsd.subdir.mk>
|
|
Only in .: Makefile.inc
|
|
diff -c -r ../cpm.orig/man/Makefile ./man/Makefile
|
|
*** ../cpm.orig/man/Makefile Sat May 28 12:56:44 1994
|
|
--- ./man/Makefile Mon Dec 26 10:00:13 1994
|
|
***************
|
|
*** 1,11 ****
|
|
! all:;
|
|
|
|
- #MANEXT=n
|
|
- MANEXT=1
|
|
- #MANDIR=/usr/man/man${MANEXT}
|
|
- MANDIR=/usr/local/man/man${MANEXT}
|
|
|
|
! install:
|
|
! cp cpm.1 ${DESTDIR}/${MANDIR}/cpm.${MANEXT}
|
|
|
|
! clean:;
|
|
--- 1,14 ----
|
|
! .include "${.CURDIR}/../Makefile.inc"
|
|
|
|
|
|
! MANDIR = ${PREFIX}/man/man
|
|
|
|
! MAN1 = cpm.1
|
|
!
|
|
! NOMANCOMPRESS = This will go into a .tgz archive, don't compress it!
|
|
!
|
|
! install: maninstall
|
|
!
|
|
! clean all depend:
|
|
!
|
|
! .include <bsd.man.mk>
|
|
diff -c -r ../cpm.orig/src/Makefile ./src/Makefile
|
|
*** ../cpm.orig/src/Makefile Sat May 28 09:10:55 1994
|
|
--- ./src/Makefile Mon Dec 26 09:57:07 1994
|
|
***************
|
|
*** 1,128 ****
|
|
! #
|
|
! # Makefile 1.8 83/07/27
|
|
! #
|
|
! DEST = /usr/local/bin
|
|
! DFLAG = -g -O2
|
|
|
|
! HELPFILE = cpm.hlp
|
|
! HELPFILEDIR = /usr/local/lib
|
|
!
|
|
! # CFLAGS = -O -DVAX ${DFLAG}
|
|
! CFLAGS = ${DFLAG} -DHELPFILE=\"$(HELPFILEDIR)/$(HELPFILE)\" # -DDEBUG
|
|
|
|
! EXTHDRS = /usr/include/ctype.h \
|
|
! /usr/include/stdio.h
|
|
!
|
|
! HDRS = command.h \
|
|
! cpmfio.h \
|
|
! cpmio.h
|
|
!
|
|
! LDFLAGS =
|
|
!
|
|
! LIBLIST =
|
|
!
|
|
! LIST = ls -C
|
|
!
|
|
! LOADER = cc
|
|
!
|
|
! MAKEFILE = Makefile
|
|
!
|
|
! OBJS = bitmap.o \
|
|
! blockio.o \
|
|
! cclose.o \
|
|
! ccreat.o \
|
|
! cfillbuf.o \
|
|
! cflsbuf.o \
|
|
! cmdhdl.o \
|
|
! copen.o \
|
|
! copy.o \
|
|
! cpm.o \
|
|
! delete.o \
|
|
! dirhdl.o \
|
|
! extent.o \
|
|
! ffc.o \
|
|
! gensktab.o \
|
|
! hexdmp.o \
|
|
! interact.o \
|
|
! physio.o \
|
|
! pip.o \
|
|
! rename.o
|
|
!
|
|
! PRINT = pr
|
|
!
|
|
! PROGRAM = cpm
|
|
!
|
|
! SRCS = bitmap.c \
|
|
! blockio.c \
|
|
! cclose.c \
|
|
! ccreat.c \
|
|
! cfillbuf.c \
|
|
! cflsbuf.c \
|
|
! cmdhdl.c \
|
|
! copen.c \
|
|
! copy.c \
|
|
! cpm.c \
|
|
! delete.c \
|
|
! dirhdl.c \
|
|
! extent.c \
|
|
! ffc.c \
|
|
! gensktab.c \
|
|
! hexdmp.c \
|
|
! interact.c \
|
|
! physio.c \
|
|
! pip.c \
|
|
! rename.c
|
|
!
|
|
! $(PROGRAM): $(OBJS) $(LIBLIST)
|
|
! @echo -n "Loading $(PROGRAM) ... "
|
|
! @$(LOADER) $(LDFLAGS) $(OBJS) $(LIBLIST) -o $(PROGRAM)
|
|
! @echo "done"
|
|
!
|
|
! debug:; @echo DFLAG = -g -DDEBUG > Makefile.tmp00
|
|
! @cat makefile >>Makefile.tmp00
|
|
! @make -f Makefile.tmp00
|
|
! @rm -f Makefile.tmp00
|
|
!
|
|
! clean:; @rm -f $(OBJS)
|
|
!
|
|
! install: $(PROGRAM)
|
|
! @echo Installing $(PROGRAM) in $(DEST)
|
|
! @install -s $(PROGRAM) $(DEST)
|
|
! @cp $(HELPFILE) $(HELPFILEDIR)
|
|
!
|
|
! depend:; @mkmf PROGRAM=$(PROGRAM) DEST=$(DEST)
|
|
!
|
|
! index:; @ctags -wx $(HDRS) $(SRCS)
|
|
!
|
|
! print:; @$(PRINT) $(HDRS) $(SRCS)
|
|
!
|
|
! program: $(PROGRAM)
|
|
!
|
|
! strip:; @strip $(PROGRAM)
|
|
!
|
|
! tags: $(SRCS); @ctags $(SRCS)
|
|
!
|
|
! update: $(DEST)/$(PROGRAM)
|
|
!
|
|
! $(DEST)/$(PROGRAM): $(SRCS) $(LIBLIST)
|
|
! @make -f $(MAKEFILE) DEST=$(DEST) install
|
|
! ###
|
|
! bitmap.o: /usr/include/stdio.h cpmio.h
|
|
! blockio.o: /usr/include/stdio.h cpmio.h
|
|
! cclose.o: /usr/include/stdio.h cpmio.h cpmfio.h
|
|
! ccreat.o: /usr/include/stdio.h cpmio.h cpmfio.h
|
|
! cfillbuf.o: /usr/include/stdio.h cpmio.h cpmfio.h
|
|
! cflsbuf.o: /usr/include/stdio.h cpmio.h cpmfio.h
|
|
! cmdhdl.o: /usr/include/ctype.h /usr/include/stdio.h cpmio.h
|
|
! copen.o: /usr/include/stdio.h cpmio.h cpmfio.h
|
|
! copy.o: /usr/include/stdio.h cpmio.h cpmfio.h
|
|
! cpm.o: /usr/include/stdio.h cpmio.h cpmfio.h
|
|
! delete.o: /usr/include/stdio.h cpmio.h cpmfio.h
|
|
! dirhdl.o: /usr/include/stdio.h cpmio.h
|
|
! extent.o: /usr/include/stdio.h cpmio.h cpmfio.h
|
|
! gensktab.o: /usr/include/stdio.h cpmio.h
|
|
! hexdmp.o: /usr/include/stdio.h cpmio.h cpmfio.h
|
|
! interact.o: /usr/include/stdio.h command.h
|
|
! physio.o: /usr/include/stdio.h cpmio.h
|
|
! pip.o: /usr/include/stdio.h cpmio.h cpmfio.h
|
|
! rename.o: /usr/include/stdio.h cpmio.h cpmfio.h
|
|
--- 1,27 ----
|
|
! # include path for man page
|
|
|
|
! .include "${.CURDIR}/../Makefile.inc"
|
|
|
|
! HELPFILE = cpm.hlp
|
|
! HELPFILEDIR = ${PREFIX}/lib
|
|
! BINDIR = ${PREFIX}/bin
|
|
! FILEMODE = 444
|
|
!
|
|
! CFLAGS += -DHELPFILE=\"${HELPFILEDIR}/${HELPFILE}\"
|
|
! #CLFAGS += -DDEBUG
|
|
!
|
|
! PROG = cpm
|
|
! NOMAN = look at ${.CURDIR}/../man
|
|
!
|
|
! SRCS = bitmap.c blockio.c cclose.c ccreat.c cfillbuf.c \
|
|
! cflsbuf.c cmdhdl.c copen.c copy.c cpm.c delete.c \
|
|
! dirhdl.c extent.c ffc.c gensktab.c hexdmp.c interact.c \
|
|
! physio.c pip.c rename.c
|
|
!
|
|
!
|
|
! install:
|
|
! ${INSTALL} -c -m ${FILEMODE} -o ${BINOWN} -g ${BINGRP} \
|
|
! ${.CURDIR}/${HELPFILE} ${HELPFILEDIR}
|
|
! ${INSTALL} -c -m ${BINMODE} -o ${BINOWN} -g ${BINGRP} \
|
|
! ${PROG} ${BINDIR}
|
|
! .include <bsd.prog.mk>
|