summaryrefslogtreecommitdiff
path: root/pjsip-apps/src/swig/python/helper.mak
diff options
context:
space:
mode:
Diffstat (limited to 'pjsip-apps/src/swig/python/helper.mak')
-rw-r--r--pjsip-apps/src/swig/python/helper.mak20
1 files changed, 20 insertions, 0 deletions
diff --git a/pjsip-apps/src/swig/python/helper.mak b/pjsip-apps/src/swig/python/helper.mak
new file mode 100644
index 00000000..41baf2b2
--- /dev/null
+++ b/pjsip-apps/src/swig/python/helper.mak
@@ -0,0 +1,20 @@
+include ../../../../build.mak
+
+lib_dir:
+ @for token in `echo $(APP_LDFLAGS)`; do \
+ echo $$token | grep L | sed 's/-L//'; \
+ done
+
+inc_dir:
+ @for token in `echo $(APP_CFLAGS)`; do \
+ echo $$token | grep I | sed 's/-I//'; \
+ done
+
+libs:
+ @for token in `echo $(APP_LDLIBS)`; do \
+ echo $$token | grep \\-l | sed 's/-l//'; \
+ done
+
+target_name:
+ @echo $(TARGET_NAME)
+