BSD 4_3_Net_2 development
[unix-history] / usr / src / contrib / isode / others / tsbridge / Makefile
CommitLineData
9e8e5516
C
1###############################################################################
2# Instructions to Make, for compilation of ISODE Transport Service Bridge
3###############################################################################
4
5###############################################################################
6#
7# $Header: /f/osi/others/tsbridge/RCS/Makefile,v 7.2 91/02/22 09:34:32 mrose Interim $
8#
9#
10# $Log: Makefile,v $
11# Revision 7.2 91/02/22 09:34:32 mrose
12# Interim 6.8
13#
14# Revision 7.1 90/12/23 18:45:05 mrose
15# update
16#
17# Revision 7.0 89/11/23 22:11:09 mrose
18# Release 6.0
19#
20###############################################################################
21
22###############################################################################
23#
24# NOTICE
25#
26# Acquisition, use, and distribution of this module and related
27# materials are subject to the restrictions of a license agreement.
28# Consult the Preface in the User's Manual for the full terms of
29# this agreement.
30#
31###############################################################################
32
33
34###############################################################################
35# Generation Rules for program modules
36###############################################################################
37
38.c.o:; $(CC) $(CFLAGS) -c $*.c
39
40
41###############################################################################
42# Programs and Libraries
43###############################################################################
44
45LIBES = $(TOPDIR)libisode.a
46LLIBS = $(TOPDIR)llib-lisode
47
48
49###############################################################################
50# Files
51###############################################################################
52
53HFILES =
54CFILES = tsbridge.c
55
56
57##################################################################
58# Here it is...
59##################################################################
60
61all: tsbridge
62inst-all: inst-tsbridge manuals
63install: inst-all clean
64lint: l-tsbridge
65
66
67##################################################################
68# tsbridge
69##################################################################
70
71inst-tsbridge: $(SBINDIR)tsbridge
72
73$(SBINDIR)tsbridge: xtsbridge
74 -cp $@ zxtsbridge
75 -rm -f $@
76 cp xtsbridge $@
77 -@ls -gls $@
78 -@echo ""
79
80tsbridge: xtsbridge
81
82xtsbridge: tsbridge.o
83 $(LDCC) $(LDFLAGS) -o $@ tsbridge.o $(LIBES) $(LSOCKET)
84
85l-tsbridge:; $(LINT) $(LFLAGS) tsbridge.c $(LLIBS) \
86 | grep -v "warning: possible pointer alignment problem"
87
88
89################################################################
90# manual pages
91################################################################
92
93MANUALS = tsbridge.8c
94
95manuals:; @$(UTILDIR)inst-man.sh $(MANOPTS) $(MANUALS)
96 -@echo ""
97
98
99##################################################################
100# clean
101##################################################################
102
103clean:; rm -f *.o x* z* _* core
104
105grind:; iprint Makefile
106 tgrind -lc $(HFILES) $(CFILES)
107
108true:;