2 -DINCLUDEDIR
="\"$(includedir)\"" \
3 -DDLLDIR
="\"$(dlldir)\"" \
4 -DLIBDIR
="\"$(libdir)\"" \
5 -DDLLFLAGS
="\"@DLLFLAGS@\"" \
6 -DLDDLLFLAGS
="\"@LDDLLFLAGS@\"" \
10 -DPRELINK
="\"$(PRELINK)\""
12 TOPSRCDIR
= @top_srcdir@
24 MANPAGES
= winegcc.man
30 INSTALLDIRS
= $(DESTDIR
)$(bindir) $(DESTDIR
)$(mandir)/man
$(prog_manext
)
32 all: $(PROGRAMS
) $(MANPAGES
)
36 winegcc
$(EXEEXT
): winegcc.o utils.o
37 $(CC
) $(CFLAGS
) -o
$@ winegcc.o utils.o
$(LIBPORT
) $(LDFLAGS
)
39 winecpp
$(EXEEXT
) wineg
++$(EXEEXT
): winegcc
$(EXEEXT
)
40 $(RM
) $@
&& $(LN_S
) winegcc
$(EXEEXT
) $@
42 install install-dev
:: $(PROGRAMS
) $(MANPAGES
) $(INSTALLDIRS
)
43 $(INSTALL_PROGRAM
) winegcc
$(EXEEXT
) $(DESTDIR
)$(bindir)/winegcc
$(EXEEXT
)
44 cd
$(DESTDIR
)$(bindir) && $(RM
) wineg
++$(EXEEXT
) && $(LN_S
) winegcc
$(EXEEXT
) wineg
++$(EXEEXT
)
45 cd
$(DESTDIR
)$(bindir) && $(RM
) winecpp
$(EXEEXT
) && $(LN_S
) winegcc
$(EXEEXT
) winecpp
$(EXEEXT
)
46 $(INSTALL_DATA
) winegcc.man
$(DESTDIR
)$(mandir)/man
$(prog_manext
)/winegcc.
$(prog_manext
)
47 cd
$(DESTDIR
)$(mandir)/man
$(prog_manext
) && $(RM
) wineg
++.
$(prog_manext
) && $(LN_S
) winegcc.
$(prog_manext
) wineg
++.
$(prog_manext
)
50 $(RM
) $(DESTDIR
)$(bindir)/winegcc
$(EXEEXT
) $(DESTDIR
)$(bindir)/wineg
++$(EXEEXT
) $(DESTDIR
)$(bindir)/winecpp
$(EXEEXT
) \
51 $(DESTDIR
)$(mandir)/man
$(prog_manext
)/winegcc.
$(prog_manext
) $(DESTDIR
)$(mandir)/man
$(prog_manext
)/wineg
++.
$(prog_manext
)