This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
-----Original Message-----Sorry, that Imake rule was incomplete. It should have been:
From: cygwin-owner@sourceware.cygnus.com [mailto:cygwin-owner@sourceware.cygnus.com]On Behalf Of Richard
Sent: Wednesday, August 18, 1999 12:51 PM
To: cygwin@sourceware.cygnus.com
Subject: Imake, DLLs again#define SharedLibraryTarget(libname,rev,solist,down,up) @@\
AllTarget(Concat3(lib,libname,.dll)) @@\
@@\
CppFileTarget(libname.def,libname-def.cpp,-DLIBRARY_VERSION=rev,$(ICONFIGFILES)) @@\
@@\
@@\
junk.c: @@\
echo "#include <cygwin/cygwin_dll.h>" >junk.c @@\
echo "DECLARE_CYGWIN_DLL(dll_main);" >>junk.c @@\
echo "int WINAPI dll_main(HANDLE a, DWORD reason, void *q)" >>junk.c @@\
echo "{ return 1; }" >>junk.c @@\
Concat3(lib,libname,.dll): solist junk.o libname.def @@\
RemoveFile(LibraryTargetName(libname)) @@\
RemoveFile(Concat3(lib,libname,.dll)) @@\
MakeDLL(libname,solist) @@\
LinkBuildLibrary(Concat3(lib,libname,.a)) @@\
clean:: @@\
RemoveFile(LibraryTargetName(libname)) @@\
RemoveFile(Concat3(lib,libname,.dll)) @@\
RemoveFile(junk.o) @@\
RemoveFile(junk.c) @@\
RemoveFile($(BASE_COUNTER))
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |