~ubuntu-branches/ubuntu/raring/iproute/raring-proposed

« back to all changes in this revision

Viewing changes to tc/Makefile

  • Committer: Package Import Robot
  • Author(s): Andreas Henriksson, Kamal Mostafa
  • Date: 2012-12-12 12:29:03 UTC
  • mfrom: (23.2.7 experimental)
  • Revision ID: package-import@ubuntu.com-20121212122903-toii0ipil3vd3inj
Tags: 20121211-2
[ Kamal Mostafa ]
Enable cross-compile support in debian/rules

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
TCMODULES += q_fq_codel.o
53
53
 
54
54
ifeq ($(TC_CONFIG_IPSET), y)
55
 
  TCMODULES += em_ipset.o
 
55
  ifeq ($(TC_CONFIG_XT), y)
 
56
    TCMODULES += em_ipset.o
 
57
  endif
56
58
endif
57
59
 
58
60
TCSO :=
133
135
        $(CC) $(CFLAGS) $(LDFLAGS) -shared -fpic -o q_atm.so q_atm.c -latm
134
136
 
135
137
m_xt.so: m_xt.c
136
 
        $(CC) $(CFLAGS) $(LDFLAGS) -shared -fpic -o m_xt.so m_xt.c $$(pkg-config xtables --cflags --libs)
 
138
        $(CC) $(CFLAGS) $(LDFLAGS) -shared -fpic -o m_xt.so m_xt.c $$($(PKG_CONFIG) xtables --cflags --libs)
137
139
 
138
140
m_xt_old.so: m_xt_old.c
139
 
        $(CC) $(CFLAGS) $(LDFLAGS) -shared -fpic -o m_xt_old.so m_xt_old.c $$(pkg-config xtables --cflags --libs)
 
141
        $(CC) $(CFLAGS) $(LDFLAGS) -shared -fpic -o m_xt_old.so m_xt_old.c $$($(PKG_CONFIG) xtables --cflags --libs)
140
142
 
141
143
%.yacc.c: %.y
142
144
        $(YACC) $(YACCFLAGS) -o $@ $<