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
http_rewrite: parsing of new configuration
[metaproxy-moved-to-github.git]
/
example-module
/
Makefile
diff --git
a/example-module/Makefile
b/example-module/Makefile
index
63810a2
..
c73d362
100644
(file)
--- a/
example-module/Makefile
+++ b/
example-module/Makefile
@@
-1,13
+1,18
@@
-CONFIG=../../yazpp/yazpp-config
+CONFIG=../metaproxy-config
SO=metaproxy_filter_myfilter.so
SO=metaproxy_filter_myfilter.so
-all: $(SO)
+all: $(SO) mytest
$(SO): filter_myfilter.cpp
$(SO): filter_myfilter.cpp
- $(CXX) -shared `$(CONFIG) --cflags` -fPIC -I ../src $< -o $(SO) ../src/.libs/libmetaproxy.so -ldl
+ $(CXX) -shared `$(CONFIG) --cflags` -fPIC $< \
+ -o $@ `$(CONFIG) --libs`
+
+mytest: mytest.cpp
+ $(CXX) `$(CONFIG) --cflags` $< \
+ -o $@ `$(CONFIG) --libs`
clean:
clean:
- rm -f *.so
+ rm -f *.so mytest
run: all
../src/metaproxy -c config.xml
run: all
../src/metaproxy -c config.xml