krnl386: Properly handle failure to set a 16-bit LDT entry.
[wine.git] / tools / winegcc / Makefile.in
blob3975ca55d106512247ca664b18df75a26794ba63
1 PROGRAMS = \
2 winecpp$(EXEEXT) \
3 winegcc$(EXEEXT) \
4 wineg++$(EXEEXT)
6 MANPAGES = winegcc.man.in
8 C_SRCS = \
9 utils.c \
10 winegcc.c
12 winegcc_EXTRADEFS = \
13 -DINCLUDEDIR="\"${includedir}\"" \
14 -DDLLDIR="\"${dlldir}\"" \
15 -DLIBDIR="\"${libdir}\"" \
16 -DCC="\"$(CC)\"" \
17 -DCPP="\"$(CPPBIN)\"" \
18 -DCXX="\"$(CXX)\"" \
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)
36 uninstall::
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)