[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Use the INCLUDES variable when compiling mig.
From: |
James A Morrison |
Subject: |
Use the INCLUDES variable when compiling mig. |
Date: |
Wed, 17 Apr 2002 10:32:30 -0400 (EDT) |
Hi,
spyck had a use for this, so I added it. Please regenerate Makefile.in
for the cvs repository. I didn't because I have an older version of automake
than the one that generated the current Makefile.in in CVS.
James A. Morrison
2002-04-17 James A. Morrison <ja2morri@uwaterloo.ca>
* Makefile.am: Added INCLUDES variable.
Index: Makefile.am
===================================================================
RCS file: /cvsroot/hurd/mig/Makefile.am,v
retrieving revision 1.4
diff -u -p -r1.4 Makefile.am
--- Makefile.am 6 Apr 2002 05:26:09 -0000 1.4
+++ Makefile.am 17 Apr 2002 14:23:05 -0000
@@ -16,12 +16,14 @@ migcom_SOURCES = alloc.h boolean.h error
type.c type.h user.c utils.c utils.h vprint.c write.h
migcom_LDADD = @ALLOCA@ @LEXLIB@
+INCLUDES = -I@includedir@
+
SUFFIXES = .h .symo .symc .sym
.sym.symc:
$(AWK) -f $(srcdir)/gensym.awk $< > $@
.symc.symo:
- $(TARGET_CC) -S $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) -x c -o $@ $<
+ $(TARGET_CC) -S $(INCLUDES) $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) -x c -o
$@ $<
.symo.h:
sed -e '/^[^*].*$$/d' -e 's/^[*]/#define/' -e 's/mAgIc[^-0-9]*//' \
$< > $@
- Use the INCLUDES variable when compiling mig.,
James A Morrison <=