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

Annotation of /sun2.4/tisPermissions/Makefile

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


Revision 1.3 - (hide annotations)
Tue Aug 17 20:42:26 1999 UTC (23 years, 7 months ago) by tis4000
Branch: MAIN
Changes since 1.2: +10 -2230 lines
08-17-99	ems	added target depend, which creates Makefile.depend
			since the dependancies are differant from machine to
			machine, not having the dependancies in the Makefile
			will not confuse CVS

1 tis4000 1.1 CC = CC -g -DUNIX -DSOLARIS -DUSECB63
2    
3     RM = rm -f
4    
5     TOP = ../../..
6     SHAREPATH = $(TOP)/share
7     SRCPATH = $(SHAREPATH)/src
8     SRC = $(SRCPATH)/tisPermissions
9    
10     CODEBASEPATH = /tools/codebase63/source
11    
12     INCLUDES = \
13     -I$(SRC) \
14     -I$(GALAXYHOME)/include \
15     -I$(SHAREPATH)/epicsH \
16     -I$(SRCPATH)/tisgalaxylib \
17     -I/usr/openwin/include \
18     -I/usr/include \
19     -I$(CODEBASEPATH)
20    
21     ALLDEFINES = $(INCLUDES) -DSOLARIS -DUSECB63
22    
23     LIBS = \
24     $(CODEBASEPATH)/libcb.a \
25     ../bin/libCom.a \
26     ../bin/libtis.a \
27     ../bin/tisgalaxylib.a \
28     ../bin/tisMsgLib.a
29    
30     SRCS = \
31     $(SRC)/tisperm.cxx \
32     $(SRC)/tisPermAccess.cxx \
33     $(SRC)/tisPermApp.cxx \
34     $(SRC)/tisPermDatabase.cxx \
35     $(SRC)/tisPermFldPerms.cxx \
36     $(SRC)/tisPermGroup.cxx \
37     $(SRC)/tisPermGrpMaint.cxx \
38     $(SRC)/tisPermMain.cxx \
39     $(SRC)/tisPermOptions.cxx \
40     $(SRC)/tisPermProtGrp.cxx \
41     $(SRC)/tisPermPrtGrpMaint.cxx \
42     $(SRC)/tisPermUser.cxx \
43     $(SRC)/tisPermUtils.cxx
44    
45     OBJS = \
46     tisperm.o \
47     tisPermAccess.o \
48     tisPermApp.o \
49     tisPermDatabase.o \
50     tisPermFldPerms.o \
51     tisPermGroup.o \
52     tisPermGrpMaint.o \
53     tisPermMain.o \
54     tisPermOptions.o \
55     tisPermProtGrp.o \
56     tisPermPrtGrpMaint.o \
57     tisPermUser.o \
58     tisPermUtils.o
59    
60 tis4000 1.3 all: depend tisPermissions tisPermissions.vr
61 tis4000 1.1
62     tisPermissions: $(OBJS) $(LIBS)
63     $(RM) tisPermissions
64     $(CC) -o tisPermissions $(OBJS) \
65     -L$(GALAXYHOME)/lib -L/usr/openwin/lib $(LIBS) \
66     -lvgalaxy++-debug -lXext -lX11 -lm
67    
68 tis4000 1.2 tisPermissions.vr: $(SRC)/tisPermissions.vrx
69     $(RM) tisPermissions.vr
70     vrx2vr -force $(SRC)/tisPermissions.vrx
71    
72 tis4000 1.1 tisperm.o: $(SRC)/tisperm.cxx $(SRC)/tisperm.h
73     $(RM) tisperm.o
74     $(CC) -c $(INCLUDES) $(SRC)/tisperm.cxx
75    
76     tisPermAccess.o: $(SRC)/tisPermAccess.cxx
77     $(RM) tisPermAccess.o
78     $(CC) -c $(INCLUDES) $(SRC)/tisPermAccess.cxx
79    
80     tisPermApp.o: $(SRC)/tisPermApp.cxx
81     $(RM) tisPermApp.o
82     $(CC) -c $(INCLUDES) $(SRC)/tisPermApp.cxx
83    
84     tisPermDatabase.o: $(SRC)/tisPermDatabase.cxx
85     $(RM) tisPermDatabase.o
86     $(CC) -c $(INCLUDES) $(SRC)/tisPermDatabase.cxx
87    
88     tisPermFldPerms.o: $(SRC)/tisPermFldPerms.cxx
89     $(RM) tisPermFldPerms.o
90     $(CC) -c $(INCLUDES) $(SRC)/tisPermFldPerms.cxx
91    
92     tisPermGroup.o: $(SRC)/tisPermGroup.cxx
93     $(RM) tisPermGroup.o
94     $(CC) -c $(INCLUDES) $(SRC)/tisPermGroup.cxx
95    
96     tisPermGrpMaint.o: $(SRC)/tisPermGrpMaint.cxx
97     $(RM) tisPermGrpMaint.o
98     $(CC) -c $(INCLUDES) $(SRC)/tisPermGrpMaint.cxx
99    
100     tisPermMain.o: $(SRC)/tisPermMain.cxx
101     $(RM) tisPermMain.o
102     $(CC) -c $(INCLUDES) $(SRC)/tisPermMain.cxx
103    
104     tisPermOptions.o: $(SRC)/tisPermOptions.cxx
105     $(RM) tisPermOptions.o
106     $(CC) -c $(INCLUDES) $(SRC)/tisPermOptions.cxx
107    
108     tisPermProtGrp.o: $(SRC)/tisPermProtGrp.cxx
109     $(RM) tisPermProtGrp.o
110     $(CC) -c $(INCLUDES) $(SRC)/tisPermProtGrp.cxx
111    
112     tisPermPrtGrpMaint.o: $(SRC)/tisPermPrtGrpMaint.cxx
113     $(RM) tisPermPrtGrpMaint.o
114     $(CC) -c $(INCLUDES) $(SRC)/tisPermPrtGrpMaint.cxx
115    
116     tisPermUser.o: $(SRC)/tisPermUser.cxx
117     $(RM) tisPermUser.o
118     $(CC) -c $(INCLUDES) $(SRC)/tisPermUser.cxx
119    
120     tisPermUtils.o: $(SRC)/tisPermUtils.cxx
121     $(RM) tisPermUtils.o
122     $(CC) -c $(INCLUDES) $(SRC)/tisPermUtils.cxx
123    
124     install: tisPermissions
125     cp -p tisPermissions ../bin
126 tis4000 1.2 cp -p tisPermissions.vr ../bin
127 tis4000 1.1 cp -p $(SRC)/findOperPriv/tisUtilAccess.txt ../bin
128    
129     clean:
130     $(RM) tisPermissions
131 tis4000 1.2 $(RM) tisPermissions.vr
132 tis4000 1.1 $(RM) $(OBJS)
133 tis4000 1.3 $(RM) Makefile.depend
134    
135     depend: Makefile.depend
136    
137     Makefile.depend: $(SRCS)
138     $(RM) Makefile.depend
139     gcc -M $(ALLDEFINES) $(SRCS) > Makefile.depend
140    
141     include Makefile.depend
142 tis4000 1.1

  ViewVC Help
Powered by ViewVC 1.1.28