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

Annotation of /sun2.4/pager/Makefile

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


Revision 1.1 - (hide annotations)
Wed Sep 8 14:20:04 1999 UTC (24 years, 5 months ago) by tis4000
Branch: MAIN
CVS Tags: LMC_baseline, t55baseline, Duluth_baseline, HEAD
initial version - Steel

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     CODEBASEPATH = /tools/codebase63/source
7     TOP = ../../..
8     SRC = $(TOP)/share/src
9     SRCDIR = $(SRC)/pager
10     EPICSH = $(TOP)/share/epicsH
11    
12     LIBS = \
13     ../bin/libca.a \
14     ../bin/libUnix.a \
15     $(CODEBASEPATH)/libcb.a \
16    
17     ALLDEFINES = -I$(SRCDIR) -I$(EPICSH) -I$(CODEBASEPATH)
18    
19     SRCS = \
20     $(SRCDIR)/drv_pager.c \
21     $(SRCDIR)/alarmlist.c \
22     $(SRCDIR)/schedule.c \
23     $(SRCDIR)/translate_db_link.c \
24     $(SRCDIR)/tapixo_protocal.c \
25     $(SRCDIR)/modem.c \
26     $(SRCDIR)/pager.c \
27     $(SRCDIR)/create_db.c
28    
29     PAGEROBJS = \
30     drv_pager.o \
31     alarmlist.o \
32     translate_db_link.o
33    
34     PAGERINTERFACEOBJS = \
35     pager.o \
36     schedule.o \
37     tapixo_protocal.o \
38     modem.o \
39     alarmlist.o \
40     translate_db_link.o
41    
42     OBJS = \
43     drv_pager.o \
44     alarmlist.o \
45     schedule.o \
46     translate_db_link.o \
47     tapixo_protocal.o \
48     modem.o \
49     pager.o \
50     create_db.o
51    
52     all: depend pager pagerinterface pagerdb
53    
54     pager: $(PAGEROBJS) $(LIBS)
55     $(RM) pager
56     $(CC) -g -o pager $(PAGEROBJS) $(LIBS) \
57     -lsocket -lnsl -lm -ldl
58    
59     pagerinterface: $(PAGERINTERFACEOBJS) $(LIBS)
60     $(RM) pagerinterface
61     $(CC) -g -o pagerinterface $(PAGERINTERFACEOBJS) $(LIBS) \
62     -lsocket -lnsl -lm -ldl
63    
64     pagerdb: create_db.o $(LIBS)
65     rm -f pagerdb
66     $(CC) -g -o pagerdb create_db.o $(LIBS) -lm -ldl
67    
68     alarmlist.o: $(SRCDIR)/alarmlist.c
69     $(RM) alarmlist.o
70     $(CC) $(CFLAGS) $(ALLDEFINES) $(SRCDIR)/alarmlist.c
71    
72     create_db.o: $(SRCDIR)/create_db.c
73     $(RM) create_db.o
74     $(CC) $(CFLAGS) $(ALLDEFINES) -Dacc $(SRCDIR)/create_db.c
75    
76     drv_pager.o: $(SRCDIR)/drv_pager.c
77     $(RM) drv_pager.o
78     $(CC) $(CFLAGS) $(ALLDEFINES) $(SRCDIR)/drv_pager.c
79    
80     modem.o: $(SRCDIR)/modem.c
81     $(RM) modem.o
82     $(CC) $(CFLAGS) $(ALLDEFINES) $(SRCDIR)/modem.c
83    
84     pager.o: $(SRCDIR)/pager.c
85     $(RM) pager.o
86     $(CC) $(CFLAGS) $(ALLDEFINES) -Dacc $(SRCDIR)/pager.c
87    
88     schedule.o: $(SRCDIR)/schedule.c
89     $(RM) schedule.o
90     $(CC) $(CFLAGS) $(ALLDEFINES) $(SRCDIR)/schedule.c
91    
92     tapixo_protocal.o: $(SRCDIR)/tapixo_protocal.c
93     $(RM) tapixo_protocal.o
94     $(CC) $(CFLAGS) $(ALLDEFINES) $(SRCDIR)/tapixo_protocal.c
95    
96     translate_db_link.o: $(SRCDIR)/translate_db_link.c
97     $(RM) translate_db_link.o
98     $(CC) $(CFLAGS) $(ALLDEFINES) $(SRCDIR)/translate_db_link.c
99     install:
100     cp -p pager ../bin
101     cp -p pagerinterface ../bin
102     cp -p pagerdb ../bin
103    
104     clean:
105     $(RM) $(OBJS)
106     $(RM) pager
107     $(RM) pagerinterface
108     $(RM) pagerdb
109     $(RM) Makefile.depend
110    
111     depend: Makefile.depend
112    
113     Makefile.depend : $(SRCS) Makefile
114     $(RM) Makefile.depend
115     $(CC) -M $(ALLDEFINES) $(SRCS) > Makefile.depend
116    
117     include Makefile.depend
118    
119    

  ViewVC Help
Powered by ViewVC 1.1.30