Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
More build stuff.
  • Loading branch information
icculus committed Jun 28, 2002
1 parent c4ac06e commit f3b6485
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 17 deletions.
6 changes: 2 additions & 4 deletions Makefile.am.newautomake
Expand Up @@ -6,9 +6,6 @@ libphysfsinclude_HEADERS = \

if BUILD_MACOSX

BEOS_SRC = @BUILD_BEOS_CPP@
BEOS_EXTRADIST = @BUILD_BEOS_EXTRA@

ZLIB_FILES = zlib114/adler32.c \
zlib114/compress.c \
zlib114/crc32.c \
Expand Down Expand Up @@ -56,7 +53,7 @@ libphysfs_la_SOURCES = \
archivers/unzip.h \
platform/unix.c \
platform/posix.c \
$(ZLIB_SRC) $(BEOS_SRC)
$(ZLIB_SRC)

libphysfs_la_INCLUDES = $(ZLIB_INC)

Expand Down Expand Up @@ -89,6 +86,7 @@ EXTRA_DIST = \
platform/skeleton.c \
platform/macclassic.c \
platform/win32.c \
platform/beos.cpp \
extras/physfsrwops.h \
extras/physfsrwops.c \
extras/physfshttpd.c \
Expand Down
12 changes: 1 addition & 11 deletions configure.in
Expand Up @@ -236,17 +236,7 @@ dnl Add Makefile conditionals
AM_CONDITIONAL(BUILD_ZLIB, test x$enable_internal_zlib = xyes)
AM_CONDITIONAL(BUILD_TEST_PHYSFS, test x$enable_testprog = xyes)
AM_CONDITIONAL(BUILD_MACOSX, test x$this_is_macosx = xyes)

if test x$this_is_beos = xyes; then
BUILD_BEOS_CPP=beos.cpp
BUILD_BEOS_EXTRA=
else
BUILD_BEOS_CPP=
BUILD_BEOS_EXTRA=beos.cpp
fi

AC_SUBST([BUILD_BEOS_CPP])
AC_SUBST([BUILD_BEOS_EXTRA])
AM_CONDITIONAL(BUILD_BEOS, test x$this_is_beos = xyes)

LDFLAGS="$LDFLAGS -no-undefined"

Expand Down
14 changes: 12 additions & 2 deletions platform/Makefile.am
Expand Up @@ -2,8 +2,18 @@ noinst_LTLIBRARIES = libplatform.la

INCLUDES = -I$(top_srcdir)

BEOS_SRC = @BUILD_BEOS_CPP@
BEOS_EXTRADIST = @BUILD_BEOS_EXTRA@
if BUILD_BEOS
BEOS_SRC = beos.cpp
else
BEOS_SRC =
endif

if BUILD_BEOS
BEOS_EXTRADIST =
else
BEOS_EXTRADIST = beos.cpp
endif


libplatform_la_SOURCES = \
unix.c \
Expand Down

0 comments on commit f3b6485

Please sign in to comment.