PUD: wireformat: rework Makefile
[olsrd.git] / make / Makefile.wince
index 351412a..e0c1821 100644 (file)
@@ -2,13 +2,26 @@
 # WINDOWS CE SPECIFIC CONFIGURATION
 #
 
-INSTALL_PREFIX ?=
-LIBDIR =       $(INSTALL_PREFIX)/usr/lib
+DESTDIR ?=
+LIBDIR =       $(DESTDIR)/usr/lib
 
 SRCS +=                $(wildcard src/win32/*.c)
 HDRS +=                $(wildcard src/win32/*.h)
 
-DEFINES =      -DWIN32 -DWINCE
-LIBS =         -lwinsock -liphlpapi
+CPPFLAGS +=    -DWIN32 -DWINCE
+LIBS +=                -lwinsock -liphlpapi
 
-INCLUDES +=    -Isrc/win32 -Isrc/win32/ce
+CPPFLAGS +=    -Isrc/win32 -Isrc/win32/ce
+
+ifdef OLSRD_PLUGIN
+CFLAGS +=      
+LDFLAGS +=     -lolsrd
+endif
+
+OS_LIB_PTHREAD =
+OS_CFLAG_PTHREAD =
+OS_LIB_DYNLOAD =
+
+# Local Variables:
+# mode: makefile
+# End: