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

Annotation of /sun2.4/imps/Makefile

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


Revision 1.3 - (hide annotations)
Thu Aug 26 21:00:15 1999 UTC (23 years, 9 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 -inostdinc -I/usr/include -DSOLARIS
2     CFLAGS = -Wunused
3    
4     RM = rm -f
5    
6     TOP = ../../..
7     SHAREPATH = $(TOP)/share
8     SRCPATH = $(SHAREPATH)/src
9     SRC = $(SRCPATH)/imps
10    
11     INCLUDES = \
12     -I$(SRC) \
13     -I$(SHAREPATH)/epicsH
14    
15     ALLDEFINES = $(INCLUDES) -DSOLARIS
16    
17     SRCS = \
18     $(SRC)/bootld.c \
19     $(SRC)/rerouted.c
20    
21     LIBS = ../bin/tisMsgLib.a
22    
23 tis4000 1.2 all: depend bootld rerouted
24 tis4000 1.1
25     bootld: $(SRC)/bootld.c
26     $(RM) bootld
27     $(CC) -o bootld -g $(CFLAGS) $(INCLUDES) $(SRC)/bootld.c -lsocket -lnsl -ldl
28    
29     rerouted: $(SRC)/rerouted.c
30     $(RM) rerouted
31     $(CC) -o rerouted -g $(CFLAGS) $(INCLUDES) -DBSD_COMP $(SRC)/rerouted.c \
32     $(LIBS) -ldl -lkvm -lsocket -lnsl -lelf
33    
34     install:
35     $(RM) ../bin/bootld
36     cp -p bootld ../bin ; chmod 4555 ../bin/bootld
37     $(RM) ../bin/rerouted
38     cp -p rerouted ../bin ; chmod 4555 ../bin/rerouted
39    
40     clean:
41     $(RM) bootld
42     $(RM) rerouted
43 tis4000 1.2 $(RM) Makefile.depend
44    
45     depend: Makefile.depend
46    
47 tis4000 1.3 Makefile.depend: $(SRCS) Makefile
48 tis4000 1.2 $(RM) Makefile.depend
49     $(CC) -M $(ALLDEFINES) $(SRCS) > Makefile.depend
50    
51     include Makefile.depend
52 tis4000 1.1

  ViewVC Help
Powered by ViewVC 1.1.28