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

Contents of /sun2.4/libUnix/Makefile

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


Revision 1.3 - (show annotations)
Thu Aug 26 21:02:42 1999 UTC (23 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 -inostdin -I/usr/include -DUNIX -DSOLARIS
2 CFLAGS = -c -g -Wunused
3
4 RM = rm -f
5
6 TOP = ../../..
7 SRC = $(TOP)/share/src/libUnix
8 INC = $(TOP)/share
9 LIB = ..
10
11 DEFINES = -I$(INC)/epicsH
12 ALLDEFINES = $(DEFINES) -DSOLARIS
13
14 SRCS = \
15 $(SRC)/errSymTbl.c \
16 $(SRC)/lstLib.c
17
18 OBJS = \
19 errSymTbl.o\
20 lstLib.o
21
22 all:: depend libUnix.a
23
24 libUnix.a: $(OBJS)
25 $(RM) [email protected]
26 ar crv [email protected] $(OBJS)
27 cp -p libUnix.a ../bin
28
29 errSymTbl.o: $(SRC)/errSymTbl.c
30 $(RM) [email protected]
31 $(CC) $(CFLAGS) $(ALLDEFINES) $(SRC)/errSymTbl.c
32
33 lstLib.o: $(SRC)/lstLib.c
34 $(RM) [email protected]
35 $(CC) $(CFLAGS) $(ALLDEFINES) $(SRC)/lstLib.c
36
37 install: libUnix.a
38 cp -p libUnix.a ../bin
39
40 clean:
41 $(RM) libUnix.a
42 $(RM) $(OBJS)
43 $(RM) Makefile.depend
44
45 depend: Makefile.depend
46
47 Makefile.depend: $(SRCS) Makefile
48 $(RM) Makefile.depend
49 $(CC) -M $(ALLDEFINES) $(SRCS) > Makefile.depend
50
51 include Makefile.depend
52

  ViewVC Help
Powered by ViewVC 1.1.28