When all products were built in a single directory, each one had a
separate version of ao_product.h. Now that they all reside in
sub-directories, each directory has its own ao_product.h
This change is needed so that other modules in the system can use the
product defines; otherwise, ao_product.h was not built at the right time.
Signed-off-by: Keith Packard <keithp@keithp.com>
dnl Process this file with autoconf to create configure.
AC_PREREQ(2.57)
-AC_INIT([altos], 0.9.4.1)
+AC_INIT([altos], 0.9.4.2)
AC_CONFIG_SRCDIR([src/ao.h])
AM_INIT_AUTOMAKE([foreign dist-bzip2])
AM_MAINTAINER_MODE
ao_product.h: ao-make-product.5c ../Version
$(call quiet,NICKLE,$<) $< -m altusmetrum.org -i $(IDPRODUCT) -p $(PRODUCT) -v $(VERSION) > $@
-ao_product.rel: ao_product.c ao_product.h
- $(call quiet,CC) -c $(CFLAGS) -D PRODUCT_DEFS='\"ao_product.h\"' -o$@ $<
+$(REL): ao_product.h
distclean: clean
*/
#include "ao.h"
-#include PRODUCT_DEFS
+#include "ao_product.h"
/* Defines which mark this particular AltOS product */