1 |
tis4000 |
1.1 |
CPLUSPLUS = CC -g -DUNIX -DSOLARIS -DUSECB63 -DPRIV_CLIENT |
2 |
|
|
GCC = gcc -inostdinc -g -DUNIX -DSOLARIS -DUSECB63 -DPRIV_CLIENT |
3 |
|
|
|
4 |
|
|
RM = rm -f |
5 |
|
|
|
6 |
|
|
TOP = ../../.. |
7 |
|
|
LIBPATH = $(TOP)/Unix/sun2.4/bin |
8 |
|
|
CODEBASEPATH = /tools/codebase63/source |
9 |
|
|
SRC = $(TOP)/share/src/tisPassword |
10 |
|
|
INC = $(TOP)/share |
11 |
|
|
|
12 |
|
|
INCLUDES = -I$(GALAXYHOME)/include -I$(SRC) -I$(TOP)/share/epicsH \ |
13 |
|
|
-I$(TOP)/share/src/libtis -I$(TOP)/share/src/servers \ |
14 |
|
|
-I$(TOP)/share/src/tisgalaxylib -I/usr/openwin/include \ |
15 |
|
|
-I/usr/include -I$(CODEBASEPATH) |
16 |
|
|
|
17 |
|
|
ALLDEFINES = $(INCLUDES) -DSOLARIS -DUSECB63 |
18 |
|
|
|
19 |
|
|
LIBS = \ |
20 |
|
|
$(LIBPATH)/libtis.a \ |
21 |
|
|
$(CODEBASEPATH)/libcb.a \ |
22 |
|
|
$(LIBPATH)/tisMsgLib.a \ |
23 |
|
|
$(LIBPATH)/tisgalaxylib.a |
24 |
|
|
|
25 |
|
|
CLIENTLIBS = \ |
26 |
|
|
$(LIBPATH)/libTisClient.a \ |
27 |
|
|
$(LIBPATH)/libServer.a \ |
28 |
|
|
$(LIBPATH)/tisMsgLib.a \ |
29 |
|
|
$(LIBPATH)/tisgalaxylib.a |
30 |
|
|
|
31 |
|
|
SRCS = \ |
32 |
|
|
$(SRC)/password.cxx \ |
33 |
|
|
$(SRC)/textdlg.cxx \ |
34 |
|
|
$(SRC)/privservice.c |
35 |
|
|
|
36 |
|
|
OBJS = \ |
37 |
|
|
password.o \ |
38 |
|
|
textdlg.o \ |
39 |
|
|
privservice.o |
40 |
|
|
|
41 |
tis4000 |
1.3 |
all:: depend password password.vr |
42 |
tis4000 |
1.1 |
|
43 |
|
|
password: $(OBJS) $(CLIENTLIBS) |
44 |
|
|
$(RM) password |
45 |
|
|
$(CPLUSPLUS) -o password $(OBJS) \ |
46 |
|
|
-L$(GALAXYHOME)/lib -L/usr/lib -L/usr/openwin/lib $(CLIENTLIBS) \ |
47 |
|
|
-lvgalaxy++-debug -lthread -lXext -lX11 -ldl -lsocket -lnsl -lm |
48 |
|
|
|
49 |
tis4000 |
1.2 |
password.vr: $(SRC)/password.vrx |
50 |
|
|
$(RM) password.vr |
51 |
|
|
vrx2vr -force $(SRC)/password.vrx |
52 |
|
|
|
53 |
tis4000 |
1.1 |
password.o: $(SRC)/password.cxx |
54 |
|
|
$(RM) password.o |
55 |
|
|
$(CPLUSPLUS) -c $(INCLUDES) $(SRC)/password.cxx |
56 |
|
|
|
57 |
|
|
textdlg.o: $(SRC)/textdlg.cxx |
58 |
|
|
$(RM) textdlg.o |
59 |
|
|
$(CPLUSPLUS) -c $(INCLUDES) $(SRC)/textdlg.cxx |
60 |
|
|
|
61 |
|
|
privservice.o: $(SRC)/privservice.c |
62 |
|
|
$(RM) privservice.o |
63 |
|
|
$(GCC) -c -Wunused $(INCLUDES) $(SRC)/privservice.c |
64 |
|
|
|
65 |
tis4000 |
1.2 |
install: password password.vr |
66 |
tis4000 |
1.1 |
cp -p password ../bin |
67 |
tis4000 |
1.2 |
cp -p password.vr ../bin |
68 |
tis4000 |
1.1 |
|
69 |
|
|
clean: |
70 |
|
|
$(RM) password |
71 |
tis4000 |
1.2 |
$(RM) password.vr |
72 |
tis4000 |
1.1 |
$(RM) $(OBJS) |
73 |
tis4000 |
1.3 |
$(RM) Makefile.depend |
74 |
|
|
|
75 |
|
|
depend: Makefile.depend |
76 |
|
|
|
77 |
tis4000 |
1.4 |
Makefile.depend: $(SRCS) Makefile |
78 |
tis4000 |
1.3 |
$(RM) Makefile.depend |
79 |
|
|
$(CC) -M $(ALLDEFINES) $(SRCS) > Makefile.depend |
80 |
|
|
|
81 |
|
|
include Makefile.depend |
82 |
tis4000 |
1.1 |
|