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

Diff of /sun2.4/dbClient/Makefile

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

revision 1.3 by tis4000, Thu Aug 26 20:48:49 1999 UTC revision 1.4 by tis4000, Wed Sep 29 14:31:21 1999 UTC
# Line 1  Line 1 
1  CC = gcc -DSOLARIS -DUSECB63  CC = gcc -DSOLARIS -DUSECB63
2  CFLAGS = -g -c -Wunused  CFLAGS = -g -c -Wunused
3    SEC_CFLAGS = -g -c -Wunused -DPRIV_AUDIT
4  RM = rm -f  RM = rm -f
5    
6  TOP = ../../..  TOP = ../../..
# Line 7  SHAREPATH = $(TOP)/share Line 8  SHAREPATH = $(TOP)/share
8  SRCPATH = $(SHAREPATH)/src  SRCPATH = $(SHAREPATH)/src
9  SRC = $(SRCPATH)/dbClient  SRC = $(SRCPATH)/dbClient
10    
11    SSL_SDK=/tools/SSLeay/SSLeay-0.9.0b
12    SSL_LIB=$(SSL_SDK)
13    SSL_INCLUDE=$(SSL_SDK)/include
14    
15    LYNKSEES_SDK=/tools/SPYRUS/sdk
16    LYNKSEES_LIB=$(LYNKSEES_SDK)/lib
17    LYNKSEES_INCLUDE=$(LYNKSEES_SDK)/include
18    
19  CODEBASEPATH = /tools/codebase63/source  CODEBASEPATH = /tools/codebase63/source
20    
21  LIBS = \  LIBS = \
# Line 15  LIBS = \ Line 24  LIBS = \
24          ../bin/libCom.a \          ../bin/libCom.a \
25          ../bin/libUnix.a \          ../bin/libUnix.a \
26          ../bin/tisMsgLib.a          ../bin/tisMsgLib.a
27    
28    SEC_LIBS = \
29            ../bin/dbLibrary.a \
30            $(CODEBASEPATH)/libcb.a \
31            ../bin/libCom.a \
32            ../bin/libUnix.a \
33            ../bin/tisMsgLib.a \
34            ../bin/libCalISO.a \
35            $(LYNKSEES_LIB)/liblynksees.a \
36            $(SSL_LIB)/libssl.a \
37            $(SSL_LIB)/libcrypto.a
38    
39  INCLUDES = \  INCLUDES = \
40          -I$(TOP)/share/epicsH \          -I$(TOP)/share/epicsH \
41          -I/usr/include \          -I/usr/include \
# Line 22  INCLUDES = \ Line 43  INCLUDES = \
43          -I/usr/include/netinet \          -I/usr/include/netinet \
44          -I$(CODEBASEPATH)          -I$(CODEBASEPATH)
45    
46  ALLDEFINES = $(INCLUDES) -DSOLARIS -DUSECB63  SEC_INCLUDES = \
47            -I$(TOP)/share/epicsH \
48            -I/usr/include \
49            -I/usr/include/sys \
50            -I/usr/include/netinet \
51            -I$(CODEBASEPATH) \
52            -I$(SSL_LIB)/include
53    
54    ALLDEFINES = $(SEC_INCLUDES) -DSOLARIS -DUSECB63 -DPRIV_AUDIT
55    
56  SRCS = \  SRCS = \
57          $(SRC)/DBCMain.c \          $(SRC)/DBCMain.c \
# Line 43  OBJS = \ Line 72  OBJS = \
72          DBCVerifyFuncs.o \          DBCVerifyFuncs.o \
73          serverInit.o          serverInit.o
74    
75  all:: depend dbClient xrefconvert  SEC_OBJS = \
76            secDBCMain.o \
77            DBCFunctions.o \
78            dbCrcSubs.o \
79            DBCError.o \
80            DBCSymTable.o \
81            DBCVerifyFuncs.o \
82            serverInit.o
83    
84    all:: depend dbClient secDbClient xrefconvert
85    
86    
87  dbClient : $(OBJS) $(LIBS)  dbClient : $(OBJS) $(LIBS)
88          $(RM) dbClient          $(RM) dbClient
89          $(CC) -o dbClient $(OBJS) $(LIBS) -lm -lsocket -lnsl          $(CC) -o dbClient $(OBJS) $(LIBS) -lm -lsocket -lnsl
90    
91    secDbClient : $(SEC_OBJS) $(SEC_LIBS)
92            $(RM) secDbClient
93            $(CC) -o secDbClient $(SEC_OBJS) $(SEC_LIBS) -lm -lsocket -lnsl
94    
95  xrefconvert : xrefconvert.o $(SRC)/pdbxref.txt  xrefconvert : xrefconvert.o $(SRC)/pdbxref.txt
96          $(RM) xrefconvert          $(RM) xrefconvert
97          $(RM) pdbxref.dbf          $(RM) pdbxref.dbf
98          $(RM) pdnxref.mdx          $(RM) pdbxref.mdx
99          $(CC) -o xrefconvert xrefconvert.o $(CODEBASEPATH)/libcb.a -ldl -lm          $(CC) -o xrefconvert xrefconvert.o $(CODEBASEPATH)/libcb.a -ldl -lm
100          xrefconvert $(SRC)          xrefconvert $(SRC)
101    
# Line 61  DBCMain.o : $(SRC)/DBCMain.c Line 103  DBCMain.o : $(SRC)/DBCMain.c
103          $(RM) DBCMain.o          $(RM) DBCMain.o
104          $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/DBCMain.c          $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/DBCMain.c
105    
106    secDBCMain.o : $(SRC)/DBCMain.c
107            $(RM) secDBCMain.o
108            $(CC) -o secDBCMain.o $(SEC_CFLAGS) $(SEC_INCLUDES) $(SRC)/DBCMain.c
109    
110  DBCFunctions.o : $(SRC)/DBCFunctions.c  DBCFunctions.o : $(SRC)/DBCFunctions.c
111          $(RM) DBCFunctions.o          $(RM) DBCFunctions.o
112          $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/DBCFunctions.c          $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/DBCFunctions.c
# Line 91  xrefconvert.o : $(SRC)/xrefconvert.c Line 137  xrefconvert.o : $(SRC)/xrefconvert.c
137    
138  install :  install :
139          cp -p dbClient ../bin          cp -p dbClient ../bin
140            cp -p secDbClient ../bin
141          cp -p pdbxref.dbf ../bin          cp -p pdbxref.dbf ../bin
142          cp -p pdbxref.mdx ../bin          cp -p pdbxref.mdx ../bin
143    
144  clean :  clean :
145          $(RM) $(OBJS)          $(RM) $(OBJS) $(SEC_OBJS)
146          $(RM) xrefconvert.o          $(RM) xrefconvert.o
147          $(RM) xrefconvert          $(RM) xrefconvert
148          $(RM) pdbxref.dbf          $(RM) pdbxref.dbf
149          $(RM) pdbxref.mdx          $(RM) pdbxref.mdx
150          $(RM) dbClient          $(RM) dbClient
151            $(RM) secDbClient
152          $(RM) Makefile.depend          $(RM) Makefile.depend
153    
154  depend: Makefile.depend  depend: Makefile.depend

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.30