summaryrefslogtreecommitdiff
path: root/Makerules.am
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2007-06-02 13:23:22 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:27:10 +0200
commit076a50c07bd66cc978f25df20338cbc2600c577a (patch)
tree976290f0812536aa02a497e6e96bdf49b7069f19 /Makerules.am
parente265842b145978356c9d71dec8d6fd0fb4afcac9 (diff)
2007-06-02 Thomas Schwinge <tschwinge@gnu.org>
* Makerules.mig.am: New file, factored out of code of... * Makefrag.am: ... this file and... * Makerules.am: ... this file. * i386/Makefrag.am: Update comment.
Diffstat (limited to 'Makerules.am')
-rw-r--r--Makerules.am50
1 files changed, 2 insertions, 48 deletions
diff --git a/Makerules.am b/Makerules.am
index 2f209c32..37d383ae 100644
--- a/Makerules.am
+++ b/Makerules.am
@@ -29,54 +29,8 @@ EXTRA_DIST += \
-e 's/^[*]/#define/' \
-e 's/mAgIc[^-0-9]*//'
-#
-# Building RPC stubs.
-#
-
-# These chained rules could be (and used to be) single rules using pipes or
-# could even --- if you dare to --- use the `mig' shell script, but it's
-# convenient to be able to explicitly make the intermediate files when you want
-# to deal with a problem in the MIG stub generator.
-
-# TODO. Get rid of the following four rules and the lib_dep_tr_for_defs.a
-# machinery (see Makefrag.am and i386/Makefrag.am).
-%.server.defs.c: %.srv
- rm -f $@
- cp -p $< $@
-%.user.defs.c: %.cli
- rm -f $@
- cp -p $< $@
-%.server.h %.server.c %.server.msgids: lib_dep_tr_for_defs_a-%.server.defs.$(OBJEXT)
- $(MIGCOM) $(MIGCOMFLAGS) $(MIGCOMSFLAGS) \
- -sheader $*.server.h -server $*.server.c \
- -list $*.server.msgids \
- < $<
-%.user.h %.user.c %.user.msgids: lib_dep_tr_for_defs_a-%.user.defs.$(OBJEXT)
- $(MIGCOM) $(MIGCOMFLAGS) $(MIGCOMUFLAGS) \
- -user $*.user.c -header $*.user.h \
- -list $*.user.msgids \
- < $<
-
-# TODO. Get rid of the .srv files and rather use .defs files and MIG*SFLAGS?
-#%.server.defs: %.srv
-# $(CPP) $(AM_CPPFLAGS) $(CPPFLAGS) -o $@ $<
-#%.server.defs: %.defs
-# $(CPP) $(AM_CPPFLAGS) $(CPPFLAGS) $(MIGSFLAGS) -o $@ $<
-#%.server.h %.server.c %.server.msgids: %.server.defs
-# $(MIGCOM) $(MIGCOMFLAGS) $(MIGCOMSFLAGS) \
-# -sheader $*.server.h -server $*.server.c \
-# -list $*.server.msgids \
-# < $<
-# TODO. Get rid of the .cli files and rather use .defs files and MIG*UFLAGS?
-#%.user.defs: %.cli
-# $(CPP) $(AM_CPPFLAGS) $(CPPFLAGS) -o $@ $<
-#%.user.defs: %.defs
-# $(CPP) $(AM_CPPFLAGS) $(CPPFLAGS) $(MIGUFLAGS) -o $@ $<
-#%.user.h %.user.c %.user.msgids: %.user.defs
-# $(MIGCOM) $(MIGCOMFLAGS) $(MIGCOMUFLAGS) \
-# -user $*.user.c -header $*.user.h \
-# -list $*.user.msgids \
-# < $<
+# Makerules.mig: how to do some MIG-related things.
+include Makerules.mig.am
#
# gzip files.