-
Notifications
You must be signed in to change notification settings - Fork 6
/
Makefile.old
37 lines (31 loc) · 972 Bytes
/
Makefile.old
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
STARLETDIR=~/basic/starlet
#REMOTE=
#REMOTE=-DREMOTE # -DREMOTE use remote tape
CFLAGS= $(REMOTE) -g -I $(STARLETDIR)
#LFLAGS=
#LIBS= -lrmt
#OWNER=tar # user for remote tape access
#MODE=4755
#BINDIR=/usr/local/bin
#MANSEC=l
#MANDIR=/usr/man/man$(MANSEC)
#DISTFILES=README vmsbackup.1 Makefile vmsbackup.c match.c NEWS build.com dclmain.c getoptmain.c vmsbackup.cld vmsbackup.h sysdep.h
vmsbackup: vmsbackup.o match.o getoptmain.o
cc $(LFLAGS) -o vmsbackup vmsbackup.o match.o getoptmain.o sys_asctim.o $(LIBS) $(STARLETDIR)/starlet.a
vmsbackup.o : vmsbackup.c
match.o : match.c
getoptmain.o : getoptmain.c
#install:
# install -m $(MODE) -o $(OWNER) -s vmsbackup $(BINDIR)
# cp vmsbackup.1 $(MANDIR)/vmsbackup.$(MANSEC)
#
clean:
rm -f vmsbackup *.o core
#shar:
# shar -a $(DISTFILES) > vmsbackup.shar
#
#dist:
# rm -rf vmsbackup-dist
# mkdir vmsbackup-dist
# for i in $(DISTFILES); do ln $${i} vmsbackup-dist; done
# tar chf vmsbackup.tar vmsbackup-dist