equal
deleted
inserted
replaced
28 ILBD_OBJS= ilbd_main.o ilbd_support.o ilbd_sg.o ilbd_rules.o ilbd_hc.o \ |
28 ILBD_OBJS= ilbd_main.o ilbd_support.o ilbd_sg.o ilbd_rules.o ilbd_hc.o \ |
29 ilbd_nat.o ilbd_scf.o |
29 ilbd_nat.o ilbd_scf.o |
30 ILBD_SRCS= $(ILBD_OBJS:%.o=%.c) |
30 ILBD_SRCS= $(ILBD_OBJS:%.o=%.c) |
31 HDRS= ilbd.h |
31 HDRS= ilbd.h |
32 |
32 |
33 LIST_OBJS= list.o |
|
34 LIST_SRCS= $(LIST_OBJS:%.o=../../../uts/common/os/%.c) |
|
35 |
|
36 LIB_INC= $(SRC)/lib/libilb/common |
33 LIB_INC= $(SRC)/lib/libilb/common |
37 |
34 |
38 OBJS= $(ILBD_OBJS) $(LIST_OBJS) |
35 OBJS= $(ILBD_OBJS) |
39 SRCS= $(ILBD_SRCS) $(LIST_SRCS) |
36 SRCS= $(ILBD_SRCS) |
40 |
37 |
41 ILBSUBDIRS= ilb |
38 ILBSUBDIRS= ilb |
42 |
39 |
43 include ../../../Makefile.cmd |
40 include ../../../Makefile.cmd |
44 include ../../../Makefile.ctf |
41 include ../../../Makefile.ctf |
63 clean:= TARGET= clean |
60 clean:= TARGET= clean |
64 clobber:= TARGET= clobber |
61 clobber:= TARGET= clobber |
65 lint:= TARGET= lint |
62 lint:= TARGET= lint |
66 |
63 |
67 |
64 |
68 LDLIBS += -lsocket -lsecdb -lnsl -lilb -lscf -linetutil -lbsm |
65 LDLIBS += -lcmdutils -lsocket -lsecdb -lnsl -lilb -lscf -linetutil -lbsm |
69 |
66 |
70 .KEEP_STATE: |
67 .KEEP_STATE: |
71 |
68 |
72 all: $(PROG) |
69 all: $(PROG) |
73 |
70 |
93 |
90 |
94 all install clean clobber lint: $(ILBSUBDIRS) |
91 all install clean clobber lint: $(ILBSUBDIRS) |
95 |
92 |
96 include ../../../Makefile.targ |
93 include ../../../Makefile.targ |
97 |
94 |
98 # the below is needed to get list.o built |
|
99 %.o: ../../../../uts/common/os/%.c |
|
100 $(COMPILE.c) -o $@ $< |
|
101 $(POST_PROCESS_O) |
|
102 |
|
103 $(ILBSUBDIRS): FRC |
95 $(ILBSUBDIRS): FRC |
104 @cd $@; pwd; $(MAKE) $(TARGET) |
96 @cd $@; pwd; $(MAKE) $(TARGET) |
105 |
97 |
106 FRC: |
98 FRC: |