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

Contents of /sun2.4/tlm/Makefile

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


Revision 1.3 - (show annotations)
Thu Aug 26 21:26:07 1999 UTC (24 years, 3 months ago) by tis4000
Branch: MAIN
CVS Tags: t55baseline, Duluth_baseline, LMC_baseline, HEAD
Changes since 1.2: +1 -1 lines
made Makefile.depend dependant on Makefile

1 CC = gcc -g -DSOLARIS
2 CFLAGS = -g -Wunused
3 RM = rm -f
4 TOP = ../../..
5
6 SHAREPATH = $(TOP)/share
7 SRCPATH = $(SHAREPATH)/src
8 SRC = $(SRCPATH)/tlm
9 SRCS = \
10 $(SRCPATH)/libtis/crypt.c \
11 $(SRC)/tlm.c \
12 $(SRC)/xLicense.c \
13 $(SRC)/tisLicense.c \
14 $(SRC)/tlmInstall.c \
15 $(SRC)/tlmKey.c
16
17 INCLUDES = -I$(SHAREPATH)/epicsH
18
19 ALLDEFINES = $(INCLUDES) -DSOLARIS
20
21 LIBTLM_OBJS = \
22 tlm.o \
23 xLicense.o \
24 tisLicense.o
25
26 OTHER_OBJS = \
27 tlmKey.o \
28 tlmInstall.o
29
30 LIBS = ../bin/tisMsgLib.a
31
32 all:: depend libtlm.a tlmInstall tlmKey
33
34 libtlm.a: $(LIBTLM_OBJS) ../libtis/crypt.o
35 $(RM) libtlm.a
36 ar cq libtlm.a $(LIBTLM_OBJS) ../libtis/crypt.o
37 cp -p libtlm.a ../bin
38
39 tlmInstall: tlmInstall.o libtlm.a $(LIBS)
40 $(RM) tlmInstall
41 $(CC) -o tlmInstall tlmInstall.o libtlm.a $(LIBS) -lnsl -lsocket -ldl
42
43 tlmKey: tlmKey.o libtlm.a $(LIBS)
44 $(RM) tlmKey
45 $(CC) -o tlmKey tlmKey.o libtlm.a $(LIBS) -lnsl -lsocket -ldl
46
47 tlmInstall.o: $(SRC)/tlmInstall.c
48 $(RM) tlmInstall.o
49 $(CC) -c $(CFLAGS) $(INCLUDES) $(SRC)/tlmInstall.c
50
51 tlmKey.o: $(SRC)/tlmKey.c
52 $(RM) tlmKey.o
53 $(CC) -c $(CFLAGS) $(INCLUDES) $(SRC)/tlmKey.c
54
55 ../libtis/crypt.o: $(SRCPATH)/libtis/crypt.c
56 cd ../libtis; make crypt.o
57
58 tlm.o: $(SRC)/tlm.c
59 $(RM) tlm.o
60 $(CC) -c $(CFLAGS) $(INCLUDES) $(SRC)/tlm.c
61
62 xLicense.o: $(SRC)/xLicense.c
63 $(RM) xLicense.o
64 $(CC) -c $(CFLAGS) $(INCLUDES) $(SRC)/xLicense.c
65
66 tisLicense.o: $(SRC)/tisLicense.c
67 $(RM) tisLicense.o
68 $(CC) -c $(CFLAGS) $(INCLUDES) $(SRC)/tisLicense.c
69
70 install :
71 cp -p libtlm.a ../bin
72 cp -p tlmInstall ../bin
73 cp -p tlmKey ../bin
74
75 clean :
76 $(RM) $(LIBTLM_OBJS)
77 $(RM) $(OTHER_OBJS)
78 $(RM) libtlm.a
79 $(RM) tlmInstall
80 $(RM) tlmKey
81 $(RM) Makefile.depend
82
83 depend: Makefile.depend
84
85 Makefile.depend: $(SRCS) Makefile
86 $(RM) Makefile.depend
87 $(CC) -M $(ALLDEFINES) $(SRCS) > Makefile.depend
88
89 include Makefile.depend
90

  ViewVC Help
Powered by ViewVC 1.1.30