-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
39 lines (22 loc) · 687 Bytes
/
Makefile
File metadata and controls
39 lines (22 loc) · 687 Bytes
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
#
# Makefile for vcfs
#
CC=gcc
COPT= -g
CFLAGS=$(COPT)
VCFS_SRCS=cvs_cmds.c vcfs_fh.c vcfs_nfs.c vcfs.c utils.c
VCFS_OBJS=cvs_cmds.o vcfs_fh.o vcfs_nfs.o vcfs.o utils.o cvstool_proc.o cvstool_svc.o cvstool_xdr.o cvs_zlib.o
OTHER_OBJS=nfsproto_xdr.o nfsproto_svr.o
OTHERS = nfsproto.h nfsproto_svr.c nfsproto_xdr.c
TOOL_OBJS=cvstool.o cvstool_clnt.o cvstool_xdr.o
default: vcfs cvstool
@echo
vcfs: $(VCFS_OBJS) $(OTHER_OBJS)
$(CC) $(COPT) $(VCFS_OBJS) $(OTHER_OBJS) -lz -o vcfsd
cvstool: $(TOOL_OBJS)
$(CC) $(COPT) $(TOOL_OBJS) -o cvstool
clean_vcfs:
rm -f $(VCFS_OBJS) $(OTHER_OBJS) vcfsd
clean_cvstool:
rm -f $(TOOL_OBJS) cvstool
clean: clean_vcfs clean_cvstool