aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/Makefile.nmake
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-07-18 03:02:12 +0000
committerGuy Harris <guy@alum.mit.edu>2003-07-18 03:02:12 +0000
commitbef8e395a878b4edf95f918c1dc8d8de319e21e6 (patch)
treebc294a47759910e5bbb894cadbe7eb90ba1fc197 /plugins/Makefile.nmake
parent5fb05113281c65566a6c7ce8cf778aedb61b801c (diff)
From Matthijs Melchior: generate all declarations and definitions for
plugin ABI from a single file. svn path=/trunk/; revision=8038
Diffstat (limited to 'plugins/Makefile.nmake')
-rw-r--r--plugins/Makefile.nmake12
1 files changed, 10 insertions, 2 deletions
diff --git a/plugins/Makefile.nmake b/plugins/Makefile.nmake
index 204d8f1325..1a99ca8f78 100644
--- a/plugins/Makefile.nmake
+++ b/plugins/Makefile.nmake
@@ -1,5 +1,5 @@
#
-# $Id: Makefile.nmake,v 1.20 2003/06/17 04:06:12 guy Exp $
+# $Id: Makefile.nmake,v 1.21 2003/07/18 03:01:33 guy Exp $
#
include ..\config.nmake
@@ -11,7 +11,15 @@ CFLAGS=/DHAVE_CONFIG_H /I.. /I../wiretap /I. $(GLIB_CFLAGS) \
OBJECTS=plugin_api.obj
-all: plugin_api.obj artnet docsis giop gryphon megaco mgcp pcli rtnet
+all: $(OBJECTS) artnet docsis giop gryphon megaco mgcp pcli rtnet
+
+Xplugin_api.c: xyzzy plugin_gen.py plugin_api.c
+ $(PYTHON) plugin_gen.py xyzzy
+
+plugin_api.obj: plugin_api.c Xplugin_api.c
+
+xyzzy: plugin_api_list.c
+ gcc -aux-info xyzzy -DHAVE_CONFIG_H -I$(GLIB_DIR) -I.. -c plugin_api_list.c
artnet::
cd artnet