Makefile.in
changeset 11245 283194179512
parent 11210 c92070a96da5
child 11291 a153a5c6d413
equal deleted inserted replaced
11244:cbc9323b7167 11245:283194179512
    34 OBJECTS = @OBJECTS@
    34 OBJECTS = @OBJECTS@
    35 GEN_HEADERS = @GEN_HEADERS@
    35 GEN_HEADERS = @GEN_HEADERS@
    36 GEN_OBJECTS = @GEN_OBJECTS@
    36 GEN_OBJECTS = @GEN_OBJECTS@
    37 VERSION_OBJECTS = @VERSION_OBJECTS@
    37 VERSION_OBJECTS = @VERSION_OBJECTS@
    38 
    38 
    39 SDLMAIN_TARGET = libSDL2main.a
    39 SDLMAIN_TARGET = libSDL2main.la
    40 SDLMAIN_OBJECTS = @SDLMAIN_OBJECTS@
    40 SDLMAIN_OBJECTS = @SDLMAIN_OBJECTS@
    41 
    41 
    42 SDLTEST_TARGET = libSDL2_test.a
    42 SDLTEST_TARGET = libSDL2_test.la
    43 SDLTEST_OBJECTS = @SDLTEST_OBJECTS@
    43 SDLTEST_OBJECTS = @SDLTEST_OBJECTS@
    44 
    44 
    45 WAYLAND_SCANNER = @WAYLAND_SCANNER@
    45 WAYLAND_SCANNER = @WAYLAND_SCANNER@
    46 
    46 
    47 SRC_DIST = *.txt acinclude Android.mk autogen.sh android-project build-scripts cmake cmake_uninstall.cmake.in configure configure.in debian docs include Makefile.* sdl2-config.cmake.in sdl2-config.in sdl2.m4 sdl2.pc.in SDL2.spec.in SDL2Config.cmake src test VisualC.html VisualC VisualC-WinRT Xcode Xcode-iOS
    47 SRC_DIST = *.txt acinclude Android.mk autogen.sh android-project build-scripts cmake cmake_uninstall.cmake.in configure configure.in debian docs include Makefile.* sdl2-config.cmake.in sdl2-config.in sdl2.m4 sdl2.pc.in SDL2.spec.in SDL2Config.cmake src test VisualC.html VisualC VisualC-WinRT Xcode Xcode-iOS
   143 
   143 
   144 $(objects)/$(TARGET): $(GEN_HEADERS) $(GEN_OBJECTS) $(OBJECTS) $(VERSION_OBJECTS)
   144 $(objects)/$(TARGET): $(GEN_HEADERS) $(GEN_OBJECTS) $(OBJECTS) $(VERSION_OBJECTS)
   145 	$(RUN_CMD_LTLINK)$(LIBTOOL) --tag=CC --mode=link $(CC) -o $@ $(OBJECTS) $(GEN_OBJECTS) $(VERSION_OBJECTS) $(LDFLAGS) $(EXTRA_LDFLAGS) $(LT_LDFLAGS)
   145 	$(RUN_CMD_LTLINK)$(LIBTOOL) --tag=CC --mode=link $(CC) -o $@ $(OBJECTS) $(GEN_OBJECTS) $(VERSION_OBJECTS) $(LDFLAGS) $(EXTRA_LDFLAGS) $(LT_LDFLAGS)
   146 
   146 
   147 $(objects)/$(SDLMAIN_TARGET): $(SDLMAIN_OBJECTS)
   147 $(objects)/$(SDLMAIN_TARGET): $(SDLMAIN_OBJECTS)
   148 	$(RUN_CMD_AR)$(AR) cru $@ $(SDLMAIN_OBJECTS)
   148 	$(RUN_CMD_LTLINK)$(LIBTOOL) --tag=CC --mode=link $(CC) -static -o $@ $(SDLMAIN_OBJECTS) -rpath $(DESTDIR)$(libdir)
   149 	$(RUN_CMD_RANLIB)$(RANLIB) $@
       
   150 
   149 
   151 $(objects)/$(SDLTEST_TARGET): $(SDLTEST_OBJECTS)
   150 $(objects)/$(SDLTEST_TARGET): $(SDLTEST_OBJECTS)
   152 	$(RUN_CMD_AR)$(AR) cru $@ $(SDLTEST_OBJECTS)
   151 	$(RUN_CMD_LTLINK)$(LIBTOOL) --tag=CC --mode=link $(CC) -static -o $@ $(SDLTEST_OBJECTS) -rpath $(DESTDIR)$(libdir)
   153 	$(RUN_CMD_RANLIB)$(RANLIB) $@
       
   154 
   152 
   155 install: all install-bin install-hdrs install-lib install-data
   153 install: all install-bin install-hdrs install-lib install-data
   156 install-bin:
   154 install-bin:
   157 	$(SHELL) $(auxdir)/mkinstalldirs $(DESTDIR)$(bindir)
   155 	$(SHELL) $(auxdir)/mkinstalldirs $(DESTDIR)$(bindir)
   158 	$(INSTALL) -m 755 sdl2-config $(DESTDIR)$(bindir)/sdl2-config
   156 	$(INSTALL) -m 755 sdl2-config $(DESTDIR)$(bindir)/sdl2-config
   169 	fi
   167 	fi
   170 
   168 
   171 install-lib: $(objects) $(objects)/$(TARGET) $(objects)/$(SDLMAIN_TARGET) $(objects)/$(SDLTEST_TARGET)
   169 install-lib: $(objects) $(objects)/$(TARGET) $(objects)/$(SDLMAIN_TARGET) $(objects)/$(SDLTEST_TARGET)
   172 	$(SHELL) $(auxdir)/mkinstalldirs $(DESTDIR)$(libdir)
   170 	$(SHELL) $(auxdir)/mkinstalldirs $(DESTDIR)$(libdir)
   173 	$(LIBTOOL) --mode=install $(INSTALL) $(objects)/$(TARGET) $(DESTDIR)$(libdir)/$(TARGET)
   171 	$(LIBTOOL) --mode=install $(INSTALL) $(objects)/$(TARGET) $(DESTDIR)$(libdir)/$(TARGET)
   174 	$(INSTALL) -m 644 $(objects)/$(SDLMAIN_TARGET) $(DESTDIR)$(libdir)/$(SDLMAIN_TARGET)
   172 	$(LIBTOOL) --mode=install $(INSTALL) $(objects)/$(SDLMAIN_TARGET) $(DESTDIR)$(libdir)/$(SDLMAIN_TARGET)
   175 	$(RANLIB) $(DESTDIR)$(libdir)/$(SDLMAIN_TARGET)
   173 	$(LIBTOOL) --mode=install $(INSTALL) $(objects)/$(SDLTEST_TARGET) $(DESTDIR)$(libdir)/$(SDLTEST_TARGET)
   176 	$(INSTALL) -m 644 $(objects)/$(SDLTEST_TARGET) $(DESTDIR)$(libdir)/$(SDLTEST_TARGET)
       
   177 	$(RANLIB) $(DESTDIR)$(libdir)/$(SDLTEST_TARGET)
       
   178 install-data:
   174 install-data:
   179 	$(SHELL) $(auxdir)/mkinstalldirs $(DESTDIR)$(datadir)/aclocal
   175 	$(SHELL) $(auxdir)/mkinstalldirs $(DESTDIR)$(datadir)/aclocal
   180 	$(INSTALL) -m 644 $(srcdir)/sdl2.m4 $(DESTDIR)$(datadir)/aclocal/sdl2.m4
   176 	$(INSTALL) -m 644 $(srcdir)/sdl2.m4 $(DESTDIR)$(datadir)/aclocal/sdl2.m4
   181 	$(SHELL) $(auxdir)/mkinstalldirs $(DESTDIR)$(libdir)/pkgconfig
   177 	$(SHELL) $(auxdir)/mkinstalldirs $(DESTDIR)$(libdir)/pkgconfig
   182 	$(INSTALL) -m 644 sdl2.pc $(DESTDIR)$(libdir)/pkgconfig
   178 	$(INSTALL) -m 644 sdl2.pc $(DESTDIR)$(libdir)/pkgconfig