aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/asn1/Makefile.nmake
blob: 00d685db97cd19ba6017887792fa5ec7ef0d3e13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#
# $Id$
#

include ..\..\config.nmake

############### no need to modify below this line #########

# XXX: that's odd here, no GTK stuff should be in the plugins dir,
# so move all GTK specific stuff into gtk dir.
# As GTK1_CFLAGS isn't correct here, we don't have GTK_CFLAGS
# any longer, so no better choice here. If the move of GTK code 
# finished, replace this with GLIB_CFLAGS.
# The same applies to GTK1_LIBS -> GLIB_LIBS.
CFLAGS=/DHAVE_CONFIG_H /I../.. /I../../wiretap $(GTK1_CFLAGS) \
	/I$(PCAP_DIR)\include -D_U_="" $(LOCAL_CFLAGS)

OBJECTS=packet-asn1.obj 

asn1.dll asn1.exp asn1.lib : $(OBJECTS) ..\plugin_api.obj
	link -dll /out:asn1.dll $(OBJECTS) ..\plugin_api.obj \
!IFDEF GTK1_DIR
	$(GTK1_LIBS)
!ELSE
	$(GTK2_LIBS)
!ENDIF

clean:
	rm -f $(OBJECTS) asn1.dll asn1.exp asn1.lib $(PDB_FILE)

distclean: clean