11 ifeq ($(PLATFORM
),ppc
)
12 CCFLAGS
= -g
-D_GNU_SOURCE
-Wall
-I..
/..
/linuxppc
/linux-2.4
.19-rc3
/include
14 CCFLAGS
= -g
-D_GNU_SOURCE
-Wall
-I..
/..
/linux
/linux
/include #-mips32
16 CCFLAGS
+= $(EXTRACFLAGS
)
18 ifeq ($(strip $(DOSTATIC
)),true
)
27 ALL_OBJS
= ${VLAN_OBJS}
29 VCONFIG
= vconfig
#program to be created
35 #This is pretty silly..
40 $(VCONFIG
): $(VLAN_OBJS
)
41 $(CC
) $(CCFLAGS
) $(LDFLAGS
) -o
$(VCONFIG
) $(VLAN_OBJS
) $(LDLIBS
)
46 install -d
$(INSTALLDIR
)/vlan
/usr
/sbin
47 install -m
755 vconfig
$(INSTALLDIR
)/vlan
/usr
/sbin
48 $(STRIP
) $(INSTALLDIR
)/vlan
/usr
/sbin
/vconfig
50 $(ALL_OBJS
): %.o
: %.c
%.h
53 $(CC
) $(CCFLAGS
) -c
$<
59 rm -f
*.flc
${VCONFIG} vconfig.h