зеркало из https://github.com/mozilla/pjs.git
link standalone version to static libs
This commit is contained in:
Родитель
2513a7f241
Коммит
2598d7a406
|
@ -14,14 +14,12 @@
|
|||
# Communications Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
|
||||
# Reserved.
|
||||
IGNORE_MANIFEST=1
|
||||
#//------------------------------------------------------------------------
|
||||
#//
|
||||
#// Makefile to build
|
||||
#//
|
||||
#//------------------------------------------------------------------------
|
||||
|
||||
|
||||
#//------------------------------------------------------------------------
|
||||
#//
|
||||
#// Specify the depth of the current directory relative to the
|
||||
|
@ -30,16 +28,18 @@ IGNORE_MANIFEST=1
|
|||
#//------------------------------------------------------------------------
|
||||
DEPTH= ..\..\..
|
||||
|
||||
!ifndef MAKE_OBJ_TYPE
|
||||
MAKE_OBJ_TYPE=DLL
|
||||
!endif
|
||||
|
||||
#//------------------------------------------------------------------------
|
||||
#//
|
||||
#// Define any Public Make Variables here: (ie. PDFFILE, MAPFILE, ...)
|
||||
#//
|
||||
#//------------------------------------------------------------------------
|
||||
|
||||
USE_STATIC_LIBS=1
|
||||
|
||||
!ifndef MAKE_OBJ_TYPE
|
||||
MAKE_OBJ_TYPE=DLL
|
||||
!endif
|
||||
|
||||
#//------------------------------------------------------------------------
|
||||
#//
|
||||
#// Define the files necessary to build the target (ie. OBJS)
|
||||
|
@ -62,6 +62,7 @@ OBJS= \
|
|||
|
||||
LIBNAME=nsreg
|
||||
DLL=$(OBJDIR)\$(LIBNAME).dll
|
||||
LIBRARY=$(OBJDIR)\$(LIBNAME)_s.lib
|
||||
|
||||
#//------------------------------------------------------------------------
|
||||
#//
|
||||
|
@ -87,9 +88,10 @@ docopy:
|
|||
$(MAKE_INSTALL) ..\src\*.c .
|
||||
|
||||
|
||||
export:: docopy $(DLL)
|
||||
export:: docopy $(DLL) $(LIBRARY)
|
||||
|
||||
$(MAKE_INSTALL) $(DLL) $(DIST)\bin
|
||||
$(MAKE_INSTALL) $(LIBRARY) $(DIST)\lib
|
||||
$(MAKE_INSTALL) $(OBJDIR)\$(LIBNAME).lib $(DIST)\lib
|
||||
$(RM) *.[hc]
|
||||
|
||||
|
@ -98,8 +100,5 @@ clobber::
|
|||
|
||||
$(RM) $(DIST)\bin\$(LIBNAME).dll
|
||||
$(RM) $(DIST)\lib\$(LIBNAME).lib
|
||||
$(RM) $(DEPTH)\modules\libreg\standalone\reg.h
|
||||
$(RM) $(DEPTH)\modules\libreg\standalone\reg.c
|
||||
$(RM) $(DEPTH)\modules\libreg\standalone\vr_stubs.h
|
||||
$(RM) $(DEPTH)\modules\libreg\standalone\vr_stubs.c
|
||||
$(RM) $(DEPTH)\modules\libreg\standalone\VerReg.c
|
||||
$(RM) $(DIST)\lib\$(LIBNAME)_s.lib
|
||||
$(RM) *.[hc]
|
||||
|
|
Загрузка…
Ссылка в новой задаче