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

Contents of /sun2.4/time/Makefile

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


Revision 1.2 - (show annotations)
Tue Aug 17 20:33:50 1999 UTC (24 years, 6 months ago) by tis4000
Branch: MAIN
Changes since 1.1: +7 -37 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 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 all:: depend timeServer
28
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 $(RM) Makefile.depend
48
49 depend: Makefile.depend
50
51 Makefile.depend: $(SRCS)
52 $(RM) Makefile.depend
53 $(CC) -M $(ALLDEFINES) $(SRCS) > Makefile.depend
54
55 include Makefile.depend
56

  ViewVC Help
Powered by ViewVC 1.1.30