diff options
author | net[shemminger]!shemminger <net[shemminger]!shemminger> | 2004-08-30 21:07:09 +0000 |
---|---|---|
committer | net[shemminger]!shemminger <net[shemminger]!shemminger> | 2004-08-30 21:07:09 +0000 |
commit | 8e64f6fe1fd7c7f52773a1ae10915b060fc008b8 (patch) | |
tree | 78f2912840a3a6032e98b821466ca33aca1a6078 /tc/Makefile | |
parent | d494aa372f776e324871375b3268da9bf9100302 (diff) |
Import patch gact_iproute-2.6.8_patch
(Logical change 1.74)
Diffstat (limited to 'tc/Makefile')
-rw-r--r-- | tc/Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tc/Makefile b/tc/Makefile index 4e9e683d..c83c378f 100644 --- a/tc/Makefile +++ b/tc/Makefile @@ -28,6 +28,14 @@ TCLIB += tc_red.o TCLIB += tc_cbq.o TCLIB += tc_estimator.o +ifeq ($(TC_CONFIG_ACTION_GACT),y) + TCMODULES += m_gact.o + CFLAGS += -DCONFIG_GACT +ifeq ($(TC_CONFIG_ACTION_PROB),y) + CFLAGS += -DCONFIG_GACT_PROB +endif +endif + TCSO := TCSO += q_netem.so ifeq ($(TC_CONFIG_ATM),y) @@ -37,6 +45,7 @@ endif NETEM_DIST := normal.dist pareto.dist paretonormal.dist LDLIBS += -L. -ltc -lm -ldl + LDFLAGS += -Wl,-export-dynamic %.so: %.c @@ -51,6 +60,7 @@ all: libtc.a tc $(TCSO) $(NETEM_DIST) tc: $(TCOBJ) $(LIBNETLINK) $(LIBUTIL) $(TCLIB) + libtc.a: $(TCLIB) $(AR) rcs $@ $(TCLIB) |