projects
/
metaproxy-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update example module to use metaproxy-config
[metaproxy-moved-to-github.git]
/
example-module
/
Makefile
diff --git
a/example-module/Makefile
b/example-module/Makefile
index
8264d16
..
a352aed
100644
(file)
--- a/
example-module/Makefile
+++ b/
example-module/Makefile
@@
-1,13
+1,15
@@
-CONFIG=../../yazpp/yazpp-config
+CONFIG=../metaproxy-config
SO=metaproxy_filter_myfilter.so
all: $(SO)
$(SO): filter_myfilter.cpp
SO=metaproxy_filter_myfilter.so
all: $(SO)
$(SO): filter_myfilter.cpp
- $(CXX) -shared `$(CONFIG) --cflags` -I ../src $< -o $(SO) ../src/.libs/libmetaproxy.so -ldl
+ echo $(LIBS)
+ $(CXX) -shared `$(CONFIG) --cflags` -fPIC -I ../src $< \
+ -o $(SO) `$(CONFIG) --libs`
clean:
clean:
- rm *.so
+ rm -f *.so
run: all
../src/metaproxy -c config.xml
run: all
../src/metaproxy -c config.xml