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 |
DEPEND = $(INC)/bin/sun2.4/EPICSmakedepend |
12 |
DEFINES = -I$(INC)/epicsH |
13 |
ALLDEFINES = $(DEFINES) -DSOLARIS |
14 |
|
15 |
SRCS = \ |
16 |
$(SRC)/errSymTbl.c \ |
17 |
$(SRC)/lstLib.c |
18 |
|
19 |
OBJS = \ |
20 |
errSymTbl.o\ |
21 |
lstLib.o |
22 |
|
23 |
all:: libUnix.a |
24 |
|
25 |
libUnix.a: $(OBJS) |
26 |
$(RM) [email protected] |
27 |
ar crv [email protected] $(OBJS) |
28 |
cp -p libUnix.a ../bin |
29 |
|
30 |
errSymTbl.o: $(SRC)/errSymTbl.c |
31 |
$(RM) [email protected] |
32 |
$(CC) $(CFLAGS) $(ALLDEFINES) $(SRC)/errSymTbl.c |
33 |
|
34 |
lstLib.o: $(SRC)/lstLib.c |
35 |
$(RM) [email protected] |
36 |
$(CC) $(CFLAGS) $(ALLDEFINES) $(SRC)/lstLib.c |
37 |
|
38 |
install: libUnix.a |
39 |
cp -p libUnix.a ../bin |
40 |
|
41 |
clean: |
42 |
$(RM) libUnix.a |
43 |
$(RM) $(OBJS) |
44 |
|
45 |
# |
46 |
# Uses EPICSmakedepend to create dependencies |
47 |
# |
48 |
|
49 |
depend:: |
50 |
$(DEPEND) -s "#DO NOT DELETE" -- $(ALLDEFINES) -- $(SRCS) |
51 |
|
52 |
|
53 |
#DO NOT DELETE |
54 |
#DO NOT DELETE |
55 |
|
56 |
errSymTbl.o: ../../../share/src/libUnix/errSymTbl.c \ |
57 |
../../../share/epicsH/errMdef.h ../../../share/epicsH/error.h |
58 |
lstLib.o: ../../../share/src/libUnix/lstLib.c \ |
59 |
/usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/stdlib.h \ |
60 |
/usr/include/sys/feature_tests.h ../../../share/epicsH/lstLib.h |