platform/Makefile.am
changeset 302 b6fe2b615045
parent 301 d4125bc24ac8
child 306 580c6753c23a
--- a/platform/Makefile.am	Fri Jun 28 05:51:37 2002 +0000
+++ b/platform/Makefile.am	Fri Jun 28 05:59:14 2002 +0000
@@ -2,28 +2,15 @@
 
 INCLUDES = -I$(top_srcdir)
 
-if BUILD_BEOS_CPP
-    BEOS_SRC = beos.cpp
-else
-    BEOS_SRC =
-endif
-
-if !BUILD_BEOS_CPP
-    BEOS_EXTRA = beos.cpp
-else
-    BEOS_EXTRA =
-endif
-
-
 libplatform_la_SOURCES =	\
 	unix.c                  \
 	posix.c                 \
-    $(BEOS_SRC)
+    @BUILD_BEOS_CPP@
 
 
 EXTRA_DIST =      \
 	skeleton.c    \
 	macclassic.c  \
 	win32.c       \
-    $(BEOS_EXTRA)
+    @BUILD_BEOS_EXTRA@