6 MANPAGES
= winegcc.man.in
13 -DINCLUDEDIR
="\"${includedir}\"" \
14 -DDLLDIR
="\"${dlldir}\"" \
15 -DLIBDIR
="\"${libdir}\"" \
17 -DCPP
="\"$(CPPBIN)\"" \
19 -DPRELINK
="\"$(PRELINK)\""
21 winegcc
$(EXEEXT
): winegcc.o utils.o
22 $(CC
) $(CFLAGS
) -o
$@ winegcc.o utils.o
$(LIBPORT
) $(LDFLAGS
)
24 winecpp
$(EXEEXT
) wineg
++$(EXEEXT
): winegcc
$(EXEEXT
)
25 $(RM
) $@
&& $(LN_S
) winegcc
$(EXEEXT
) $@
27 .PHONY
: install install-dev
uninstall
29 install install-dev
:: $(PROGRAMS
) install-man-pages
30 $(INSTALL_PROGRAM
) winegcc
$(EXEEXT
) $(DESTDIR
)$(bindir)/winegcc
$(EXEEXT
)
31 cd
$(DESTDIR
)$(bindir) && $(RM
) wineg
++$(EXEEXT
) && $(LN_S
) winegcc
$(EXEEXT
) wineg
++$(EXEEXT
)
32 cd
$(DESTDIR
)$(bindir) && $(RM
) winecpp
$(EXEEXT
) && $(LN_S
) winegcc
$(EXEEXT
) winecpp
$(EXEEXT
)
33 cd
$(DESTDIR
)$(mandir)/man
$(prog_manext
) && $(RM
) wineg
++.
$(prog_manext
) && $(LN_S
) winegcc.
$(prog_manext
) wineg
++.
$(prog_manext
)
34 cd
$(DESTDIR
)$(mandir)/man
$(prog_manext
) && $(RM
) winecpp.
$(prog_manext
) && $(LN_S
) winegcc.
$(prog_manext
) winecpp.
$(prog_manext
)
37 $(RM
) $(DESTDIR
)$(bindir)/winegcc
$(EXEEXT
) $(DESTDIR
)$(bindir)/wineg
++$(EXEEXT
) $(DESTDIR
)$(bindir)/winecpp
$(EXEEXT
)
38 $(RM
) $(DESTDIR
)$(mandir)/man
$(prog_manext
)/wineg
++.
$(prog_manext
) $(DESTDIR
)$(mandir)/man
$(prog_manext
)/winecpp.
$(prog_manext
)