Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Only attempt to build BeOS code on BeOS (don't even try building an e…
…mpty

 object file elsewhere).
  • Loading branch information
icculus committed May 25, 2002
1 parent 5386a5c commit 2cc2477
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
1 change: 1 addition & 0 deletions configure.in
Expand Up @@ -208,6 +208,7 @@ AC_CHECK_FUNCS([memset strrchr])
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_BEOS_CPP, test x$this_is_beos = xyes)

AC_OUTPUT([
Makefile
Expand Down
12 changes: 9 additions & 3 deletions platform/Makefile.am
Expand Up @@ -2,14 +2,20 @@ noinst_LTLIBRARIES = libplatform.la

INCLUDES = -I$(top_srcdir)

if BUILD_BEOS_CPP
X = beos.cpp
else
Y = beos.cpp
endif

libplatform_la_SOURCES = \
unix.c \
posix.c \
beos.cpp
$(X)

EXTRA_DIST = \
skeleton.c \
macclassic.c \
win32.c

win32.c \
$(Y)

0 comments on commit 2cc2477

Please sign in to comment.