Skip to content
Browse files

late checkin of a stab at a jamfile

  • Loading branch information...
1 parent eb9b8a0 commit 66aea37c279942c039c379970de0bdf9c4652163 lindes committed Nov 8, 2005
Showing with 28 additions and 0 deletions.
  1. +28 −0 Jamfile
View
28 Jamfile
@@ -0,0 +1,28 @@
+# where to find headers (note: we still depend on Makefile to make
+# arch/thisarch -- for the moment):
+HDRS = . arch/thisarch arch/default ;
+EXEMODE = 755 ;
+
+# get our version information (hmm, maybe this would be cleaner if I
+# made a version.h from Version? I'd have to figure out how to do that
+# in Jam, too, of course)
+# CCFLAGS = -DVERSION="\\\"`cat Version`\\\"" ;
+ObjectCcFlags ttyload.c archtest.c : -DVERSION="\\\"`cat Version`\\\"" ;
+
+ARCH_SOURCES =
+ arch/thisarch/getload.c
+ arch/thisarch/terminfo.c
+ ;
+
+# Alas, this doesn't work:
+# SoftLink arch/thisarch : arch/`uname -s | sed -e 's/ /-/g'` ;
+
+# main program:
+Main ttyload : ttyload.c $(ARCH_SOURCES) ;
+
+# XXX note: this re-builds the .o versions of $(ARCH_SOURCES), even
+# though they're already built for ttyload. I don't grok why, or how to
+# fix it. sigh.
+
+# archtest program:
+Main archtest : archtest.c $(ARCH_SOURCES) ;

0 comments on commit 66aea37

Please sign in to comment.
Something went wrong with that request. Please try again.