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

Annotation of /sun2.4/time/Makefile

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


Revision 1.3 - (hide annotations)
Thu Aug 26 21:21:33 1999 UTC (24 years, 6 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 tis4000 1.1 CC = gcc -g -inostdinc -I/usr/include -DUNIX -DSOLARIS -UvxWorks
2     CFLAGS = -Wunused
3     TOP = ../../..
4     SRCPATH = $(TOP)/share/src
5     SRC = $(SRCPATH)/time
6    
7     STD_LIBS = -ldl -lsocket -lnsl
8     LIBS = ../bin/libCom.a
9    
10    
11     INCLUDES = \
12     -I$(SRC) \
13     -I$(TOP)/share/epicsH
14    
15     ALLDEFINES = \
16     $(INCLUDES) \
17     -I/usr/include/netinet \
18     -I/usr/include/net \
19     -DSOLARIS
20    
21     SRCS = \
22     $(SRC)/timeServer.c
23    
24     OBJS = \
25     timeServer.o
26    
27 tis4000 1.2 all:: depend timeServer
28 tis4000 1.1
29     timeServer: timeServer.o ../bin/libCom.a
30     $(RM) timeServer
31     $(CC) -o timeServer timeServer.o ../bin/libca.a $(STD_LIBS)
32    
33     timeServer.o: $(SRC)/timeServer.c
34     $(RM) timeServer.o
35     $(CC) $(CFLAGS) -c \
36     -I/usr/include/net \
37     -I/usr/include/netinet \
38     -I../../../share/epicsH \
39     $(SRC)/timeServer.c
40    
41     install:
42     cp -p timeServer ../bin
43    
44     clean:
45     $(RM) $(OBJS)
46     $(RM) timeServer
47 tis4000 1.2 $(RM) Makefile.depend
48 tis4000 1.1
49 tis4000 1.2 depend: Makefile.depend
50 tis4000 1.1
51 tis4000 1.3 Makefile.depend: $(SRCS) Makefile
52 tis4000 1.2 $(RM) Makefile.depend
53     $(CC) -M $(ALLDEFINES) $(SRCS) > Makefile.depend
54 tis4000 1.1
55 tis4000 1.2 include Makefile.depend
56 tis4000 1.1

  ViewVC Help
Powered by ViewVC 1.1.30