Makefile.in
changeset 10303 b326f93e1bc5
parent 9792 0569d87c68fc
child 11206 946452867513
     1.1 --- a/Makefile.in	Thu Sep 01 01:22:58 2016 -0700
     1.2 +++ b/Makefile.in	Thu Jun 23 18:39:05 2016 +0800
     1.3 @@ -3,6 +3,7 @@
     1.4  top_builddir = .
     1.5  srcdir  = @srcdir@
     1.6  objects = build
     1.7 +gen = gen
     1.8  prefix = @prefix@
     1.9  exec_prefix = @exec_prefix@
    1.10  bindir	= @bindir@
    1.11 @@ -31,6 +32,8 @@
    1.12  
    1.13  TARGET  = libSDL2.la
    1.14  OBJECTS = @OBJECTS@
    1.15 +GEN_HEADERS = @GEN_HEADERS@
    1.16 +GEN_OBJECTS = @GEN_OBJECTS@
    1.17  VERSION_OBJECTS = @VERSION_OBJECTS@
    1.18  
    1.19  SDLMAIN_TARGET = libSDL2main.a
    1.20 @@ -39,6 +42,8 @@
    1.21  SDLTEST_TARGET = libSDL2_test.a
    1.22  SDLTEST_OBJECTS = @SDLTEST_OBJECTS@
    1.23  
    1.24 +WAYLAND_SCANNER = @WAYLAND_SCANNER@
    1.25 +
    1.26  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 src test VisualC.html VisualC VisualC-WinRT Xcode Xcode-iOS
    1.27  GEN_DIST = SDL2.spec
    1.28  
    1.29 @@ -48,6 +53,7 @@
    1.30  RUN_CMD_CXX    = @echo "  CXX   " $@;
    1.31  RUN_CMD_LTLINK = @echo "  LTLINK" $@;
    1.32  RUN_CMD_RANLIB = @echo "  RANLIB" $@;
    1.33 +RUN_CMD_GEN    = @echo "  GEN   " $@;
    1.34  LIBTOOL += --quiet
    1.35  endif
    1.36  
    1.37 @@ -137,8 +143,8 @@
    1.38  
    1.39  .PHONY: all update-revision install install-bin install-hdrs install-lib install-data uninstall uninstall-bin uninstall-hdrs uninstall-lib uninstall-data clean distclean dist $(OBJECTS:.lo=.d)
    1.40  
    1.41 -$(objects)/$(TARGET): $(OBJECTS) $(VERSION_OBJECTS)
    1.42 -	$(RUN_CMD_LTLINK)$(LIBTOOL) --tag=CC --mode=link $(CC) -o $@ $(OBJECTS) $(VERSION_OBJECTS) $(LDFLAGS) $(EXTRA_LDFLAGS) $(LT_LDFLAGS)
    1.43 +$(objects)/$(TARGET): $(GEN_HEADERS) $(GEN_OBJECTS) $(OBJECTS) $(VERSION_OBJECTS)
    1.44 +	$(RUN_CMD_LTLINK)$(LIBTOOL) --tag=CC --mode=link $(CC) -o $@ $(OBJECTS) $(GEN_OBJECTS) $(VERSION_OBJECTS) $(LDFLAGS) $(EXTRA_LDFLAGS) $(LT_LDFLAGS)
    1.45  
    1.46  $(objects)/$(SDLMAIN_TARGET): $(SDLMAIN_OBJECTS)
    1.47  	$(RUN_CMD_AR)$(AR) cru $@ $(SDLMAIN_OBJECTS)
    1.48 @@ -200,6 +206,7 @@
    1.49  
    1.50  clean:
    1.51  	rm -rf $(objects)
    1.52 +	rm -rf $(gen)
    1.53  	if test -f test/Makefile; then (cd test; $(MAKE) $@); fi
    1.54  
    1.55  distclean: clean