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

Contents of /sun2.4/alarm/printer/Makefile

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


Revision 1.2 - (show annotations)
Thu Aug 26 20:37:06 1999 UTC (23 years, 7 months ago) by tis4000
Branch: MAIN
CVS Tags: t55baseline, Duluth_baseline, LMC_baseline, HEAD
Changes since 1.1: +9 -49 lines
made Makefile.depend dependant on Makefile

1 CC = gcc -g -inostdinc -I/usr/include -DUNIX -DATT -DSOLARIS -DUSECB63
2 CFLAGS = -g -c -Wunused
3
4 RM = rm -f
5
6 TOP = ../../../..
7 SHAREPATH = $(TOP)/share
8 SRCPATH = $(TOP)/share/src
9 ALARMPATH = $(SRCPATH)/alarm
10 COMSRC = $(ALARMPATH)/common
11 SRC = $(ALARMPATH)/printer
12
13 INCLUDES = \
14 -I$(SRC) \
15 -I$(ALARMPATH) \
16 -I$(COMSRC) \
17 -I$(TOP)/share/epicsH
18
19 ALLDEFINES = $(INCLUDES) -DSOLARIS -DUSECB63
20
21 LIBS = \
22 ../../bin/tisMsgLib.a \
23 -lsocket -lnsl
24
25 SRCS = $(SRC)/alarmPrinter.c
26
27 OBJS = alarmPrinter.o
28
29 all : alarmPrinter
30
31 alarmPrinter : $(OBJS)
32 $(CC) -o alarmPrinter alarmPrinter.o $(LIBS)
33
34 alarmPrinter.o : $(SRC)/alarmPrinter.c
35 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/alarmPrinter.c
36
37 install::
38 cp -p alarmPrinter ../../bin
39
40 clean::
41 $(RM) $(OBJS)
42 $(RM) alarmPrinter
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