Makefile.in
changeset 11245 283194179512
parent 11210 c92070a96da5
child 11291 a153a5c6d413
     1.1 --- a/Makefile.in	Sat Aug 12 13:05:26 2017 -0700
     1.2 +++ b/Makefile.in	Sat Aug 12 15:00:33 2017 -0700
     1.3 @@ -36,10 +36,10 @@
     1.4  GEN_OBJECTS = @GEN_OBJECTS@
     1.5  VERSION_OBJECTS = @VERSION_OBJECTS@
     1.6  
     1.7 -SDLMAIN_TARGET = libSDL2main.a
     1.8 +SDLMAIN_TARGET = libSDL2main.la
     1.9  SDLMAIN_OBJECTS = @SDLMAIN_OBJECTS@
    1.10  
    1.11 -SDLTEST_TARGET = libSDL2_test.a
    1.12 +SDLTEST_TARGET = libSDL2_test.la
    1.13  SDLTEST_OBJECTS = @SDLTEST_OBJECTS@
    1.14  
    1.15  WAYLAND_SCANNER = @WAYLAND_SCANNER@
    1.16 @@ -145,12 +145,10 @@
    1.17  	$(RUN_CMD_LTLINK)$(LIBTOOL) --tag=CC --mode=link $(CC) -o $@ $(OBJECTS) $(GEN_OBJECTS) $(VERSION_OBJECTS) $(LDFLAGS) $(EXTRA_LDFLAGS) $(LT_LDFLAGS)
    1.18  
    1.19  $(objects)/$(SDLMAIN_TARGET): $(SDLMAIN_OBJECTS)
    1.20 -	$(RUN_CMD_AR)$(AR) cru $@ $(SDLMAIN_OBJECTS)
    1.21 -	$(RUN_CMD_RANLIB)$(RANLIB) $@
    1.22 +	$(RUN_CMD_LTLINK)$(LIBTOOL) --tag=CC --mode=link $(CC) -static -o $@ $(SDLMAIN_OBJECTS) -rpath $(DESTDIR)$(libdir)
    1.23  
    1.24  $(objects)/$(SDLTEST_TARGET): $(SDLTEST_OBJECTS)
    1.25 -	$(RUN_CMD_AR)$(AR) cru $@ $(SDLTEST_OBJECTS)
    1.26 -	$(RUN_CMD_RANLIB)$(RANLIB) $@
    1.27 +	$(RUN_CMD_LTLINK)$(LIBTOOL) --tag=CC --mode=link $(CC) -static -o $@ $(SDLTEST_OBJECTS) -rpath $(DESTDIR)$(libdir)
    1.28  
    1.29  install: all install-bin install-hdrs install-lib install-data
    1.30  install-bin:
    1.31 @@ -171,10 +169,8 @@
    1.32  install-lib: $(objects) $(objects)/$(TARGET) $(objects)/$(SDLMAIN_TARGET) $(objects)/$(SDLTEST_TARGET)
    1.33  	$(SHELL) $(auxdir)/mkinstalldirs $(DESTDIR)$(libdir)
    1.34  	$(LIBTOOL) --mode=install $(INSTALL) $(objects)/$(TARGET) $(DESTDIR)$(libdir)/$(TARGET)
    1.35 -	$(INSTALL) -m 644 $(objects)/$(SDLMAIN_TARGET) $(DESTDIR)$(libdir)/$(SDLMAIN_TARGET)
    1.36 -	$(RANLIB) $(DESTDIR)$(libdir)/$(SDLMAIN_TARGET)
    1.37 -	$(INSTALL) -m 644 $(objects)/$(SDLTEST_TARGET) $(DESTDIR)$(libdir)/$(SDLTEST_TARGET)
    1.38 -	$(RANLIB) $(DESTDIR)$(libdir)/$(SDLTEST_TARGET)
    1.39 +	$(LIBTOOL) --mode=install $(INSTALL) $(objects)/$(SDLMAIN_TARGET) $(DESTDIR)$(libdir)/$(SDLMAIN_TARGET)
    1.40 +	$(LIBTOOL) --mode=install $(INSTALL) $(objects)/$(SDLTEST_TARGET) $(DESTDIR)$(libdir)/$(SDLTEST_TARGET)
    1.41  install-data:
    1.42  	$(SHELL) $(auxdir)/mkinstalldirs $(DESTDIR)$(datadir)/aclocal
    1.43  	$(INSTALL) -m 644 $(srcdir)/sdl2.m4 $(DESTDIR)$(datadir)/aclocal/sdl2.m4