Commit | Line | Data |
---|---|---|
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 | ||
45 | LIBES = $(TOPDIR)libisode.a | |
46 | LLIBS = $(TOPDIR)llib-lisode | |
47 | ||
48 | ||
49 | ############################################################################### | |
50 | # Files | |
51 | ############################################################################### | |
52 | ||
53 | HFILES = | |
54 | CFILES = tsbridge.c | |
55 | ||
56 | ||
57 | ################################################################## | |
58 | # Here it is... | |
59 | ################################################################## | |
60 | ||
61 | all: tsbridge | |
62 | inst-all: inst-tsbridge manuals | |
63 | install: inst-all clean | |
64 | lint: l-tsbridge | |
65 | ||
66 | ||
67 | ################################################################## | |
68 | # tsbridge | |
69 | ################################################################## | |
70 | ||
71 | inst-tsbridge: $(SBINDIR)tsbridge | |
72 | ||
73 | $(SBINDIR)tsbridge: xtsbridge | |
74 | -cp $@ zxtsbridge | |
75 | -rm -f $@ | |
76 | cp xtsbridge $@ | |
77 | -@ls -gls $@ | |
78 | -@echo "" | |
79 | ||
80 | tsbridge: xtsbridge | |
81 | ||
82 | xtsbridge: tsbridge.o | |
83 | $(LDCC) $(LDFLAGS) -o $@ tsbridge.o $(LIBES) $(LSOCKET) | |
84 | ||
85 | l-tsbridge:; $(LINT) $(LFLAGS) tsbridge.c $(LLIBS) \ | |
86 | | grep -v "warning: possible pointer alignment problem" | |
87 | ||
88 | ||
89 | ################################################################ | |
90 | # manual pages | |
91 | ################################################################ | |
92 | ||
93 | MANUALS = tsbridge.8c | |
94 | ||
95 | manuals:; @$(UTILDIR)inst-man.sh $(MANOPTS) $(MANUALS) | |
96 | -@echo "" | |
97 | ||
98 | ||
99 | ################################################################## | |
100 | # clean | |
101 | ################################################################## | |
102 | ||
103 | clean:; rm -f *.o x* z* _* core | |
104 | ||
105 | grind:; iprint Makefile | |
106 | tgrind -lc $(HFILES) $(CFILES) | |
107 | ||
108 | true:; |