Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Ray Kelm - Fri, 04 Aug 2000 20:58:00 -0400
 * Added support for cross-compiling Windows DLL from Linux
  • Loading branch information
Sam Lantinga committed Aug 10, 2000
1 parent 2888228 commit 40c9319
Show file tree
Hide file tree
Showing 10 changed files with 2,886 additions and 3,025 deletions.
4 changes: 4 additions & 0 deletions CHANGES
@@ -1,4 +1,8 @@

1.0.10:
Ray Kelm - Fri, 04 Aug 2000 20:58:00 -0400
* Added support for cross-compiling Windows DLL from Linux

1.0.9:
Mattias Engdeg�rd - Sat Jul 1 17:57:37 PDT 2000
* PNG loader properly sets the colorkey on 8-bit transparent images
Expand Down
83 changes: 53 additions & 30 deletions Makefile.in
Expand Up @@ -67,7 +67,6 @@ CC = @CC@
DLLTOOL = @DLLTOOL@
IMG_LIBS = @IMG_LIBS@
INTERFACE_AGE = @INTERFACE_AGE@
LD = @LD@
LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
LT_AGE = @LT_AGE@
Expand All @@ -78,7 +77,6 @@ MAJOR_VERSION = @MAJOR_VERSION@
MAKEINFO = @MAKEINFO@
MICRO_VERSION = @MICRO_VERSION@
MINOR_VERSION = @MINOR_VERSION@
NM = @NM@
OBJDUMP = @OBJDUMP@
PACKAGE = @PACKAGE@
RANLIB = @RANLIB@
Expand Down Expand Up @@ -141,16 +139,19 @@ DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)

TAR = gtar
GZIP_ENV = --best
DEP_FILES = .deps/IMG.P .deps/IMG_bmp.P .deps/IMG_gif.P .deps/IMG_jpg.P \
.deps/IMG_pcx.P .deps/IMG_png.P .deps/IMG_ppm.P .deps/IMG_tga.P \
.deps/IMG_tif.P .deps/showimage.P
SOURCES = $(libSDL_image_la_SOURCES) showimage.c
OBJECTS = $(libSDL_image_la_OBJECTS) showimage.o

all: all-redirect
.SUFFIXES:
.SUFFIXES: .S .c .lo .o .s
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
cd $(top_srcdir) && $(AUTOMAKE) --foreign --include-deps Makefile
cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile

Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
cd $(top_builddir) \
&& CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status

Expand Down Expand Up @@ -189,9 +190,6 @@ uninstall-libLTLIBRARIES:
$(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
done

.c.o:
$(COMPILE) -c $<

.s.o:
$(COMPILE) -c $<

Expand All @@ -208,9 +206,6 @@ distclean-compile:

maintainer-clean-compile:

.c.lo:
$(LIBTOOL) --mode=compile $(COMPILE) -c $<

.s.lo:
$(LIBTOOL) --mode=compile $(COMPILE) -c $<

Expand Down Expand Up @@ -341,6 +336,11 @@ distdir: $(DISTFILES)
-rm -rf $(distdir)
mkdir $(distdir)
-chmod 777 $(distdir)
here=`cd $(top_builddir) && pwd`; \
top_distdir=`cd $(distdir) && pwd`; \
distdir=`cd $(distdir) && pwd`; \
cd $(top_srcdir) \
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile
@for file in $(DISTFILES); do \
d=$(srcdir); \
if test -d $$d/$$file; then \
Expand All @@ -351,17 +351,38 @@ distdir: $(DISTFILES)
|| cp -p $$d/$$file $(distdir)/$$file || :; \
fi; \
done
IMG_bmp.lo IMG_bmp.o : IMG_bmp.c SDL_image.h
IMG_gif.lo IMG_gif.o : IMG_gif.c SDL_image.h
IMG_jpg.lo IMG_jpg.o : IMG_jpg.c SDL_image.h
IMG.lo IMG.o : IMG.c SDL_image.h
IMG_pcx.lo IMG_pcx.o : IMG_pcx.c SDL_image.h
IMG_png.lo IMG_png.o : IMG_png.c SDL_image.h
IMG_ppm.lo IMG_ppm.o : IMG_ppm.c SDL_image.h
IMG_tga.lo IMG_tga.o : IMG_tga.c SDL_image.h
IMG_tif.lo IMG_tif.o : IMG_tif.c SDL_image.h
showimage.o: showimage.c SDL_image.h

DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)

-include $(DEP_FILES)

mostlyclean-depend:

clean-depend:

distclean-depend:
-rm -rf .deps

maintainer-clean-depend:

%.o: %.c
@echo '$(COMPILE) -c $<'; \
$(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
@-cp .deps/$(*F).pp .deps/$(*F).P; \
tr ' ' '\012' < .deps/$(*F).pp \
| sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
>> .deps/$(*F).P; \
rm .deps/$(*F).pp

%.lo: %.c
@echo '$(LTCOMPILE) -c $<'; \
$(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
@-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
< .deps/$(*F).pp > .deps/$(*F).P; \
tr ' ' '\012' < .deps/$(*F).pp \
| sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
>> .deps/$(*F).P; \
rm -f .deps/$(*F).pp
info-am:
info: info-am
dvi-am:
Expand Down Expand Up @@ -402,19 +423,19 @@ distclean-generic:
maintainer-clean-generic:
mostlyclean-am: mostlyclean-libLTLIBRARIES mostlyclean-compile \
mostlyclean-libtool mostlyclean-binPROGRAMS \
mostlyclean-tags mostlyclean-generic
mostlyclean-tags mostlyclean-depend mostlyclean-generic

mostlyclean: mostlyclean-am

clean-am: clean-libLTLIBRARIES clean-compile clean-libtool \
clean-binPROGRAMS clean-tags clean-generic \
clean-binPROGRAMS clean-tags clean-depend clean-generic \
mostlyclean-am

clean: clean-am

distclean-am: distclean-libLTLIBRARIES distclean-compile \
distclean-libtool distclean-binPROGRAMS distclean-tags \
distclean-generic clean-am
distclean-depend distclean-generic clean-am
-rm -f libtool

distclean: distclean-am
Expand All @@ -423,7 +444,8 @@ distclean: distclean-am
maintainer-clean-am: maintainer-clean-libLTLIBRARIES \
maintainer-clean-compile maintainer-clean-libtool \
maintainer-clean-binPROGRAMS maintainer-clean-tags \
maintainer-clean-generic distclean-am
maintainer-clean-depend maintainer-clean-generic \
distclean-am
@echo "This command is intended for maintainers to use;"
@echo "it deletes files that may require special tools to rebuild."

Expand All @@ -439,12 +461,13 @@ maintainer-clean-libtool mostlyclean-binPROGRAMS distclean-binPROGRAMS \
clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \
install-binPROGRAMS uninstall-libSDL_imageincludeHEADERS \
install-libSDL_imageincludeHEADERS tags mostlyclean-tags distclean-tags \
clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi check \
check-am installcheck-am installcheck install-exec-am install-exec \
install-data-am install-data install-am install uninstall-am uninstall \
all-redirect all-am all installdirs mostlyclean-generic \
distclean-generic clean-generic maintainer-clean-generic clean \
mostlyclean distclean maintainer-clean
clean-tags maintainer-clean-tags distdir mostlyclean-depend \
distclean-depend clean-depend maintainer-clean-depend info-am info \
dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
install-exec install-data-am install-data install-am install \
uninstall-am uninstall all-redirect all-am all installdirs \
mostlyclean-generic distclean-generic clean-generic \
maintainer-clean-generic clean mostlyclean distclean maintainer-clean


# Rule to build tar-gzipped distribution package
Expand Down

0 comments on commit 40c9319

Please sign in to comment.