27
28 OBJS = mfstscan.o \
29 manifest_find.o \
30 manifest_hash.o
31
32 SRCS = mfstscan.c \
33 ../common/manifest_find.c \
34 ../common/manifest_hash.c
35
36 POFILES = $(SRCS:.c=.po)
37
38 ROOTLIBSVCBINPROG = $(ROOT)/lib/svc/bin/$(PROG)
39
40 include ../../Makefile.cmd
41
42 POFILE = $(PROG)_all.po
43 CPPFLAGS += -I../common
44 LDLIBS += -lscf -luutil -lmd5
45 CLOBBERFILES += $(POFILES)
46
47 CERRWARN += -_gcc=-Wno-uninitialized
48 CERRWARN += -_gcc=-Wno-unused-label
49
50 lint := LINTFLAGS = -ux -erroff=E_GLOBAL_COULD_BE_STATIC2
51
52 .KEEP_STATE:
53
54 all: $(PROG)
55
56 $(PROG): $(OBJS)
57 $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
58 $(POST_PROCESS)
59
60 $(POFILE): $(POFILES)
61 cat $(POFILES) > $(POFILE)
62
63 install: all $(ROOTLIBSVCBINPROG)
64
65 $(ROOTLIBSVCBIN)/%: %
66 $(INS.file)
67
|
27
28 OBJS = mfstscan.o \
29 manifest_find.o \
30 manifest_hash.o
31
32 SRCS = mfstscan.c \
33 ../common/manifest_find.c \
34 ../common/manifest_hash.c
35
36 POFILES = $(SRCS:.c=.po)
37
38 ROOTLIBSVCBINPROG = $(ROOT)/lib/svc/bin/$(PROG)
39
40 include ../../Makefile.cmd
41
42 POFILE = $(PROG)_all.po
43 CPPFLAGS += -I../common
44 LDLIBS += -lscf -luutil -lmd5
45 CLOBBERFILES += $(POFILES)
46
47 CERRWARN += $(CNOWARN_UNINIT)
48 CERRWARN += -_gcc=-Wno-unused-label
49
50 lint := LINTFLAGS = -ux -erroff=E_GLOBAL_COULD_BE_STATIC2
51
52 .KEEP_STATE:
53
54 all: $(PROG)
55
56 $(PROG): $(OBJS)
57 $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
58 $(POST_PROCESS)
59
60 $(POFILE): $(POFILES)
61 cat $(POFILES) > $(POFILE)
62
63 install: all $(ROOTLIBSVCBINPROG)
64
65 $(ROOTLIBSVCBIN)/%: %
66 $(INS.file)
67
|