34 POFILE = $(PROG)_all.po
35
36 LDLIBS += -ladutils -lnsl -lumem
37 LDFLAGS += -R'$$ORIGIN/../lib'
38
39 INCS += -I. -I../../../lib/libadutils/common
40
41 LINTFLAGS += -xerroff=E_NAME_DEF_NOT_USED2
42
43 CFLAGS += $(CCVERBOSE)
44 $(OBJS) := CPPFLAGS += $(INCS) -D_REENTRANT
45 $(POFILE) := CPPFLAGS += $(INCS)
46
47 lint_SRCS := CPPFLAGS += $(INCS)
48
49 .KEEP_STATE:
50
51 all: $(PROG)
52
53 $(PROG): $(OBJS) FRC
54 $(LINK.c) -g -o $@ $(OBJS) $(LDLIBS)
55 $(POST_PROCESS)
56
57 $(POFILE): $(POFILES)
58 $(RM) $@
59 cat $(POFILES) > $@
60
61 install: all $(ROOTPROG)
62
63 clean:
64 $(RM) $(OBJS)
65
66 lint: lint_SRCS
67
68 include ../../Makefile.targ
69
70 FRC:
|
34 POFILE = $(PROG)_all.po
35
36 LDLIBS += -ladutils -lnsl -lumem
37 LDFLAGS += -R'$$ORIGIN/../lib'
38
39 INCS += -I. -I../../../lib/libadutils/common
40
41 LINTFLAGS += -xerroff=E_NAME_DEF_NOT_USED2
42
43 CFLAGS += $(CCVERBOSE)
44 $(OBJS) := CPPFLAGS += $(INCS) -D_REENTRANT
45 $(POFILE) := CPPFLAGS += $(INCS)
46
47 lint_SRCS := CPPFLAGS += $(INCS)
48
49 .KEEP_STATE:
50
51 all: $(PROG)
52
53 $(PROG): $(OBJS) FRC
54 $(LINK.c) $(CCGDEBUG) -o $@ $(OBJS) $(LDLIBS)
55 $(POST_PROCESS)
56
57 $(POFILE): $(POFILES)
58 $(RM) $@
59 cat $(POFILES) > $@
60
61 install: all $(ROOTPROG)
62
63 clean:
64 $(RM) $(OBJS)
65
66 lint: lint_SRCS
67
68 include ../../Makefile.targ
69
70 FRC:
|