• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1TEMPLATE = lib
2TARGET = TestNetscapePlugIn
3
4VPATH = ../../unix/TestNetscapePlugin ../../TestNetscapePlugIn.subproj
5include(../../../../WebKit.pri)
6
7DESTDIR = $$OUTPUT_DIR/lib/plugins
8
9mac {
10    CONFIG += plugin
11    CONFIG += plugin_bundle
12    QMAKE_INFO_PLIST = ../../TestNetscapePlugIn.subproj/Info.plist
13    QMAKE_PLUGIN_BUNDLE_NAME = $$TARGET
14    QMAKE_BUNDLE_LOCATION += "Contents/MacOS"
15
16    !build_pass:CONFIG += build_all
17    debug_and_release:TARGET = $$qtLibraryTarget($$TARGET)
18}
19
20INCLUDEPATH += ../../../../JavaScriptCore \
21               ../../unix/TestNetscapePlugin/ForwardingHeaders \
22               ../../unix/TestNetscapePlugin/ForwardingHeaders/WebKit \
23               ../../../../WebCore \
24               ../../../../WebCore/bridge \
25               ../../TestNetscapePlugIn.subproj
26
27SOURCES = PluginObject.cpp \
28          TestObject.cpp
29
30mac {
31    SOURCES += ../../TestNetscapePlugIn.subproj/main.cpp
32    LIBS += -framework Carbon
33} else {
34    SOURCES += ../../unix/TestNetscapePlugin/TestNetscapePlugin.cpp
35}
36