|
Lines 272-278
RT_POSIX_OBJS = core/sys/posix/dirent.o core/sys/posix/netdb.o \
Link Here
|
| 272 |
core/sys/posix/sys/select.o core/sys/posix/sys/socket.o \ |
272 |
core/sys/posix/sys/select.o core/sys/posix/sys/socket.o \ |
| 273 |
core/sys/posix/sys/stat.o core/sys/posix/sys/wait.o \ |
273 |
core/sys/posix/sys/stat.o core/sys/posix/sys/wait.o \ |
| 274 |
core/sys/posix/sys/un.o core/sys/posix/sys/utsname.o \ |
274 |
core/sys/posix/sys/un.o core/sys/posix/sys/utsname.o \ |
| 275 |
core/sys/posix/sys/utsname.o core/sys/posix/netinet/in_.o |
275 |
core/sys/posix/netinet/in_.o |
| 276 |
|
276 |
|
| 277 |
RT_WINDOWS_OBJS = core/sys/windows/dbghelp.o core/sys/windows/dll.o \ |
277 |
RT_WINDOWS_OBJS = core/sys/windows/dbghelp.o core/sys/windows/dll.o \ |
| 278 |
core/sys/windows/stacktrace.o core/sys/windows/threadaux.o \ |
278 |
core/sys/windows/stacktrace.o core/sys/windows/threadaux.o \ |
|
Lines 578-584
uninstall-am:
Link Here
|
| 578 |
uninstall-am |
578 |
uninstall-am |
| 579 |
|
579 |
|
| 580 |
|
580 |
|
| 581 |
all-local: libgdruntime.a |
581 |
all-local: libgdruntime.a libgdruntime.so |
| 582 |
|
582 |
|
| 583 |
%.o : %.d |
583 |
%.o : %.d |
| 584 |
$(GDC) -o $@ $(ALL_DFLAGS) -c $< |
584 |
$(GDC) -o $@ $(ALL_DFLAGS) -c $< |
|
Lines 629-634
libgdruntime.a : $(ALL_DRUNTIME_OBJS) \
Link Here
|
| 629 |
@BACKTRACE_SUPPORTED_FALSE@ $(AR) -r $@ $(ALL_DRUNTIME_OBJS) |
629 |
@BACKTRACE_SUPPORTED_FALSE@ $(AR) -r $@ $(ALL_DRUNTIME_OBJS) |
| 630 |
$(RANLIB) $@ |
630 |
$(RANLIB) $@ |
| 631 |
|
631 |
|
|
|
632 |
libgdruntime.so : $(ALL_DRUNTIME_OBJS) \ |
| 633 |
$(subst core/,$(IMPDIR)/core/,$(CORE_IMPORTS)) \ |
| 634 |
$(subst gcc/,$(IMPDIR)/gcc/,$(GCC_IMPORTS)) |
| 635 |
@BACKTRACE_SUPPORTED_TRUE@ $(GDC) -nophoboslib -shared -o $@ $(ALL_DRUNTIME_OBJS) $(LIBBACKTRACE_LIB) |
| 636 |
@BACKTRACE_SUPPORTED_FALSE@ $(GDC) -nophoboslib -shared -o $@ $(ALL_DRUNTIME_OBJS) |
| 637 |
|
| 632 |
libgdruntime_t.a : $(ALL_DRUNTIME_OBJS:.o=.t.o) |
638 |
libgdruntime_t.a : $(ALL_DRUNTIME_OBJS:.o=.t.o) |
| 633 |
@BACKTRACE_SUPPORTED_TRUE@ cp -f $(LIBBACKTRACE_LIB) $@ |
639 |
@BACKTRACE_SUPPORTED_TRUE@ cp -f $(LIBBACKTRACE_LIB) $@ |
| 634 |
@BACKTRACE_SUPPORTED_TRUE@ $(AR) -q $@ $(ALL_DRUNTIME_OBJS:.o=.t.o) |
640 |
@BACKTRACE_SUPPORTED_TRUE@ $(AR) -q $@ $(ALL_DRUNTIME_OBJS:.o=.t.o) |
|
Lines 641-650
unittest: libgdruntime.a libgdruntime_t.a unittest.o
Link Here
|
| 641 |
#--------------------------------------# |
647 |
#--------------------------------------# |
| 642 |
# Install, doc, etc targets |
648 |
# Install, doc, etc targets |
| 643 |
|
649 |
|
| 644 |
install-exec-local: libgdruntime.a |
650 |
install-exec-local: libgdruntime.a libgdruntime.so |
| 645 |
$(mkinstalldirs) $(DESTDIR)$(toolexeclibdir) |
651 |
$(mkinstalldirs) $(DESTDIR)$(toolexeclibdir) |
| 646 |
$(INSTALL) libgdruntime.a $(DESTDIR)$(toolexeclibdir) |
652 |
$(INSTALL) libgdruntime.a $(DESTDIR)$(toolexeclibdir) |
| 647 |
$(RANLIB) $(DESTDIR)$(toolexeclibdir)/libgdruntime.a |
653 |
$(RANLIB) $(DESTDIR)$(toolexeclibdir)/libgdruntime.a |
|
|
654 |
$(INSTALL) libgdruntime.so $(DESTDIR)$(toolexeclibdir) |
| 648 |
|
655 |
|
| 649 |
install-data-local: libgdruntime.a |
656 |
install-data-local: libgdruntime.a |
| 650 |
$(mkinstalldirs) $(DESTDIR)$(gdc_include_dir) |
657 |
$(mkinstalldirs) $(DESTDIR)$(gdc_include_dir) |