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