summaryrefslogtreecommitdiffstats
path: root/dcopjava/binding/Makefile.am
blob: 45617ab77761fe056e583aa0511f7b98cb7de6c1 (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 = $(all_libraries) $(KDE_LDFLAGS) $(KDE_PLUGIN)
libjavadcop_la_LIBADD = $(LIB_TDECORE) -lDCOP -ltdecore -ltdeui $(LIB_TQT) -lkjs -ltdefx

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