aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil/Makefile.nmake
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2008-05-23 02:09:48 +0000
committerGuy Harris <guy@alum.mit.edu>2008-05-23 02:09:48 +0000
commit819dc6c790b06163ce6c50dc00f4b3ca0cb8d201 (patch)
tree57bfc58f14106629b28ac4d6f6412464bf197c56 /wsutil/Makefile.nmake
parent60d4c486f92dde4856dec601532d8d21d4977060 (diff)
Add a Makefile.common file, and have Makefile.am and Makefile.nmake use it.
svn path=/trunk/; revision=25360
Diffstat (limited to 'wsutil/Makefile.nmake')
-rw-r--r--wsutil/Makefile.nmake9
1 files changed, 5 insertions, 4 deletions
diff --git a/wsutil/Makefile.nmake b/wsutil/Makefile.nmake
index b061490a00..19af589ecd 100644
--- a/wsutil/Makefile.nmake
+++ b/wsutil/Makefile.nmake
@@ -9,6 +9,8 @@ include ..\Makefile.nmake.inc
############### no need to modify below this line #########
+include Makefile.common
+
CFLAGS=-WX -DHAVE_CONFIG_H /I. /I.. $(GLIB_CFLAGS) \
/I$(PCAP_DIR)\include -D_U_="" $(LOCAL_CFLAGS)
@@ -17,14 +19,13 @@ CVARSDLL=-DWIN32 -DNULL=0 -D_MT -D_DLL
.c.obj::
$(CC) $(CVARSDLL) $(CFLAGS) -Fd.\ -c $<
-
+# For use when making libwsutil.dll
libwsutil_LIBS = $(GLIB_LIBS)
-OBJECTS = \
- mpeg-audio.obj \
- file_util.obj
+OBJECTS = $(LIBWSUTIL_SRC:.c=.obj)
+# For use when making libwsutil.dll
libwsutil.lib: libwsutil.dll
libwsutil.exp: libwsutil.dll