[GRASS-dev] include/portable.h?

William Kyngesburye woklist at kyngchaos.com
Fri Jun 30 13:11:45 EDT 2006


At least in last weekend's snapshot, it does both:

	$(CC) $(LDFLAGS) $(COMPILE_FLAGS) $(VECT_CFLAGS) $(INC) $(VECT_INC) - 
o $(OBJDIR)/port_test port_test.c
	echo "/* Architecture: $(ARCH) */" > $(ARCH_INCDIR)/portable.h
	$(OBJDIR)/port_test >> $(ARCH_INCDIR)/portable.h
	echo "/* Architecture: $(ARCH) */" > $(ARCH_DISTDIR)/include/portable.h
	$(OBJDIR)/port_test >> $(ARCH_DISTDIR)/include/portable.h


On Jun 30, 2006, at 10:52 AM, Markus Neteler wrote:

> Hi,
>
> I wonder if the file 'portable.h' is installed
> into the right directory:
>
> cd grass61/lib/vector/diglib
> grep portabl Makefile | grep include
>         $(INSTALL) -m 644 portable/i386-pc-mingw32msvc.h $ 
> (ARCH_DISTDIR)/include/portable.h
>         echo "/* Architecture: $(ARCH) */" > $(ARCH_DISTDIR)/ 
> include/portable.h
>         $(OBJDIR)/port_test >> $(ARCH_DISTDIR)/include/portable.h
>
> -> shouldn't it be $(ARCH_DISTDIR)/include/grass/portable.h
> ?
>
> Markus
>

-----
William Kyngesburye <kyngchaos at kyngchaos.com>
http://www.kyngchaos.com/

"Oh, look, I seem to have fallen down a deep, dark hole.  Now what  
does that remind me of?  Ah, yes - life."

- Marvin




More information about the grass-dev mailing list