/[TIS-4000 Rel T60]/sun2.4/FileTransfer/Makefile
ViewVC logotype

Contents of /sun2.4/FileTransfer/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (show annotations)
Wed Sep 29 13:41:23 1999 UTC (23 years, 2 months ago) by tis4000
Branch: MAIN
CVS Tags: t55baseline
Changes since 1.2: +1 -1 lines
Add secure programs to clean command - irani

1 RM = rm -f
2 TOP = ../../..
3 LIB = /usr/lib
4 TISINC = $(TOP)/share/epicsH
5 CB = /tools/codebase63/source
6 SRCPATH=$(TOP)/share/src/FileTransfer
7 SRCS = $(SRCPATH)/FT_sftpd.c $(SRCPATH)/FT_sftp.c $(SRCPATH)/FT_shared.c
8 OBJECTS = FT_sftpd.o FT_sftp.o FT_shared.o SecFT_sftpd.o SecFT_sftp.o SecFT_shared.o
9
10 SSL_SDK=/tools/SSLeay/SSLeay-0.9.0b
11 SSL_LIB=$(SSL_SDK)
12 SSL_INCLUDE=$(SSL_SDK)/include
13
14 LYNKSEES_SDK=/tools/SPYRUS/sdk
15 LYNKSEES_LIB=$(LYNKSEES_SDK)/lib
16 LYNKSEES_INCLUDE=$(LYNKSEES_SDK)/include
17
18 INCLUDES=-I$(SRCPATH) -I$(CB) -I$(TISINC) -I$(LYNKSEES_INCLUDE) -I$(SSL_INCLUDE)
19
20 ALLDEFINES = $(INCLUDES) -DSOLARIS -DUSECB63
21
22 LIBS=-L../bin -lCalISO -L$(CB) -lcb ../bin/tisMsgLib.a -L$(LYNKSEES_LIB) -llynksees -L$(SSL_LIB) -lssl -lcrypto -lsocket -lnsl -lm
23
24 LIBDEPENDS=$(CB)/libcb.a ../bin/tisMsgLib.a
25
26 all : depend FT_sftpd FT_sftp SecFT_sftpd SecFT_sftp
27
28 FT_sftpd : FT_sftpd.o FT_shared.o $(LIBDEPENDS)
29 $(RM) FT_sftpd
30 gcc -Wall -o FT_sftpd FT_sftpd.o FT_shared.o \
31 $(LIBS)
32
33 FT_sftpd.o : $(SRCPATH)/FT_sftpd.c
34 gcc -Wall -g -c -o FT_sftpd.o $(ALLDEFINES) \
35 $(SRCPATH)/FT_sftpd.c
36
37 FT_shared.o : $(SRCPATH)/FT_shared.c
38 gcc -Wall -g -c -o FT_shared.o $(ALLDEFINES) \
39 $(SRCPATH)/FT_shared.c
40
41 FT_sftp : FT_sftp.o FT_shared.o $(LIBDEPENDS)
42 $(RM) FT_sftp
43 gcc -Wall -o FT_sftp FT_sftp.o FT_shared.o \
44 $(LIBS)
45
46 FT_sftp.o : $(SRCPATH)/FT_sftp.c
47 gcc -Wall -g -c -o FT_sftp.o $(ALLDEFINES) \
48 $(SRCPATH)/FT_sftp.c
49
50 SecFT_sftpd : SecFT_sftpd.o SecFT_shared.o $(LIBDEPENDS) ../bin/libCalISO.a
51 $(RM) SecFT_sftpd
52 gcc -Wall -o SecFT_sftpd SecFT_sftpd.o SecFT_shared.o \
53 $(LIBS)
54
55 SecFT_sftpd.o : $(SRCPATH)/FT_sftpd.c
56 gcc -Wall -g -c -o SecFT_sftpd.o $(ALLDEFINES) -DPRIV_AUDIT \
57 $(SRCPATH)/FT_sftpd.c
58
59 SecFT_shared.o : $(SRCPATH)/FT_shared.c
60 gcc -Wall -g -c -o SecFT_shared.o $(ALLDEFINES) -DPRIV_AUDIT \
61 $(SRCPATH)/FT_shared.c
62
63 SecFT_sftp : SecFT_sftp.o SecFT_shared.o $(LIBDEPENDS) ../bin/libCalISO.a
64 $(RM) SecFT_sftp
65 gcc -Wall -o SecFT_sftp SecFT_sftp.o SecFT_shared.o \
66 $(LIBS)
67
68 SecFT_sftp.o : $(SRCPATH)/FT_sftp.c
69 gcc -Wall -g -c -o SecFT_sftp.o $(ALLDEFINES) -DPRIV_AUDIT \
70 $(SRCPATH)/FT_sftp.c
71
72 install : FT_sftpd FT_sftp SecFT_sftpd SecFT_sftp
73 cp -p FT_sftpd ../bin
74 cp -p FT_sftp ../bin
75 cp -p SecFT_sftpd ../bin
76 cp -p SecFT_sftp ../bin
77
78 clean :
79 $(RM) $(OBJECTS) core
80 $(RM) FT_sftpd
81 $(RM) FT_sftp
82 $(RM) SecFT_sftpd
83 $(RM) SecFT_sftp
84 $(RM) Makefile.depend
85
86 depend: Makefile.depend
87
88 Makefile.depend : $(SRCS) Makefile
89 $(RM) Makefile.depend
90 gcc -Wall -M $(ALLDEFINES) -DPRIV_AUDIT $(SRCS) > Makefile.depend
91
92 include Makefile.depend
93

  ViewVC Help
Powered by ViewVC 1.1.28