2 LIBDIR
= -L
/usr
/X11R6
/lib
-L@XLIB@
3 LIBS
= -lXpm
-lXext
-lX11
4 CFLAGS
= -O2
-Wall
-I..
-I@XINC@
5 RLFLAG
= -DVERSION
=\"@MK_YAWMPPP_RELEASE@
\" -D@SYSDEF@
6 OBJS
= yawmppp.o wmgeneral.o
7 DOTHS
= yawmppp.h wmgeneral.h ..
/misc.h ..
/list.h ..
/isprc.h ..
/ycommon.h
8 EOBJS
= ..
/isprc.o ..
/ycommon.o ..
/misc.o ..
/list.o
12 all: yawmppp_bin getmodemspeed_bin
14 $(OBJS
): %.o
: %.c
$(DOTHS
) $(PIXMAPS
)
15 $(CC
) -c
$(CFLAGS
) $(RLFLAG
) $< -o
$*.o
18 $(CC
) -o yawmppp
$^
$(EOBJS
) -lXext
$(LIBDIR
) $(LIBS
)
20 getmodemspeed_bin
: getmodemspeed.c
21 $(CC
) $(CFLAGS
) getmodemspeed.c
-o yagetmodemspeed
24 rm -f
$(OBJS
) yawmppp yagetmodemspeed
30 $(PROGINST
) -m
0755 yawmppp @
prefix@
/bin
/yawmppp
31 $(PROGINST
) -m
0755 yagetmodemspeed
/etc
/ppp
/yagetmodemspeed
34 $(PROGINST
) -s
-m
0755 yawmppp @
prefix@
/bin
/yawmppp
35 $(PROGINST
) -s
-m
0755 yagetmodemspeed
/etc
/ppp
/yagetmodemspeed