diff options
author | rws <empty> | 1991-03-24 17:16:56 +0000 |
---|---|---|
committer | rws <empty> | 1991-03-24 17:16:56 +0000 |
commit | 3cdc82b9b61ad93f2dd11775b2c6349991be01df (patch) | |
tree | f35fde2fcc15d911abaec43a3aadd228bfa9e4f0 /xc/lib/Xdmcp | |
parent | 47a879ef6bf09f35c50702d30c588853cbbd921a (diff) |
clean up with new Library.tmpl
Diffstat (limited to 'xc/lib/Xdmcp')
-rw-r--r-- | xc/lib/Xdmcp/Imakefile | 37 |
1 files changed, 13 insertions, 24 deletions
diff --git a/xc/lib/Xdmcp/Imakefile b/xc/lib/Xdmcp/Imakefile index b57e4980b..c6f017a2f 100644 --- a/xc/lib/Xdmcp/Imakefile +++ b/xc/lib/Xdmcp/Imakefile @@ -1,3 +1,7 @@ +#define DoNormalLib NormalLibXdmcp +#define DoSharedLib SharedLibXdmcp +#define DoDebugLib DebugLibXdmcp +#define DoProfileLib ProfileLibXdmcp #include <Library.tmpl> XCOMM @@ -16,10 +20,6 @@ OS_NAME_DEFINES = OsNameDefines DESDEFS = -DHASDES DESSRCS = Encrypt.c Decrypt.c Crypt.c DESOBJS = Encrypt.o Decrypt.o Crypt.o -#else -DESDEFS = -DESSRCS = -DESOBJS = #endif DEFINES = $(DESDEFS) @@ -108,35 +108,24 @@ OBJS = \ IncKey.o \ $(DESOBJS) -all:: -#if DebugLibXdmcp && ProfileLibXdmcp -DebuggedAndProfiledLibraryObjectRule() -#else -# if DebugLibXdmcp -DebuggedLibraryObjectRule() -# else -# if ProfileLibXdmcp -ProfiledLibraryObjectRule() -# else -NormalLibraryObjectRule() -# endif -# endif -#endif +LibraryObjectRule() +#if DoNormalLib NormalLibraryTarget(Xdmcp,$(OBJS)) -LintLibraryTarget(Xdmcp,$(SRCS)) InstallLibrary(Xdmcp,$(USRLIBDIR)) -InstallLintLibrary(Xdmcp,$(LINTLIBDIR)) - -#if ProfileLibXdmcp +#endif +#if DoProfileLib ProfiledLibraryTarget(Xdmcp,$(OBJS)) InstallLibrary(Xdmcp_p,$(USRLIBDIR)) #endif - -#if DebugLibXdmcp +#if DoDebugLib DebuggedLibraryTarget(Xdmcp,$(OBJS)) +InstallLibrary(Xdmcp_g,$(USRLIBDIR)) #endif +LintLibraryTarget(Xdmcp,$(SRCS)) +InstallLintLibrary(Xdmcp,$(LINTLIBDIR)) + BuildIncludes($(HEADERS),.,.) MakeDirectories(install,$(INCDIR)) |