dtcm: Resolve CID 87713
[oweals/cde.git] / cde / programs / dtcm / server / Imakefile
index ba8e9fd6983a4d6560ca9cdf184052cc63af20f8..5722f94649a1722a91cbda36f96ab9113c891805 100644 (file)
@@ -30,7 +30,7 @@ LOCAL_LIBRARIES = $(CSALIB) $(DTWIDGETLIB) $(DTHELPLIB) $(DTSVCLIB) $(TTLIB) $(X
 
  OSMAJORVERSION = OSMajorVersion
  OSMINORVERSION = OSMinorVersion
-        DEFINES = -DREL="$(OSMAJORVERSION)$(OSMINORVERSION)" -DSVR4 \
+        DEFINES = -DREL="$(OSMAJORVERSION)$(OSMINORVERSION)" \
                   -DRELMAJOR="$(OSMAJORVERSION)" \
                   -DRELMINOR="$(OSMINORVERSION)"
 
@@ -49,14 +49,8 @@ EXTRA_CCOPTIONS = -xstrconst -Xc -v
 EXTRA_LIBRARIES = -lsocket -lnsl -lintl
 #endif
 
-XCOMM On Linux once you link against a C++ library the whole program 
-XCOMM has to be linked with the C++ linker
-#if defined(LinuxArchitecture)
-CCLINK = $(CXX)
-#endif
-
 SRCS = \
-       parser.y        access.c        callback.c \
+       parser.c        access.c        callback.c \
        cmscalendar.c   cmsconvert.c    cmsentry.c \
        cmsmatch.c      delete.c        garbage.c \
        insert.c        lexit.c         list.c \
@@ -97,8 +91,10 @@ NormalProgramTarget($(PROGRAM),$(OBJS),,$(LOCAL_LIBRARIES),)
 
 parser.o:      parser.c
 
+includes:: parser.c
+
 clean::
-       $(RM) \
-        parser.h parser.c
+       $(RM) parser.c
+       $(_NULLCMD_) > parser.h
 
 DependTarget()