summaryrefslogtreecommitdiffstats
path: root/dcopjava/binding/Makefile.am
blob: be90dd10c084f53a04d4cf317397a34527ee2867 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
lib_LTLIBRARIES = libjavadcop.la

libjavadcop_la_SOURCES = client.cpp 
libjavadcop_la_LDFLAGS = $(KDE_LDFLAGS) $(KDE_PLUGIN) -lDCOP -ltdecore -ltdeui $(LIB_QT) -lkjs -ltdefx
libjavadcop_la_LIBADD = $(LIB_TDECORE)

INCLUDES = $(jni_includes) $(all_includes)

client.$(OBJEXT): org_trinitydesktop_DCOP_Client.h

client.lo: org_trinitydesktop_DCOP_Client.h

org_trinitydesktop_DCOP_Client.h:
	$(MAKE) -C org
	if ! $(JAVA8); then \
	  $(JAVAH) -classpath .:$(srcdir) -jni org.trinitydesktop.DCOP.Client; \
	fi

SUBDIRS = org

CLEANFILES = org_trinitydesktop_DCOP_Client.h