diff --git a/include/lber_types.h.nt b/include/lber_types.nt similarity index 100% rename from include/lber_types.h.nt rename to include/lber_types.nt diff --git a/include/ldap_config.h.nt b/include/ldap_config.nt similarity index 100% rename from include/ldap_config.h.nt rename to include/ldap_config.nt diff --git a/include/ldap_features.h.nt b/include/ldap_features.nt similarity index 100% rename from include/ldap_features.h.nt rename to include/ldap_features.nt diff --git a/include/portable.h.nt b/include/portable.nt similarity index 100% rename from include/portable.h.nt rename to include/portable.nt diff --git a/include/setup.dsp b/include/setup.dsp index 144fdf6865..2114f7205e 100644 --- a/include/setup.dsp +++ b/include/setup.dsp @@ -78,19 +78,19 @@ CFG=setup - Win32 Debug # Begin Source File -SOURCE=.\lber_types.h.nt +SOURCE=.\lber_types.nt # End Source File # Begin Source File -SOURCE=.\ldap_config.h.nt +SOURCE=.\ldap_config.nt # End Source File # Begin Source File -SOURCE=.\ldap_features.h.nt +SOURCE=.\ldap_features.nt # End Source File # Begin Source File -SOURCE=.\portable.h.nt +SOURCE=.\portable.nt # End Source File # Begin Source File diff --git a/include/setup.mak b/include/setup.mak index ad8ddaa022..13f25b36ea 100644 --- a/include/setup.mak +++ b/include/setup.mak @@ -3,19 +3,17 @@ # COPYING RESTRICTIONS APPLY, see COPYRIGHT file # +.SUFFIXES: .nt + +.nt.h: + copy $*.nt $*.h + all: setup.txt -setup.txt: lber_types.h ldap_config.h ldap_features.h portable.h - copy setup.mak setup.txt +setup.txt: lber_types.h ldap_config.h ldap_features.h portable.h setup.mak + copy setup.mak setup.txt -lber_types.h: lber_types.h.nt - copy lber_types.h.nt lber_types.h - -ldap_config.h: ldap_config.h.nt - copy ldap_config.h.nt ldap_config.h - -ldap_features.h: ldap_features.h.nt - copy ldap_features.h.nt ldap_features.h - -portable.h: portable.h.nt - copy portable.h.nt portable.h +lber_types.h: lber_types.nt +ldap_config.h: ldap_config.nt +ldap_features.h: ldap_features.nt +portable.h: portable.nt