Re: make depend problem with hello_SOURCES = ${SRCDIR}/hello.c

2005-09-12 Thread Harald Dunkel
Bob Proulx wrote: > Harald Dunkel wrote: > >>Question about make depend: >> >>If I set >> >> SRCDIR = ../src >> noinst_PROGRAMS = hello >> hello_SOURCES = ${SRCDIR}/hello.c > > > Shouldn't you be using normal VPATH? That is, you are setting > hello_SOURCES = ../src/hello.c. But

Re: conditional subdirectories

2005-09-12 Thread Matthias Langer
Antonio Coralles wrote: I'm currently working on a small library. I only want the contents of the 'examples' directory to be build if configure has been run with --enable-examples. Thus, according to the automake introduction (http://sources.redhat.com/automake/automake.html#Directories) my conf

Re: conditional subdirectories

2005-09-12 Thread Bruce Korb
Antonio Coralles wrote: I'm currently working on a small library. I only want the contents of the 'examples' directory to be built if configure . My toplevel Makefile.am contains: if EXAMPLES MAYBE_EXAMPLES = examples endif SUBDIRS = $(GENERIC_LIBRARY_NAME) $(MAYBE_EXAMPLES) SUBDIRS =

Linking a directory into several projects

2005-09-12 Thread Ian Crowther
In a typical c project I find myself duplicating certain things. I've solved this problem for some files by creating symbolic links to ~/c-lib/*, where common files are saved. This works great; "make dist" puts the files linked to into an archive. I can't, however, find a good solution to linkin

conditional subdirectories

2005-09-12 Thread Antonio Coralles
I'm currently working on a small library. I only want the contents of the 'examples' directory to be build if configure has been run with --enable-examples. Thus, according to the automake introduction (http://sources.redhat.com/automake/automake.html#Directories) my configure.ac contains: AC

AM with data files - simple question

2005-09-12 Thread David Ohlemacher
Hi all, How do you install data files? I tried this: mydatadir = icons dist_mydata_DATA = icon1.png icon2.png I got no errors, but no icons directory either. Thanks, -d My real aim is: Given: ~/myproj/icon1.png ~/myproj/icon2.png ~/myproj/src/ source files Do this: cd ~/myproj make -f

(no subject)

2005-09-12 Thread jgdxyud
あやです。わかります? ずっとメールしたかったんですけど、送ろうと思うと不安になってしまって…。 でも、あなたの事一日だって忘れた訳じゃないの。 毎日毎日メールしようと机には向かうんですけど…もし私の事拒否されたらって思うとどうしてもメールできなくって。 でも、時間が経てば経つほど私の事忘れられてしまうんじゃないかって思うと怖くなって。 気の利いたメールじゃなくってごめんなさい。 本当はこんなつまらないメール書きたくないんだけど今の私の気持ち何とか伝えたいから…。 どんどん思っている事とはかけ離れた事書いてしまっているの。 本当に伝えたい事は、あなたに会いたい。 でも、

Re: make depend problem with hello_SOURCES = ${SRCDIR}/hello.c

2005-09-12 Thread Bob Proulx
Harald Dunkel wrote: > Question about make depend: > > If I set > > SRCDIR = ../src > noinst_PROGRAMS = hello > hello_SOURCES = ${SRCDIR}/hello.c Shouldn't you be using normal VPATH? That is, you are setting hello_SOURCES = ../src/hello.c. But I don't think you want to do tha

make depend problem with hello_SOURCES = ${SRCDIR}/hello.c

2005-09-12 Thread Harald Dunkel
Hi folks, Question about make depend: If I set SRCDIR = ../src noinst_PROGRAMS = hello hello_SOURCES = ${SRCDIR}/hello.c in my Makefile.am, then make complains Makefile:242: ../src/.deps/hello.Po: No such file or directory make[1]: *** No rule to make target `../src/.de