Annotation of gpl/axl/ns/Makefile.win, revision 1.1.1.1

1.1       misho       1: # Makefile for windows (mingw)
                      2: OBJ  = axl_ns_doc.o axl_ns_node.o
                      3: 
                      4: DLL        = $(axl_dll)-ns.dll
                      5: IMPORT_DLL = $(DLL).a
                      6: STATIC_LIB = $(axl_dll)-ns.a
                      7: 
                      8: LIBS = -Wall $(enable_gcc_debug) --add-stdcall-alias $(search_lib_path) -laxl -L"../src"
                      9: 
                     10: INCS = -I"." -I"../src" 
                     11: 
                     12: CFLAGS = $(INCS) -DVERSION=\""$(AXL_VERSION)"\" -Wall -g -D__axl_disable_broken_bool_def__  $(enable_axl_log)
                     13: 
                     14: RM = rm -f
                     15: 
                     16: .PHONY: all clean
                     17: 
                     18: all: $(DLL)
                     19: 
                     20: clean: 
                     21:        ${RM} $(OBJ) $(DLL) *.a *.dll.a *.lib *.dll
                     22: 
                     23: install: all
                     24: 
                     25: 
                     26: $(DLL): $(OBJ)
                     27: # add the following line to create an import library. At this point this step
                     28: # is not requiered because gcc automatically get an import library from the dll.
                     29: # -Wl,--out-implib,libaxl.lib
                     30:        $(CC) -m$(MODE) -shared -Wl,--out-implib,$(IMPORT_DLL) --export-all-symbols \
                     31:                  $(OBJ) -o $(DLL)        $(LIBS)
                     32:        lib.exe /def:$(axl_dll)-ns.def
                     33:        strip --strip-unneeded $(DLL)
                     34: 
                     35: %.o: %.c
                     36:        $(CC) -c $< -o $@ $(CFLAGS)

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>