BSD 4_4_Lite1 development
authorCSRG <csrg@ucbvax.Berkeley.EDU>
Sat, 25 Jul 1987 07:00:56 +0000 (23:00 -0800)
committerCSRG <csrg@ucbvax.Berkeley.EDU>
Sat, 25 Jul 1987 07:00:56 +0000 (23:00 -0800)
Work on file usr/src/contrib/dipress/Makefile

Synthesized-from: CSRG/cd2/4.4BSD-Lite1

usr/src/contrib/dipress/Makefile [new file with mode: 0644]

diff --git a/usr/src/contrib/dipress/Makefile b/usr/src/contrib/dipress/Makefile
new file mode 100644 (file)
index 0000000..fbd272b
--- /dev/null
@@ -0,0 +1,70 @@
+#
+# Copyright (c) 1984, 1985, 1986 Xerox Corp.
+#
+#
+#  You might want to change the following defines:
+#      TITROFFBINARY   the location of your typesetter-independent troff
+#      DESTBIN         where the executable files should go
+#      DESTINCLUDE     where the ".h" files go
+#      DESTMAN         where the manual pages go
+
+TITROFFBINARY = /usr/local/bin/titroff
+DESTBIN = /usr/new
+DESTINCLUDE = /usr/new/include
+DESTLIB = /usr/new/lib
+DESTMAN = /usr/man/mann
+
+# the following is still experimental
+DESTMACHINES = r-wing
+
+#
+# END of user tunable paramters
+#-------------------------------------------------------------
+
+#  targets:
+#      all             - recompile and link everything
+#      install         - copy include files, libraries, fonts and executables
+#                        to correct destination 
+#      rdist           - copy installed files to other machines running 4.3bsd
+#
+
+# set up for recursive makes
+MFLAGS = DESTBIN=${DESTBIN} DESTINCLUDE=${DESTINCLUDE} DESTLIB=${DESTLIB} \
+       DESTMACHINES=${DESTMACHINES} DESTMAN=${DESTMAN} \
+       TITROFFBINARY=${TITROFFBINARY}
+CFLAGS=        -O
+
+# Programs that live in subdirectories, and have makefiles of their own.
+#
+# order is important on the next line!
+SUBDIR=        src conf
+LINTDIR= src
+INSTALLDIR= include bin lib man/mann
+CLEANDIR= doc src conf bin lib
+
+
+all:
+       for i in ${SUBDIR}; do \
+               (cd $$i; make install); done
+
+lint:
+       for i in ${LINTDIR}; do \
+               (cd $$i; make lint); done
+
+# install assumes that a previous "make all" has been done
+
+install:
+       for i in ${INSTALLDIR}; do \
+               (cd $$i; make ${MFLAGS} install); done
+
+# rdist assumes that a previous "make install" has been done
+
+rdist:
+       for i in ${INSTALLDIR}; do \
+               (cd $$i; make ${MFLAGS} rdist); done
+
+clean:
+       rm -f a.out core *.s *.o
+       for i in ${CLEANDIR}; do \
+               (cd $$i; make ${MFLAGS} clean); done
+       @echo "clean-up complete"