40
41 ROOTDEMODIR = $(ROOT)/usr/demo/comstar
42 ROOTDEMOBINDIR = $(ROOTDEMODIR)/bin
43 ROOTDEMOFILES = $(DEMOFILES:%=$(ROOTDEMODIR)/%)
44 ROOTDEMOBINFILES = $(DEMOBINFILES:%=$(ROOTDEMOBINDIR)/%)
45
46 PRODUCT= $(PROG)
47 SRCS= $(OBJS:%.o=./%.c)
48 OBJS= stmfproxy.o
49 LLOBJS= $(OBJS:%.o=%.ll)
50 #POFILES= $(OBJS:%.o=%.po)
51 #POFILE= stmfproxy.po
52
53 $(ROOTDEMODIR)/stmfproxy.xml := FILEMODE = 0444
54
55
56 CCVERBOSE =
57 LDLIBS += -lnsl -lstmf -lstmfproxy
58 CPPFLAGS += -I. -I$(COMMONBASE)/cmdparse
59
60 # Uncomment the following to help with debugging
61 #CFLAGS += -g
62 #i386_COPTFLAG=
63 #i386_CCOPTFLAG=
64
65 .KEEP_STATE:
66
67 $(PROG): $(OBJS)
68 $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
69 $(POST_PROCESS)
70
71 LINTFLAGS += -erroff=E_FUNC_HAS_NO_RETURN_STMT
72 LINTFLAGS += -erroff=E_BAD_PTR_CAST_ALIGN
73
74 .PARALLEL: $(OBJS)
75
76 all: $(PROG)
77
78 clean:
79 $(RM) $(PROG) $(OBJS) $(LLOBJS)
80
81 lint: lint_SRCS
82
83 #$(POFILE): $(POFILES)
84 # $(RM) $@
|
40
41 ROOTDEMODIR = $(ROOT)/usr/demo/comstar
42 ROOTDEMOBINDIR = $(ROOTDEMODIR)/bin
43 ROOTDEMOFILES = $(DEMOFILES:%=$(ROOTDEMODIR)/%)
44 ROOTDEMOBINFILES = $(DEMOBINFILES:%=$(ROOTDEMOBINDIR)/%)
45
46 PRODUCT= $(PROG)
47 SRCS= $(OBJS:%.o=./%.c)
48 OBJS= stmfproxy.o
49 LLOBJS= $(OBJS:%.o=%.ll)
50 #POFILES= $(OBJS:%.o=%.po)
51 #POFILE= stmfproxy.po
52
53 $(ROOTDEMODIR)/stmfproxy.xml := FILEMODE = 0444
54
55
56 CCVERBOSE =
57 LDLIBS += -lnsl -lstmf -lstmfproxy
58 CPPFLAGS += -I. -I$(COMMONBASE)/cmdparse
59
60 .KEEP_STATE:
61
62 $(PROG): $(OBJS)
63 $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
64 $(POST_PROCESS)
65
66 LINTFLAGS += -erroff=E_FUNC_HAS_NO_RETURN_STMT
67 LINTFLAGS += -erroff=E_BAD_PTR_CAST_ALIGN
68
69 .PARALLEL: $(OBJS)
70
71 all: $(PROG)
72
73 clean:
74 $(RM) $(PROG) $(OBJS) $(LLOBJS)
75
76 lint: lint_SRCS
77
78 #$(POFILE): $(POFILES)
79 # $(RM) $@
|