platform/Makefile.am
changeset 301 d4125bc24ac8
parent 299 a4a50c609021
child 302 b6fe2b615045
--- a/platform/Makefile.am	Fri Jun 28 05:48:41 2002 +0000
+++ b/platform/Makefile.am	Fri Jun 28 05:51:37 2002 +0000
@@ -2,23 +2,28 @@
 
 INCLUDES = -I$(top_srcdir)
 
-X = beos.cpp
-Y = beos.cpp
+if BUILD_BEOS_CPP
+    BEOS_SRC = beos.cpp
+else
+    BEOS_SRC =
+endif
 
-if BUILD_BEOS_CPP
-  Y =
+if !BUILD_BEOS_CPP
+    BEOS_EXTRA = beos.cpp
 else
-  X =
+    BEOS_EXTRA =
 endif
 
+
 libplatform_la_SOURCES =	\
 	unix.c                  \
 	posix.c                 \
-	$(X)
+    $(BEOS_SRC)
+
 
 EXTRA_DIST =      \
 	skeleton.c    \
 	macclassic.c  \
 	win32.c       \
-	$(Y)
+    $(BEOS_EXTRA)