1 LIBS
= -lXpm
-lXext
-lX11
-ldockapp
5 INSTALL_PROGRAM
= $(INSTALL
)
6 INSTALL_DATA
= $(INSTALL
) -m
644
10 LIBDIR
= $(PREFIX
)/lib
/wmppp.app
12 MANDIR
= $(PREFIX
)/share
/man
/man1
14 all:: wmppp getmodemspeed
17 $(CC
) $(CPPFLAGS
) $(CFLAGS
) -c
-o
$@
$<
20 $(CC
) $(LDFLAGS
) -o
$@
$^
$(LIBS
)
22 getmodemspeed
: getmodemspeed.o
23 $(CC
) $(LDFLAGS
) -o
$@
$^
$(LIBS
)
26 for i in
$(OBJS
) ; do \
30 rm -f wmppp getmodemspeed
33 $(INSTALL
) -d
$(DESTDIR
)$(BINDIR
)
34 $(INSTALL_PROGRAM
) wmppp
$(DESTDIR
)$(BINDIR
)
35 $(INSTALL
) -d
$(DESTDIR
)$(LIBDIR
)
36 $(INSTALL_PROGRAM
) getmodemspeed
$(DESTDIR
)$(LIBDIR
)
37 $(INSTALL
) -d
$(DESTDIR
)$(SYSCONFDIR
)
38 $(INSTALL_DATA
) user.wmppprc
$(DESTDIR
)$(SYSCONFDIR
)/wmppprc
39 $(INSTALL
) -d
$(DESTDIR
)$(MANDIR
)
40 $(INSTALL_DATA
) wmppp
.1 $(DESTDIR
)$(MANDIR
)
41 echo
"WMPPP installation finished."