www.usr.com/support/gpl/USR9108_release1.3.tar.gz
[bcm963xx.git] / userapps / opensource / atm2684 / Makefile
1 #all:
2 #       cd atm; $(MAKE) $(MFLAGS) all
3 #       cp ./atm/lib/libatm.a ./br2684ctl
4 #       cd br2684ctl; $(MAKE) $(MFLAGS) 
5 libatm:
6         cd atm; $(MAKE) $(MFLAGS) all
7         cp ./atm/lib/libatm.a ./br2684ctl
8
9 install:
10         cd br2684ctl; $(MAKE) $(MFLAGS) dynamic
11         install -m 755 br2684ctl/br2684ctl $(INSTALL_DIR)/bin
12         $(STRIP) $(INSTALL_DIR)/bin/br2684ctl
13
14 dynamic: libatm install
15
16 static: libatm 
17         cd br2684ctl; $(MAKE) $(MFLAGS) static
18
19 clean:
20         rm -f `find . -name '*.[oas]' -print`
21         rm -f `find . -name 'core' -print`
22         rm -f `find . -name '*~' -print`
23         cd atm; $(MAKE) clean
24         cd br2684ctl; $(MAKE) clean
25
26 dist-clean:     clean
27         rm -f Makefile `find . -name Makefile -print`