23 # Use is subject to license terms.
24 #
25
26 MANIFEST = mpxio-upgrade.xml
27 SVCMETHOD = mpxio-upgrade
28
29 include ../Makefile.cmd
30
31 SHFILES = stmsboot
32 STMSBOOT_UTIL = stmsboot_util
33 OBJS = $(STMSBOOT_UTIL).o
34 SRCS = $(OBJS:%.o=%.c)
35
36 POFILES = $(SRCS:.c=.po) $(SHFILES:%=%.po)
37 POFILE = pstmsboot.po
38 CLOBBERFILES = $(SHFILES) $(STMSBOOT_UTIL) $(POFILE) $(OBJS)
39 ROOTFSLIB_MPXIO = $(ROOT)/lib/mpxio
40
41 ROOTMANIFESTDIR = $(ROOTSVCSYSTEMDEVICE)
42 LDLIBS += -ldevinfo -ldevid -lnvpair -lumem
43 CERRWARN += -_gcc=-Wno-uninitialized
44
45 .KEEP_STATE:
46
47 all: $(STMSBOOT_UTIL) $(SHFILES)
48
49 install: all \
50 $(ROOTFSLIB_MPXIO) \
51 $(ROOTFSLIB_MPXIO)/$(STMSBOOT_UTIL) \
52 $(ROOTMANIFEST) \
53 $(ROOTSVCMETHOD) \
54 $(ROOTUSRSBIN)/stmsboot
55
56 check: $(CHKMANIFEST)
57 $(CSTYLE) -pP $(SRCS)
58
59 clean:
60 $(RM) $(POFILES)
61
62 lint: lint_SRCS
63
|
23 # Use is subject to license terms.
24 #
25
26 MANIFEST = mpxio-upgrade.xml
27 SVCMETHOD = mpxio-upgrade
28
29 include ../Makefile.cmd
30
31 SHFILES = stmsboot
32 STMSBOOT_UTIL = stmsboot_util
33 OBJS = $(STMSBOOT_UTIL).o
34 SRCS = $(OBJS:%.o=%.c)
35
36 POFILES = $(SRCS:.c=.po) $(SHFILES:%=%.po)
37 POFILE = pstmsboot.po
38 CLOBBERFILES = $(SHFILES) $(STMSBOOT_UTIL) $(POFILE) $(OBJS)
39 ROOTFSLIB_MPXIO = $(ROOT)/lib/mpxio
40
41 ROOTMANIFESTDIR = $(ROOTSVCSYSTEMDEVICE)
42 LDLIBS += -ldevinfo -ldevid -lnvpair -lumem
43 CERRWARN += $(CNOWARN_UNINIT)
44
45 .KEEP_STATE:
46
47 all: $(STMSBOOT_UTIL) $(SHFILES)
48
49 install: all \
50 $(ROOTFSLIB_MPXIO) \
51 $(ROOTFSLIB_MPXIO)/$(STMSBOOT_UTIL) \
52 $(ROOTMANIFEST) \
53 $(ROOTSVCMETHOD) \
54 $(ROOTUSRSBIN)/stmsboot
55
56 check: $(CHKMANIFEST)
57 $(CSTYLE) -pP $(SRCS)
58
59 clean:
60 $(RM) $(POFILES)
61
62 lint: lint_SRCS
63
|