summaryrefslogtreecommitdiffstats
path: root/dcopjava/binding/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'dcopjava/binding/Makefile.am')
-rw-r--r--dcopjava/binding/Makefile.am9
1 files changed, 6 insertions, 3 deletions
diff --git a/dcopjava/binding/Makefile.am b/dcopjava/binding/Makefile.am
index 922e59ff..3e919043 100644
--- a/dcopjava/binding/Makefile.am
+++ b/dcopjava/binding/Makefile.am
@@ -6,10 +6,13 @@ libjavadcop_la_LIBADD = $(LIB_KDECORE)
INCLUDES = $(jni_includes) $(all_includes)
-client.cpp: org_kde_DCOP_Client.h
+client.$(OBJEXT): org_kde_DCOP_Client.h
-org_kde_DCOP_Client.h: org/kde/DCOP/Client.class
- CLASSPATH=$(srcdir) $(JAVAH) -jni org.kde.DCOP.Client
+client.lo: org_kde_DCOP_Client.h
+
+org_kde_DCOP_Client.h:
+ $(MAKE) -C org
+ $(JAVAH) -classpath .:$(srcdir) -jni org.kde.DCOP.Client
SUBDIRS = org