29 EVERDIR = $(FMADIR)/eversholt
30 EVERCMNSRC = $(EVERDIR)/common
31
32 EFTCLASS = reader
33 writer_WRTOBJ = eftwrite.o
34 reader_WRTOBJ =
35
36 CMNOBJS = alloc.o check.o eftread.o esclex.o io.o literals.o lut.o \
37 out.o ptree.o stable.o stats.o tree.o $($(EFTCLASS)_WRTOBJ)
38
39 COMMONOBJS = escparse.o $(CMNOBJS)
40 COMMONSRCS = $(COMMONOBJS:%.o=$(EVERCMNSRC)/%.c)
41
42 LINTSRCS = $(CMNOBJS:%.o=$(EVERCMNSRC)/%.c)
43 LINTFLAGS = -mnux
44
45 $(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG
46
47 CPPFLAGS += -I$(EVERCMNSRC) -I.
48 CFLAGS += $(CCVERBOSE)
49 CERRWARN += -_gcc=-Wno-uninitialized
50 CERRWARN += -_gcc=-Wno-unused-label
51 CERRWARN += -_gcc=-Wno-parentheses
52 CERRWARN += -_gcc=-Wno-switch
53
54 SMOFF += all_func_returns
55
56 CTFCONVO = $(CTFCONVERT_O)
57 CTFMRG = $(CTFMERGE) -L VERSION -o $@ $(OBJS)
58
59 debug := COPTFLAG =
60 debug := COPTFLAG64 =
61
62 ROOTPDIR = $(ROOT)/usr/lib/fm
63 ROOTPROG = $(ROOTPDIR)/$(PROG)
64
65 install: $(PROG) $(ROOTPROG)
66
67 install_h: $(ROOTHDIR) $(ROOTHDRS)
68
69 lint: $(LINTSRCS)
|
29 EVERDIR = $(FMADIR)/eversholt
30 EVERCMNSRC = $(EVERDIR)/common
31
32 EFTCLASS = reader
33 writer_WRTOBJ = eftwrite.o
34 reader_WRTOBJ =
35
36 CMNOBJS = alloc.o check.o eftread.o esclex.o io.o literals.o lut.o \
37 out.o ptree.o stable.o stats.o tree.o $($(EFTCLASS)_WRTOBJ)
38
39 COMMONOBJS = escparse.o $(CMNOBJS)
40 COMMONSRCS = $(COMMONOBJS:%.o=$(EVERCMNSRC)/%.c)
41
42 LINTSRCS = $(CMNOBJS:%.o=$(EVERCMNSRC)/%.c)
43 LINTFLAGS = -mnux
44
45 $(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG
46
47 CPPFLAGS += -I$(EVERCMNSRC) -I.
48 CFLAGS += $(CCVERBOSE)
49 CERRWARN += $(CNOWARN_UNINIT)
50 CERRWARN += -_gcc=-Wno-unused-label
51 CERRWARN += -_gcc=-Wno-parentheses
52 CERRWARN += -_gcc=-Wno-switch
53
54 SMOFF += all_func_returns
55
56 CTFCONVO = $(CTFCONVERT_O)
57 CTFMRG = $(CTFMERGE) -L VERSION -o $@ $(OBJS)
58
59 debug := COPTFLAG =
60 debug := COPTFLAG64 =
61
62 ROOTPDIR = $(ROOT)/usr/lib/fm
63 ROOTPROG = $(ROOTPDIR)/$(PROG)
64
65 install: $(PROG) $(ROOTPROG)
66
67 install_h: $(ROOTHDIR) $(ROOTHDRS)
68
69 lint: $(LINTSRCS)
|