45 SRCS= $(OBJS:.o=.c)
46
47 SOURCES=$(SRCS) $(DRIVERS)
48
49 include ../Makefile.cmd
50
51 REMOTE= etc.remote
52 ACULOG= aculog
53 ROOTETCREMOTE= $(ROOTETC)/remote
54 ROOTACULOGD= $(ROOT)/var/adm
55 ROOTACULOG= $(ROOTACULOGD)/aculog
56
57 $(ROOTPROG) := FILEMODE = 4511
58 $(ROOTETCREMOTE) := FILEMODE = 644
59 $(ROOTACULOG) := FILEMODE = 600
60
61 LINTFLAGS += -u
62 CPPFLAGS += -DDEFBR=300 -DDEFFS=BUFSIZ -DACULOG -DUSG
63 CERRWARN += -_gcc=-Wno-parentheses
64 CERRWARN += -_gcc=-Wno-clobbered
65 CERRWARN += -_gcc=-Wno-uninitialized
66 CONFIG= -DV831 -DVENTEL -DV3451 -DDF02 -DDF03 -DBIZ1031 -DBIZ1022 -DHAYES
67 ACULIB= aculib/aculib.a
68 LDLIBS= $(ACULIB) $(LDLIBS.cmd)
69
70 CLOBBERFILES += $(ACULOG)
71
72 # install rules
73 $(ROOTACULOGD)/% : %
74 $(INS.file)
75
76 $(ROOTETC)/% : etc.%
77 $(INS.rename)
78
79 .KEEP_STATE:
80
81 .PARALLEL: $(OBJS)
82
83 all: $(PROG) $(REMOTE) $(ACULOG)
84
85 $(PROG): $(OBJS) $(ACULIB)
|
45 SRCS= $(OBJS:.o=.c)
46
47 SOURCES=$(SRCS) $(DRIVERS)
48
49 include ../Makefile.cmd
50
51 REMOTE= etc.remote
52 ACULOG= aculog
53 ROOTETCREMOTE= $(ROOTETC)/remote
54 ROOTACULOGD= $(ROOT)/var/adm
55 ROOTACULOG= $(ROOTACULOGD)/aculog
56
57 $(ROOTPROG) := FILEMODE = 4511
58 $(ROOTETCREMOTE) := FILEMODE = 644
59 $(ROOTACULOG) := FILEMODE = 600
60
61 LINTFLAGS += -u
62 CPPFLAGS += -DDEFBR=300 -DDEFFS=BUFSIZ -DACULOG -DUSG
63 CERRWARN += -_gcc=-Wno-parentheses
64 CERRWARN += -_gcc=-Wno-clobbered
65 CERRWARN += $(CNOWARN_UNINIT)
66 CONFIG= -DV831 -DVENTEL -DV3451 -DDF02 -DDF03 -DBIZ1031 -DBIZ1022 -DHAYES
67 ACULIB= aculib/aculib.a
68 LDLIBS= $(ACULIB) $(LDLIBS.cmd)
69
70 CLOBBERFILES += $(ACULOG)
71
72 # install rules
73 $(ROOTACULOGD)/% : %
74 $(INS.file)
75
76 $(ROOTETC)/% : etc.%
77 $(INS.rename)
78
79 .KEEP_STATE:
80
81 .PARALLEL: $(OBJS)
82
83 all: $(PROG) $(REMOTE) $(ACULOG)
84
85 $(PROG): $(OBJS) $(ACULIB)
|