Makefile.in
changeset 1394 e57f8d1344b6
parent 1393 cd3362657144
child 1397 b189a73aa335
equal deleted inserted replaced
1393:cd3362657144 1394:e57f8d1344b6
    62 	$(INSTALL) -m 755 $(srcdir)/sdl-config $(bindir)/sdl-config
    62 	$(INSTALL) -m 755 $(srcdir)/sdl-config $(bindir)/sdl-config
    63 install-hdrs:
    63 install-hdrs:
    64 	$(SHELL) $(auxdir)/mkinstalldirs $(includedir)/SDL
    64 	$(SHELL) $(auxdir)/mkinstalldirs $(includedir)/SDL
    65 	for src in $(srcdir)/include/*.h; do \
    65 	for src in $(srcdir)/include/*.h; do \
    66 	    file=`echo $$src | sed -e 's|^.*/||'`; \
    66 	    file=`echo $$src | sed -e 's|^.*/||'`; \
    67 	    $(INSTALL) $$src $(includedir)/SDL/$$file; \
    67 	    $(INSTALL) -m 644 $$src $(includedir)/SDL/$$file; \
    68 	done
    68 	done
    69 	$(INSTALL) include/SDL_config.h $(includedir)/SDL/SDL_config.h
    69 	$(INSTALL) -m 644 include/SDL_config.h $(includedir)/SDL/SDL_config.h
    70 install-lib:
    70 install-lib:
    71 	$(SHELL) $(auxdir)/mkinstalldirs $(libdir)
    71 	$(SHELL) $(auxdir)/mkinstalldirs $(libdir)
    72 	$(LIBTOOL) --mode=install $(INSTALL) $(objects)/$(TARGET) $(libdir)/$(TARGET)
    72 	$(LIBTOOL) --mode=install $(INSTALL) $(objects)/$(TARGET) $(libdir)/$(TARGET)
    73 install-data:
    73 install-data:
    74 	$(SHELL) $(auxdir)/mkinstalldirs $(datadir)/aclocal
    74 	$(SHELL) $(auxdir)/mkinstalldirs $(datadir)/aclocal
    75 	$(INSTALL) $(srcdir)/sdl.m4 $(datadir)/aclocal/sdl.m4
    75 	$(INSTALL) -m 644 $(srcdir)/sdl.m4 $(datadir)/aclocal/sdl.m4
    76 install-man:
    76 install-man:
    77 	$(SHELL) $(auxdir)/mkinstalldirs $(mandir)/man3
    77 	$(SHELL) $(auxdir)/mkinstalldirs $(mandir)/man3
    78 	for src in $(srcdir)/docs/man3/*.3; do \
    78 	for src in $(srcdir)/docs/man3/*.3; do \
    79 	    file=`echo $$src | sed -e 's|^.*/||'`; \
    79 	    file=`echo $$src | sed -e 's|^.*/||'`; \
    80 	    $(INSTALL) $$src $(mandir)/man3/$$file; \
    80 	    $(INSTALL) -m 644 $$src $(mandir)/man3/$$file; \
    81 	done
    81 	done
    82 
    82 
    83 uninstall: uninstall-bin uninstall-hdrs uninstall-lib uninstall-man
    83 uninstall: uninstall-bin uninstall-hdrs uninstall-lib uninstall-man
    84 uninstall-bin:
    84 uninstall-bin:
    85 	rm -f $(bindir)/sdl-config
    85 	rm -f $(bindir)/sdl-config