nice ground to find unsermake bugs, but still has bugs on it's own :)

svn path=/trunk/kdebase/nsplugins/; revision=154853
This commit is contained in:
Stephan Kulow 2002-05-10 21:22:14 +00:00
parent d1846f76a9
commit 9a88a45df4
3 changed files with 6 additions and 16 deletions

View file

@ -3,14 +3,9 @@ INCLUDES = -I$(top_srcdir)/libltdl $(all_includes)
METASOURCES = AUTO
noinst_HEADERS = NSPluginClassIface.h NSPluginCallbackIface.h nspluginloader.h
plugin_part.cpp: NSPluginClassIface_stub.h
NSPluginClassIface_stub.h: NSPluginClassIface.h
NSPluginClassIface.h:
-rm -f ./NSPluginClassIface.h
-ln -s $(srcdir)/viewer/NSPluginClassIface.h .
NSPluginClassIface_DIR = $(srcdir)/viewer
lib_LTLIBRARIES = libnsplugin.la
libnsplugin_la_SOURCES = plugin_part.cpp nspluginloader.cpp NSPluginClassIface.stub \
@ -23,10 +18,8 @@ nspluginscan_SOURCES = pluginscan.cpp
nspluginscan_LDFLAGS = $(KDE_RPATH) $(all_libraries)
nspluginscan_LDADD = $(MOTIF_LIBS) $(LIB_KDEUI) $(LIB_KSYCOCA) -lXt
messages:
$(EXTRACTRC) `find . -name *.ui` > rc.cpp
$(EXTRACTRC) `find . -name *.rc` >> rc.cpp
$(XGETTEXT) *.cpp control/*.cpp viewer/*.cpp -o $(podir)/nsplugin.pot

View file

@ -5,4 +5,7 @@ noinst_HEADERS = testnsplugin.h
check_PROGRAMS = testnsplugin
testnsplugin_SOURCES = testnsplugin.cpp
testnsplugin_LDFLAGS = $(all_libraries) $(KDE_RPATH)
testnsplugin_LDADD = $(LIB_KDEUI) -L.. -lnsplugin
testnsplugin_LDADD = $(LIB_KDEUI) ../libnsplugin.la
$(srcdir)/testnsplugin.cpp: ../NSPluginClassIface_stub.h

View file

@ -8,11 +8,5 @@ nspluginviewer_SOURCES = NSPluginCallbackIface.stub NSPluginClassIface.skel \
nspluginviewer_LDFLAGS = $(all_libraries) $(KDE_RPATH) -export-dynamic
nspluginviewer_LDADD = $(MOTIF_LIBS) $(LIB_KIO) -lXt
NSPluginCallbackIface.h:
-rm -f ./NSPluginCallbackIface.h
-ln -s $(srcdir)/../NSPluginCallbackIface.h .
viewer.cpp: NSPluginCallbackIface_stub.h
nsplugin.cpp: NSPluginCallbackIface_stub.h
NSPluginCallbackIface_DIR = $(srcdir)/..