home *** CD-ROM | disk | FTP | other *** search
Makefile | 1994-07-16 | 4.2 KB | 140 lines |
- # Makefile for fileutils (MS-DOS)
- # Copyright (C) 1986, 1988, 1989 Free Software Foundation, Inc.
-
- # This program is free software; you can redistribute it and/or modify
- # it under the terms of the GNU General Public License as published by
- # the Free Software Foundation; either version 1, or (at your option)
- # any later version.
-
- # This program is distributed in the hope that it will be useful,
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- # GNU General Public License for more details.
-
- # You should have received a copy of the GNU General Public License
- # along with this program; if not, write to the Free Software
- # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
- # MS-DOS port (c) 1990 by Thorsten Ohl, ohl@gnu.ai.mit.edu
- # This port is also distributed under the terms of the
- # GNU General Public License as published by the
- # Free Software Foundation.
-
- # Please note that this file is not identical to the
- # original GNU release, you should have received this
- # code as patch to the official release.
-
- # $Header: e:/gnu/fileutil/RCS/makefile 1.4.0.3 90/09/19 13:27:14 tho Exp $
-
-
- TKERN=C:\SRC\TKERN
- .obj.exe:
- tlink /v /c /C /s /n /Twe /L$(TKERN)\LIB;\bc4\lib @&&!
- c0wl.obj $**,$*.exe,,gnuish tklib tkern cwl import,$*.def
- !
-
- .c.exe:
- bcc -c $*.c
- tlink /v /c /C /s /n /Twe /L$(TKERN)\LIB;\bc4\lib @&&!
- c0wl.obj $*.obj,$*.exe,,gnuish tklib tkern cwl import,$*.def
- !
-
- .c.i:
- cpp $*.c
-
- INSTALL = cp -v
- DISK = b:
- ZIPFILE = fileutil.zip
-
- MODEL = S
- model = s
-
- # The defines and CFLAGS are in turboc.cfg
-
- DEFINES =
- CFLAGS = $(DEFINES)
-
- .AUTODEPEND
-
- # These are designed to give < 100k .tar.Z.uue files.
-
- CMDS1 = cat.exe chmod.exe cmp.exe cp.exe
- CMDS2 = cut.exe dd.exe head.exe
- CMDS3 = ls.exe mkdir.exe mv.exe paste.exe
- CMDS4 = rm.exe rmdir.exe tac.exe
- CMDS5 = tail.exe touch.exe
-
- CMDS = $(CMDS1) $(CMDS2) $(CMDS3) $(CMDS4) $(CMDS5)
-
- # Sources
-
- SRCS = argmatch.c backupfi.c cat.c chmod.c cmp.c cp-aux.c cp.c cut.c \
- dd.c eaccess.c filebloc.c filemode.c getversi.c head.c ls.c \
- mkdir.c modechan.c mv.c paste.c rm.c rmdir.c savedir.c tac.c \
- tail.c touch.c getdate.y posixtim.y
- INCS = backupfi.h cp.h modechan.h system.h
-
- UNUSED = cp-hash.c dirlib.c du.c error.c getopt.c getopt.h getopt1.c \
- globmat.c install.c ln.c mkfifo.c mktime.c mvdir.c regex.c regex.h
-
- DOCS = fileutil.pl
- MPAGES = gcat.1 gchmod.1 gcmp.1 gcp.1 gcut.1 gdd.1 gdu.1 ghead.1 \
- ginstall.1 gln.1 gls.1 gmkdir.1 gmkfifo.1 gmv.1 gpaste.1 \
- grm.1 grmdir.1 gtac.1 gtail.1 gtouch.1
-
- # Version of fileutils release
-
- VERSION = 1.4
-
- # Targets
-
- all: $(CMDS)
-
- chmod.exe: chmod.obj filemode.obj modechan.obj savedir.obj
- tlink /v /c /C /s /n /Twe /L$(TKERN)\LIB;\bc4\lib @&&!
- c0wl.obj $**,$*.exe,,gnuish tklib tkern cwl import,$*.def
- !
-
- cp.exe: cp.obj argmatch.obj backupfi.obj cp-aux.obj eaccess.obj getversi.obj \
- savedir.obj
- tlink /v /c /C /s /n /Twe /L$(TKERN)\LIB;\bc4\lib @&&!
- c0wl.obj $**,$*.exe,,gnuish tklib tkern cwl import,$*.def
- !
-
- dir.exe: argmatch.obj filebloc.obj filemode.obj
- tlink /v /c /C /s /n /Twe /L$(TKERN)\LIB;\bc4\lib @&&!
- c0wl.obj $**,$*.exe,,gnuish tklib tkern cwl import,$*.def
- !
-
- ls.exe: ls.obj argmatch.obj filebloc.obj filemode.obj
- tlink /v /c /C /s /n /Twe /L$(TKERN)\LIB;\bc4\lib @&&!
- c0wl.obj $**,$*.exe,,gnuish tklib tkern cwl import,$*.def
- !
-
- vdir.exe: argmatch.obj filebloc.obj filemode.obj
- tlink /v /c /C /s /n /Twe /L$(TKERN)\LIB;\bc4\lib @&&!
- c0wl.obj $**,$*.exe,,gnuish tklib tkern cwl import,$*.def
- !
-
- mkdir.exe: mkdir.obj modechan.obj
- tlink /v /c /C /s /n /Twe /L$(TKERN)\LIB;\bc4\lib @&&!
- c0wl.obj $**,$*.exe,,gnuish tklib tkern cwl import,$*.def
- !
-
- mv.exe: mv.obj argmatch.obj backupfi.obj getversi.obj
- tlink /v /c /C /s /n /Twe /L$(TKERN)\LIB;\bc4\lib @&&!
- c0wl.obj $**,$*.exe,,gnuish tklib tkern cwl import,$*.def
- !
-
- rm.exe: rm.obj eaccess.obj
- tlink /v /c /C /s /n /Twe /L$(TKERN)\LIB;\bc4\lib @&&!
- c0wl.obj $**,$*.exe,,gnuish tklib tkern cwl import,$*.def
- !
-
- touch.exe: touch.obj argmatch.obj getdate.obj posixtim.obj
- tlink /v /c /C /s /n /Twe /L$(TKERN)\LIB;\bc4\lib @&&!
- c0wl.obj $**,$*.exe,,gnuish tklib tkern cwl import,$*.def
- !
-
-