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

Annotation of /sun2.4/libTisClient/Makefile

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


Revision 1.2 - (hide annotations)
Tue Aug 17 19:11:18 1999 UTC (23 years, 5 months ago) by tis4000
Branch: MAIN
Changes since 1.1: +7 -107 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 = gcc -g -inostdinc -I/usr/include -DUNIX -DSOLARIS -DUSECB63
2     CFLAGS = -g -c -Wunused
3    
4     RM = rm -f
5    
6     TOP = ../../..
7     SERVERSRCDIR = $(TOP)/share/src/servers
8     EPICSHDIR = $(TOP)/share/epicsH
9     LIBTISSRCDIR = $(TOP)/share/src/libtis
10     CODEBASEPATH = /tools/codebase63/source
11     INCDIRS = \
12     -I$(SERVERSRCDIR) \
13     -I$(EPICSHDIR) \
14     -I$(LIBTISSRCDIR) \
15     -I$(CODEBASEPATH)
16    
17     ALLDEFINES = $(INCDIRS) -DSOLARIS -DUSECB63
18    
19     SRCS = \
20     $(SERVERSRCDIR)/client.c \
21     $(SERVERSRCDIR)/OpPrivClient.c \
22     $(LIBTISSRCDIR)/pdfHelpUtils.c \
23     $(LIBTISSRCDIR)/resolveLinks.c \
24     $(LIBTISSRCDIR)/semaph.c
25    
26     OBJS = \
27     client.o \
28     OpPrivClient.o \
29     pdfHelpUtils.o \
30     resolveLinks.o \
31     semaph.o
32    
33 tis4000 1.2 all : depend libTisClient.a
34 tis4000 1.1
35     libTisClient.a : $(OBJS)
36     $(RM) libTisClient
37     ar crv libTisClient.a $(OBJS)
38     cp -p libTisClient.a ../bin
39    
40     client.o: $(SERVERSRCDIR)/client.c
41     $(RM) client.o
42     $(CC) $(CFLAGS) $(INCDIRS) $(SERVERSRCDIR)/client.c
43    
44     OpPrivClient.o: $(SERVERSRCDIR)/OpPrivClient.c
45     $(RM) OpPrivClient.o
46     $(CC) $(CFLAGS) $(INCDIRS) $(SERVERSRCDIR)/OpPrivClient.c
47    
48     pdfHelpUtils.o: $(LIBTISSRCDIR)/pdfHelpUtils.c
49     $(RM) pdfHelpUtils.o
50     $(CC) $(CFLAGS) $(INCDIRS) $(LIBTISSRCDIR)/pdfHelpUtils.c
51    
52     resolveLinks.o: $(LIBTISSRCDIR)/resolveLinks.c
53     $(RM) resolveLinks.o
54     $(CC) $(CFLAGS) $(INCDIRS) $(LIBTISSRCDIR)/resolveLinks.c
55    
56     semaph.o: $(LIBTISSRCDIR)/semaph.c
57     $(RM) semaph.o
58     $(CC) $(CFLAGS) $(INCDIRS) $(LIBTISSRCDIR)/semaph.c
59    
60     install : libTisClient.a
61     cp -p libTisClient.a ../bin
62    
63     clean:
64     $(RM) libTisClient.a
65     $(RM) $(OBJS)
66 tis4000 1.2 $(RM) Makefile.depend
67 tis4000 1.1
68 tis4000 1.2 depend: Makefile.depend
69 tis4000 1.1
70 tis4000 1.2 Makefile.depend: $(SRCS)
71     $(RM) Makefile.depend
72     $(CC) -M $(ALLDEFINES) $(SRCS) > Makefile.depend
73 tis4000 1.1
74 tis4000 1.2 include Makefile.depend
75 tis4000 1.1

  ViewVC Help
Powered by ViewVC 1.1.28