137fae
--- /dev/null	2007-04-15 01:47:43.733920889 +0200
137fae
+++ crm114-20070301-BlameBaltar.no-TRE.src/quine.crm	2007-04-15 21:45:04.000000000 +0200
137fae
@@ -0,0 +1,4 @@
137fae
+{
137fae
+ window
137fae
+ output /:*:_pgm_text:/
137fae
+}
137fae
--- crm114-20070301-BlameBaltar.no-TRE.src/Makefile.r	2007-03-02 16:33:55.000000000 +0100
137fae
+++ crm114-20070301-BlameBaltar.no-TRE.src/Makefile	2007-04-15 22:04:51.000000000 +0200
137fae
@@ -52,7 +52,7 @@
60dbba
 #  Tell the compiler full optimization, allow debugging, and warn on every
60dbba
 #  possible error
60dbba
 #  
60dbba
-CFLAGS += -O3 -g -Wall 
60dbba
+#CFLAGS += -O3 -g -Wall 
60dbba
 #     turn this one on for no optimization debugging.
60dbba
 #CFLAGS += -O0 -g -Wall 
60dbba
 #     turn this one on for really picayune debugging.
137fae
@@ -62,7 +62,7 @@
60dbba
 #   Comment this out if you want dynamic linking
60dbba
 #
137fae
 #    BSD users - do NOT use -static-libgcc!!!
137fae
-LDFLAGS += -static -static-libgcc
137fae
+#LDFLAGS += -static -static-libgcc
60dbba
 #
60dbba
 #   Any standard install flags?  We nominally use protection 755
60dbba
 INSTALLFLAGS += -m 755
137fae
@@ -360,13 +360,13 @@
60dbba
 		crm_util_errorhandlers.o \
60dbba
 		crm_osbf_maintenance.o -lm -ltre -o osbf-util
60dbba
 
60dbba
-cssdiff: cssdiff.c crm_util_errorhandlers.o $(HFILES)
60dbba
+cssdiff: cssdiff.c crm_util_errorhandlers.o crm_str_funcs.o $(HFILES)
60dbba
 	$(CC)  $(CFLAGS) -D$(SYSTEMTYPE) -DVERSION='"$(VERSION)"' -c cssdiff.c -o cssdiff.o
60dbba
 	$(CC)  $(CFLAGS) $(LDFLAGS) \
60dbba
 		crm_util_errorhandlers.o \
60dbba
 		crm_str_funcs.o -ltre cssdiff.o -o cssdiff
60dbba
 
60dbba
-cssmerge: cssmerge.c crm_util_errorhandlers.o $(HFILES)
60dbba
+cssmerge: cssmerge.c crm_util_errorhandlers.o crm_str_funcs.o $(HFILES)
60dbba
 	$(CC)  $(CFLAGS) $(LDFLAGS) -D$(SYSTEMTYPE) -DVERSION='"$(VERSION)"' \
60dbba
 		crm_str_funcs.o \
60dbba
 		crm_util_errorhandlers.o \
137fae
@@ -400,30 +400,30 @@
60dbba
 
60dbba
 install_utils:
60dbba
 	$(MAKE) cssmerge cssutil cssdiff osbf-util
60dbba
-	install $(INSTALLFLAGS) cssdiff $(BINDIR)/cssdiff$(VER_SUFFIX)
60dbba
-	install $(INSTALLFLAGS) cssmerge $(BINDIR)/cssmerge$(VER_SUFFIX)
60dbba
-	install $(INSTALLFLAGS) cssutil $(BINDIR)/cssutil$(VER_SUFFIX)
60dbba
-	install $(INSTALLFLAGS) osbf-util $(BINDIR)/osbf-util$(VER_SUFFIX)
60dbba
+	install $(INSTALLFLAGS) cssdiff $(DESTDIR)$(BINDIR)/cssdiff$(VER_SUFFIX)
60dbba
+	install $(INSTALLFLAGS) cssmerge $(DESTDIR)$(BINDIR)/cssmerge$(VER_SUFFIX)
60dbba
+	install $(INSTALLFLAGS) cssutil $(DESTDIR)$(BINDIR)/cssutil$(VER_SUFFIX)
60dbba
+	install $(INSTALLFLAGS) osbf-util $(DESTDIR)$(BINDIR)/osbf-util$(VER_SUFFIX)
60dbba
 	#   if you don't have EMACS installed in the default place, you
60dbba
 	#   won't get the crm114-mode.el automatically.
137fae
-	-install $(INSTALLFLAGS) crm114-mode.el $(prefix)/share/emacs/site-lisp/crm114-mode.el$(VER_SUFFIX)
137fae
+	-install $(INSTALLFLAGS) crm114-mode.el $(DESTDIR)$(prefix)/share/emacs/site-lisp/crm114-mode.el$(VER_SUFFIX)
60dbba
 
60dbba
 
60dbba
 # use different name so we can keep it around along with default one
60dbba
 # and same VER_SUFFIX postfix 
137fae
 install_engine: crm114
137fae
-	install $(INSTALLFLAGS) crm114 $(BINDIR)/crm$(VER_SUFFIX)
137fae
+	install $(INSTALLFLAGS) crm114 $(DESTDIR)$(BINDIR)/crm$(VER_SUFFIX)
137fae
 
60dbba
 install_gnu: crm114_gnu
60dbba
-	install $(INSTALLFLAGS) crm114_gnu $(BINDIR)/crmg$(VER_SUFFIX)
60dbba
+	install $(INSTALLFLAGS) crm114_gnu $(DESTDIR)$(BINDIR)/crmg$(VER_SUFFIX)
60dbba
 
60dbba
 install_binary_only: FORCE
137fae
-	install $(INSTALLFLAGS) crm114 $(BINDIR)/crm$(VER_SUFFIX)
60dbba
-	install $(INSTALLFLAGS) cssdiff $(BINDIR)/cssdiff$(VER_SUFFIX)
60dbba
-	install $(INSTALLFLAGS) cssmerge $(BINDIR)/cssmerge$(VER_SUFFIX)
60dbba
-	install $(INSTALLFLAGS) cssutil $(BINDIR)/cssutil$(VER_SUFFIX)	
60dbba
-	install $(INSTALLFLAGS) osbf-util $(BINDIR)/osbf-util$(VER_SUFFIX)
137fae
-	-install $(INSTALLFLAGS) crm114-mode.el $(prefix)/share/emacs/site-lisp/crm114-mode.el$(VER_SUFFIX)
137fae
+	install $(INSTALLFLAGS) crm114 $(DESTDIR)$(BINDIR)/crm$(VER_SUFFIX)
60dbba
+	install $(INSTALLFLAGS) cssdiff $(DESTDIR)$(BINDIR)/cssdiff$(VER_SUFFIX)
60dbba
+	install $(INSTALLFLAGS) cssmerge $(DESTDIR)$(BINDIR)/cssmerge$(VER_SUFFIX)
60dbba
+	install $(INSTALLFLAGS) cssutil $(DESTDIR)$(BINDIR)/cssutil$(VER_SUFFIX)	
60dbba
+	install $(INSTALLFLAGS) osbf-util $(DESTDIR)$(BINDIR)/osbf-util$(VER_SUFFIX)
137fae
+	-install $(INSTALLFLAGS) crm114-mode.el $(DESTDIR)$(prefix)/share/emacs/site-lisp/crm114-mode.el$(VER_SUFFIX)
60dbba
 
60dbba
 uninstall: FORCE
60dbba
 	-rm -rf $(BINDIR)/crm$(VER_SUFFIX)