Hi Flemming, Alv, and others, On Sat, 15 Apr 2000 16:11:00 -0400 "videbaek" <videbaek@sgs1.hirg.bnl.gov> wrote: > as you may have seen the BRAT makefiles have thanks to Christian > become very nice and what I had hoped they would become. The > sub-directories only contain the most essentail information while > everything else is in the general mkconfig... files. Strictly speaking, the changes still reside on a branch - that is, not part of the main trunk - but I could put them on the main trunk if it's ok with you? If so, I'll bump the version number to 1.6. > The caviat is that if you as I am do also work on a 'new' > non-registred brat directory you MUST change you Makefile to match the > style given a production directory e.g. tpc/src. Well, that should be fairly easy. After all, the sub-Makefiles are suppiosed to be _simpler_ then before. Here's a Meta-example for a Makefile in sub-directory foo/src: # $Id$ # # Name of the shared library to be produced i.e., libBrat_Foo.so, # with the sources and headers in brat/foo/src, brat/foo/inc # PROG = Foo PROGDIR = foo # # List of objects to be compiled and linked to library # libBrat_Foo.so # CODEOBJECTS = Foo.o FooBase.o FooBar.o Fubar.o # # Include general Make rules. MUST BE AFTER DEFINITION OF THE THREE # above variables. # include $(BRATSYS)/mkconfig.common # # Include generated dependency file: # # DO NOT DELETE -include .depend Hope that helps. On Sun, 16 Apr 2000 21:06:08 +0200 (CEST) Alv Kjetil Holme <a.k.holme@fys.uio.no> wrote: > Hi, > > Out of curiosity, I tried the new makefiles on HP-UX (kvark.fi.uib.no > which is an HP9000/715, ie. rather old and slow). I had to add the -c > option to CXXFLAGS in mkconfig.hp-ux. I looked at Makefile.hpux that is > used to build ROOT and noticed that it has a -z option in CXXFLAGS and > uses the the .sl suffix for shared libraries. I made similar changes in > mkconfig.hp-ux, and removed one of the -lm options in LIBS. Thanks Alv. I've made these changes and commited them to the CVS. Cheers, Christian ----------------------------------------------------------- Holm Christensen Phone: (+45) 35 35 96 91 Sankt Hansgade 23, 1. th. Office: (+45) 353 25 305 DK-2200 Copenhagen N Web: www.nbi.dk/~cholm Denmark Email: cholm@nbi.dk
This archive was generated by hypermail 2b29 : Tue Apr 18 2000 - 06:52:19 EDT