summaryrefslogtreecommitdiff
path: root/epan/Makefile.nmake
diff options
context:
space:
mode:
Diffstat (limited to 'epan/Makefile.nmake')
-rw-r--r--epan/Makefile.nmake18
1 files changed, 15 insertions, 3 deletions
diff --git a/epan/Makefile.nmake b/epan/Makefile.nmake
index f3a7802112..3c09327b2b 100644
--- a/epan/Makefile.nmake
+++ b/epan/Makefile.nmake
@@ -39,8 +39,8 @@ EXTRA_OBJECTS = \
inet_aton.obj \
inet_pton.obj \
inet_ntop.obj \
- ../mkstemp.obj \
- ../strptime.obj
+ mkstemp.obj \
+ strptime.obj
!IFDEF ENABLE_LIBETHEREAL
@@ -84,7 +84,7 @@ clean:
cd ..
distclean: clean
- rm -f config.h register.c
+ rm -f config.h register.c mkstemp.c strptime.c
cd ftypes
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake distclean
cd ../dfilter
@@ -119,3 +119,15 @@ doxygen-run:
doxygen: doxygen.cfg doxygen-run
+
+# (Windows only) Copy some sources from /trunk to /trunk/epan.
+# It is a cleaner to compile these sources seperately with this makefile than
+# using the object code compiled by the makefile in /trunk for both dynamically
+# and statically linking
+
+mkstemp.c: ..\mkstemp.c
+ xcopy ..\mkstemp.c . /d /y
+
+strptime.c: ..\strptime.c
+ xcopy ..\strptime.c . /d /y
+