summaryrefslogtreecommitdiffstats
path: root/dcopjava/binding/Makefile.am
blob: de9d832a87ecbfa9f01f0c4900d330ab5b214772 (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_TQT) -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